Server Version#: 1.15.1.710-ece95b3a1
Player Version#: Unknown
Distro: Ubuntu 18.04.1 LTS
I just came back from a 3 week business trip to find that my PMS is not accessible. I have PMS installed on my dedicated ubuntu 16.04 box and when I logged in, I could see that the service was indeed running. I stopped the service and started it again, PMS was still not available.
I hooked up a monitor to the server and tried the direct url, http://localhost:32400/web and was given connection refused - same error I get across my network which tells me it’s not a router issue.
Checked the logs and the system log was last updated on the 18th of Feb, nothing since then… even though I have stopped and started the service, restarted the box, it does not capture any details.
I’ve done a few things which I will output below…
sudo journalctl -xe | grep -i plex
Mar 07 22:43:40 Media-Server sudo[10467]: sga : TTY=pts/1 ; PWD=/home/sga ; USER=root ; COMMAND=/usr/sbin/service plexmediaserver status
Mar 07 22:43:46 Media-Server sudo[10473]: sga : TTY=pts/1 ; PWD=/home/sga ; USER=root ; COMMAND=/usr/sbin/service plexmediaserver start
Mar 07 22:43:47 Media-Server systemd[1]: Starting Plex Media Server...
-- Subject: Unit plexmediaserver.service has begun start-up
-- Unit plexmediaserver.service has begun starting up.
Mar 07 22:43:47 Media-Server systemd[1]: Started Plex Media Server.
-- Subject: Unit plexmediaserver.service has finished start-up
-- Unit plexmediaserver.service has finished starting up.
Mar 07 22:43:49 Media-Server sudo[10533]: sga : TTY=pts/1 ; PWD=/home/sga ; USER=root ; COMMAND=/usr/sbin/service plexmediaserver status
Mar 07 22:46:18 Media-Server sudo[10604]: sga : TTY=pts/0 ; PWD=/usr/lib/plexmediaserver ; USER=root ; COMMAND=/bin/nano /lib/systemd/system/plexmediaserver.service
Mar 07 22:59:02 Media-Server sudo[11239]: sga : TTY=pts/0 ; PWD=/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs/PMS Plugin Logs ; USER=root ; COMMAND=/bin/nano com.plexapp.system.log
sudo serivce plexmediaserver status
â—Ź plexmediaserver.service - Plex Media Server
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2019-03-07 22:43:47 AEDT; 34min ago
Process: 10503 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" (code=exited, status=0/S
Main PID: 10508 (sh)
Tasks: 6 (limit: 4915)
CGroup: /system.slice/plexmediaserver.service
├─10508 /bin/sh -c PLEX_MEDIA_SERVER_INFO_VENDOR="$(grep ^NAME= /etc/os-release | awk -F= "{print \$2}" | tr -d \" )" PLEX_MEDIA_SERVER_INFO_DEVICE="PC" PLEX_MEDIA_SERVER_INFO_MOD
└─10526 /usr/lib/plexmediaserver/Plex Media Server
Mar 07 22:43:47 Media-Server systemd[1]: Starting Plex Media Server...
Mar 07 22:43:47 Media-Server systemd[1]: Started Plex Media Server.
I can’t for the life of me figure out why all of the sudden I can’t access PMS anymore, or why on Feb 19th it just decided to stop working (a day after I left on my trip).
I’ve read that a common ask is to force a crash and get a debug log, but I can’t access my UI, so I can;t check it the required settings are in place.
I also read that sometimes a fragmented DB can cause pains, but I can’t find any recent articles on how to force a DB optimisation via the CLI.
I’m very open to suggesstions on how to fix this, troubleshoot, logs to attach etc… Just need to figure out just WTH happened while I was away.
Thanks for the help!

