Hi,
Had to reinstall my desktop (now it's Ubuntu 16.04.03 64-Bit).
Reinstalled PMS, redirected everything to my previous library in another drive. My /etc/systemd/system/plexmediaserver.service,d/override.conf looks like this;
EOT
Change PMS's Library directory to /disks/internal/plexmediaserver
[Service]
Environment="PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/disks/internal/plexmediaserver/Library/Application Support"
EOT
Additionally this is my /lib/systemd/system/plexmediaserver.service look like this
[Unit]
Description=Plex Media Server for Linux
After=network.target
[Service]
Environment="PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/disks/internal/plexmediaserver/Library/Application Support"
Environment=PLEX_MEDIA_SERVER_HOME=/disks/internal/plexmediaserver
Environment=PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6
Environment=PLEX_MEDIA_SERVER_TMPDIR=/tmp
ExecStartPre=/bin/sh -c '/usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}"'
ExecStart=/bin/sh -c 'LD_LIBRARY_PATH=/usr/lib/plexmediaserver/Plex\ Media\ Server'
Type=simple
User=plex
Group=plex
Restart=on-failure
RestartSec=5
StartLimitInterval=60s
StartLimitBurst=3
[Install]
WantedBy=multi-user.target
I reloaded the daemon
systemctl daemon-reload
and then start the service
systemctl start plexmediaserver.service
this is what the status says
plexmediaserver.service - Plex Media Server for Linux
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Fri 2018-02-09 21:10:44 +04; 15min ago
Process: 14858 ExecStart=/bin/sh -c LD_LIBRARY_PATH=/usr/lib/plexmediaserver/Plex\ Media\ Server (code=exited, status=0/SUCCESS)
Process: 14854 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}
Main PID: 14858 (code=exited, status=0/SUCCESS)
Feb 09 21:10:43 rjrose-desktop systemd[1]: Starting Plex Media Server for Linux...
Feb 09 21:10:44 rjrose-desktop systemd[1]: Started Plex Media Server for Linux.
However, http://127.0.0.1:32400/web gives nothing except page cannot be loaded. Any help appreciated.