PMS unresponsive after service restart (solved)

Hi,

I’ve somehow botched my pms installation on Ubuntu 18.04 after trying to restart the plexmedia service with this command:

service plexmediaserver restart

first thing I noticed is, that the web server was no longer available. After issuing this command I get this:

username@plexmediaserver:~$ sudo systemctl status plexmediaserver
● plexmediaserver.service - Plex Media Server for Linux
   Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
   Active: activating (auto-restart) (Result: exit-code) since Sat 2019-01-05 13:15:54 UTC; 3s ago
  Process: 2036 ExecStart=/bin/sh -c LD_LIBRARY_PATH=/usr/lib/plexmediaserver "/usr/lib/plexmediaserver/Plex Media Se
  Process: 2032 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir
 Main PID: 2036 (code=exited, status=255)

   Active: failed (Result: exit-code) since Sat 2019-01-05 13:23:08 UTC; 2min 35s ago
  Process: 3379 ExecStart=/bin/sh -c LD_LIBRARY_PATH=/usr/lib/plexmediaserver "/usr/lib/plexmediaserver/Plex Media Se
  Process: 3373 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir
 Main PID: 3379 (code=exited, status=255)

Jan 05 13:23:08 plexmediaserver systemd[1]: plexmediaserver.service: Service hold-off time over, scheduling restart.
Jan 05 13:23:08 plexmediaserver systemd[1]: plexmediaserver.service: Scheduled restart job, restart counter is at 3.
Jan 05 13:23:08 plexmediaserver systemd[1]: Stopped Plex Media Server for Linux.
Jan 05 13:23:08 plexmediaserver systemd[1]: plexmediaserver.service: Start request repeated too quickly.
Jan 05 13:23:08 plexmediaserver systemd[1]: plexmediaserver.service: Failed with result 'exit-code'.
Jan 05 13:23:08 plexmediaserver systemd[1]: Failed to start Plex Media Server for Linux.

I’ve tried uinstalling/removing PMS without losing all my metadata and collections by using apt remove plexmediaserver and reinstalling it, but it still won’t come up.

Does someone have a clue what I’ve done or how to repair it, without losing my library?

edit
The issue has been resolved. Turns out, that the plexmediaserver service won’t start, when the time service from my NAS has the wrong time. The NAS is also DHCP Server and DNS. Still don’t unterstand why this would affect the pms startup.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.