Hi all, my Plex system just suddenly stopped working this morning… No idea why… It’s been happily chugging along for a couple of years. I used it happily last night, yet today the Plex service on Ubuntu won’t even start…
Plex Server Version: 1.15.0.659 (latest - I have a plex pass)
OS Version: Ubuntu 17.04
Player Version: Chrome on Win10 (latest); iOS Plex app via Chromecast (latest)
I’ve tried stop/start/restarting the service, and rebooting the computer, to no avail.
Help? I’m not sure exactly where to find Plex logs to look through?
When I check the status of the service, I get the following output:
sudo systemctl status plexmediaserver
● plexmediaserver.service - Plex Media Server for Linux
Loaded: loaded (/etc/systemd/system/plexmediaserver.service; disabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/plexmediaserver.service.d
└─override.conf
Active: failed (Result: exit-code) since Wed 2019-02-13 09:55:51 AEST; 17min ago
Process: 3785 ExecStart=/bin/sh -c LD_LIBRARY_PATH=/usr/lib/plexmediaserver /usr/lib/plexmediaserver/Plex\ Media\ Server (code=exited, status=127)
Process: 3781 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/SUCCESS)
Main PID: 3785 (code=exited, status=127)
Feb 13 09:55:45 systemd[1]: plexmediaserver.service: Failed with result ‘exit-code’.
Feb 13 09:55:51 systemd[1]: plexmediaserver.service: Service hold-off time over, scheduling restart.
Feb 13 09:55:51 systemd[1]: Stopped Plex Media Server for Linux.
Feb 13 09:55:51 systemd[1]: plexmediaserver.service: Start request repeated too quickly.
Feb 13 09:55:51 systemd[1]: Failed to start Plex Media Server for Linux.
Feb 13 09:55:51 systemd[1]: plexmediaserver.service: Unit entered failed state.
Feb 13 09:55:51 systemd[1]: plexmediaserver.service: Failed with result ‘exit-code’.
sudo journalctl -xe | grep -i plex | less output
Feb 13 12:45:58 --computername-- mono[965]: [Warn] PlexServerService: Failed to Update Plex host: localhost
Feb 13 12:45:58 --computername-- mono[965]: at NzbDrone.Core.Notifications.Plex.PlexServerProxy.Version (NzbDrone.Core.Notifications.Plex.PlexServerSettings settings) [0x00068] in :0
Feb 13 12:45:58 --computername-- mono[965]: at NzbDrone.Core.Notifications.Plex.PlexServerService.GetVersion (NzbDrone.Core.Notifications.Plex.PlexServerSettings settings) [0x00016] in :0
Feb 13 12:45:58 --computername-- mono[965]: at NzbDrone.Core.Notifications.Plex.PlexServerService+<>c__DisplayClass5_0.b__0 () [0x00000] in :0
Feb 13 12:45:58 --computername-- mono[965]: at NzbDrone.Core.Notifications.Plex.PlexServerService.UpdateLibrary (NzbDrone.Core.Tv.Series series, NzbDrone.Core.Notifications.Plex.PlexServerSettings settings) [0x0006c] in :0
Feb 13 12:45:58 --computername-- mono[965]: [Warn] NotificationService: Unable to send OnDownload notification to: Plex
Feb 13 12:45:58 --computername-- mono[965]: at NzbDrone.Core.Notifications.Plex.PlexServerProxy.Version (NzbDrone.Core.Notifications.Plex.PlexServerSettings settings) [0x00068] in :0
Feb 13 12:45:58 --computername-- mono[965]: at NzbDrone.Core.Notifications.Plex.PlexServerService.GetVersion (NzbDrone.Core.Notifications.Plex.PlexServerSettings settings) [0x00016] in :0
Feb 13 12:45:58 --computername-- mono[965]: at NzbDrone.Core.Notifications.Plex.PlexServerService+<>c__DisplayClass5_0.b__0 () [0x00000] in :0
Feb 13 12:45:58 --computername-- mono[965]: at NzbDrone.Core.Notifications.Plex.PlexServerService.UpdateLibrary (NzbDrone.Core.Tv.Series series, NzbDrone.Core.Notifications.Plex.PlexServerSettings settings) [0x00120] in :0
Feb 13 12:45:58 --computername-- mono[965]: at NzbDrone.Core.Notifications.Plex.PlexServer.UpdateIfEnabled (NzbDrone.Core.Tv.Series series) [0x0001a] in :0
Feb 13 12:45:58 --computername-- mono[965]: at NzbDrone.Core.Notifications.Plex.PlexServer.OnDownload (NzbDrone.Core.Notifications.DownloadMessage message) [0x00007] in :0
Feb 13 12:51:51 --computername-- sudo[11656]: plex : TTY=pts/0 ; PWD=/home/plex/Downloads ; USER=root ; COMMAND=/bin/journalctl -xe
Feb 13 12:51:51 --computername-- sudo[11656]: pam_unix(sudo:session): session opened for user root by plex(uid=0)
Feb 13 12:52:22 --computername-- sudo[11669]: plex : TTY=pts/0 ; PWD=/home/plex/Downloads ; USER=root ; COMMAND=/bin/journalctl -xe
Feb 13 12:52:22 --computername-- sudo[11669]: pam_unix(sudo:session): session opened for user root by plex(uid=0)
Feb 13 12:52:48 --computername-- sudo[11678]: plex : TTY=pts/0 ; PWD=/home/plex/Downloads ; USER=root ; COMMAND=/bin/journalctl -xe
Feb 13 12:52:48 --computername-- sudo[11678]: pam_unix(sudo:session): session opened for user root by plex(uid=0)
Feb 13 12:57:57 --computername-- sudo[12090]: plex : TTY=pts/0 ; PWD=/home/plex/Downloads ; USER=root ; COMMAND=/bin/journalctl -xe
Feb 13 12:57:57 --computername-- sudo[12090]: pam_unix(sudo:session): session opened for user root by plex(uid=0)
Feb 13 12:58:13 --computername-- sudo[12162]: plex : TTY=pts/0 ; PWD=/home/plex/Downloads ; USER=root ; COMMAND=/usr/sbin/service plexmediaserver start
sudo systemctl status plexmediaserver.service output
plexmediaserver.service - Plex Media Server for Linux
Loaded: loaded (/etc/systemd/system/plexmediaserver.service; disabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/plexmediaserver.service.d
└─override.conf
Active: failed (Result: exit-code) since Wed 2019-02-13 12:58:29 AEST; 22s ago
Process: 12259 ExecStart=/bin/sh -c LD_LIBRARY_PATH=/usr/lib/plexmediaserver /usr/lib/plexmediaserver/Plex\ Media\ Server (code=exited, status=127)
Process: 12255 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/SUCCESS)
Main PID: 12259 (code=exited, status=127)
Feb 13 12:58:24 --computername-- systemd[1]: plexmediaserver.service: Failed with result ‘exit-code’.
Feb 13 12:58:29 --computername-- systemd[1]: plexmediaserver.service: Service hold-off time over, scheduling restart.
Feb 13 12:58:29 --computername-- systemd[1]: Stopped Plex Media Server for Linux.
Feb 13 12:58:29 --computername-- systemd[1]: plexmediaserver.service: Start request repeated too quickly.
Feb 13 12:58:29 --computername-- systemd[1]: Failed to start Plex Media Server for Linux.
Feb 13 12:58:29 --computername-- systemd[1]: plexmediaserver.service: Unit entered failed state.
Feb 13 12:58:29 --computername-- systemd[1]: plexmediaserver.service: Failed with result ‘exit-code’.
Feb 13 12:58:38 --computername-- systemd[1]: plexmediaserver.service: Start request repeated too quickly.
Feb 13 12:58:38 --computername-- systemd[1]: Failed to start Plex Media Server for Linux.
Feb 13 12:58:38 --computername-- systemd[1]: plexmediaserver.service: Failed with result ‘exit-code’.
sudo systemctl status plexmediaserver.service output after stopping and starting the service
plexmediaserver.service - Plex Media Server for Linux
Loaded: loaded (/etc/systemd/system/plexmediaserver.service; disabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/plexmediaserver.service.d
└─override.conf
Active: activating (auto-restart) (Result: exit-code) since Wed 2019-02-13 13:03:09 AEST; 4s ago
Process: 13490 ExecStart=/bin/sh -c LD_LIBRARY_PATH=/usr/lib/plexmediaserver /usr/lib/plexmediaserver/Plex\ Media\ Server (code=exited, status=127)
Process: 13486 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/SUCCESS)
Main PID: 13490 (code=exited, status=127)
Feb 13 13:03:09 --computername-- systemd[1]: plexmediaserver.service: Failed with result ‘exit-code’.
Double check the “bitness” of the version of PMS you have installed, I just had almost the exact same issue because I wasn’t paying attention and installed the 32bit version as an “upgrade” to an existing 64bit one… never used this update script you linked to.
file /usr/lib/plexmediaserver/Plex\ Media\ Server should tell you whether it was compiled for 32 or 64bit.
I’ve now downgraded to v1.14.1.5488 - I’ve tried updating again, and it still produces the same fault - what can I do to help out with troubleshooting?
I see some other are having very similar issues to me on v1.15 too…
Help?
Thanks
I downgraded to 1.14.1 and that fixed everything.
I tried another manual upgrade to 1.15 via command prompt and this time it complained about /etc/init/plexmediaserver.conf:
Configuration file ‘/etc/init/plexmediaserver.conf’
==> Deleted (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer’s version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** plexmediaserver.conf (Y/I/N/O/D/Z) [default=N] ? y
Once I typed ‘y’ to reinstall this conf file, the upgrade was successful and Plex is running correctly again.