Hello
After the plex update is impossible restart service.
i can’t understand why
I try remove but same problem
#box install plex
#box remove plex
Can you help me please
Thanks for you help
Regards David
Server :
Ubuntu 16.04.4 LTS
Linux ns3136236 4.19-ovh-xxxx-std-ipv6-64 #960989 SMP Wed Oct 30 08:31:50 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
systemctl status plexmediaserver.service
● plexmediaserver.service - Plex Media Server for Linux
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2020-05-06 18:17:47 CEST; 24min ago
Process: 5892 ExecStart=/bin/sh -c /usr/lib/plexmediaserver/Plex\ Media\ Server (code=exited, status=127)
Process: 5890 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: 5892 (code=exited, status=127)
May 06 18:17:47 ns3136236 systemd[1]: Stopped Plex Media Server for Linux.
May 06 18:17:47 ns3136236 systemd[1]: plexmediaserver.service: Start request repeated too quickly.
May 06 18:17:47 ns3136236 systemd[1]: plexmediaserver.service: Failed with result ‘exit-code’.
May 06 18:17:47 ns3136236 systemd[1]: Failed to start Plex Media Server for Linux.
May 06 18:18:20 ns3136236 systemd[1]: plexmediaserver.service: Start request repeated too quickly.
May 06 18:18:20 ns3136236 systemd[1]: plexmediaserver.service: Failed with result ‘exit-code’.
May 06 18:18:20 ns3136236 systemd[1]: Failed to start Plex Media Server for Linux.
May 06 18:18:31 ns3136236 systemd[1]: plexmediaserver.service: Start request repeated too quickly.
May 06 18:18:31 ns3136236 systemd[1]: plexmediaserver.service: Failed with result ‘exit-code’.
May 06 18:18:31 ns3136236 systemd[1]: Failed to start Plex Media Server for Linux.
journalctl -u plexmediaserver
18:45:34 ns3136236 systemd[1]: Starting Plex Media Server for Linux…
May 06 18:45:34 ns3136236 systemd[1]: Started Plex Media Server for Linux.
May 06 18:45:34 ns3136236 sh[3787]: /bin/sh: /usr/lib/plexmediaserver/Plex Media Server: No such file or directory
May 06 18:45:34 ns3136236 systemd[1]: plexmediaserver.service: Main process exited, code=exited, status=127/n/a
May 06 18:45:34 ns3136236 systemd[1]: plexmediaserver.service: Failed with result ‘exit-code’.
May 06 18:45:39 ns3136236 systemd[1]: plexmediaserver.service: Service hold-off time over, scheduling restart.
May 06 18:45:39 ns3136236 systemd[1]: plexmediaserver.service: Scheduled restart job, restart counter is at 1.
May 06 18:45:39 ns3136236 systemd[1]: Stopped Plex Media Server for Linux.
May 06 18:45:39 ns3136236 systemd[1]: Starting Plex Media Server for Linux…
May 06 18:45:39 ns3136236 systemd[1]: Started Plex Media Server for Linux.
May 06 18:45:39 ns3136236 sh[4019]: /bin/sh: /usr/lib/plexmediaserver/Plex Media Server: No such file or directory
May 06 18:45:39 ns3136236 systemd[1]: plexmediaserver.service: Main process exited, code=exited, status=127/n/a
May 06 18:45:39 ns3136236 systemd[1]: plexmediaserver.service: Failed with result ‘exit-code’.
less /lib/systemd/system/plexmediaserver.service
1 [Unit]
2 Description=Plex Media Server for Linux
3 After=network-online.target
4 BindsTo=network-online.target
5
6 [Service]
7 Environment="PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/var/lib/plexmediaserver/Library/Application Support"
8 Environment=PLEX_MEDIA_SERVER_HOME=/usr/lib/plexmediaserver
9 Environment=PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6
10 Environment=PLEX_MEDIA_SERVER_TMPDIR=/tmp
11 Environment=LD_LIBRARY_PATH=/usr/lib/plexmediaserver
12 Environment=LC_ALL=C
13 ExecStartPre=/bin/sh -c '/usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}"'
14 ExecStart=/bin/sh -c '/usr/lib/plexmediaserver/Plex\ Media\ Server'
15 Type=simple
16 User=plex
17 Group=plex
18 Restart=on-failure
19 RestartSec=5
20 StartLimitInterval=60s
21 StartLimitBurst=3
22
23 [Install]
24 WantedBy=multi-user.target
Thanks for you help