Suddenly the media server disappeared from the network.
It is not listed in system monitor.
I have tried the command “service plexmediaserver start” with and whitout sudo.
Reply I got was:
Job for plexmediaserver.service failed because the control process exited with error code.
See “systemctl status plexmediaserver.service” and “journalctl -xe” for details.
plexmediaserver.service - Plex Media Server for Linux
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2019-04-08 20:35:27 CEST; 25min ago
Process: 9513 ExecStart=/bin/sh -c LD_LIBRARY_PATH=/usr/lib/plexmediaserver "/usr/lib/plexmediaserver/
Process: 9501 ExecStartPre=/bin/sh -c /usr/bin/test -d “${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}”
Main PID: 9513 (code=exited, status=255)
april 08 20:35:27 raymond systemd[1]: plexmediaserver.service: Service RestartSec=5s expired, scheduling
april 08 20:35:27 raymond systemd[1]: plexmediaserver.service: Scheduled restart job, restart counter is
april 08 20:35:27 raymond systemd[1]: Stopped Plex Media Server for Linux.
april 08 20:35:27 raymond systemd[1]: plexmediaserver.service: Start request repeated too quickly.
april 08 20:35:27 raymond systemd[1]: plexmediaserver.service: Failed with result ‘exit-code’.
april 08 20:35:27 raymond systemd[1]: Failed to start Plex Media Server for Linux.
“Pop this is /etc/systemd/system/ as plexmediaserver.service then do a systemctl daemon-reload and systemctl enable plexmediaserver … You may need to alter paths if the ubuntu deb has things in different places.”
Is 100% WRONG. It is also 3 years old.
Never put overrides or a service file in /etc/systemd/system. This completely violates how Units and Services work with Systemd
To do a proper override, the procedure is documented here in my How-To.