Unable to launch plexmediaserver service

Hi there,

I’ve upgraded my NAS PC from OMV4 to OMV5 (underlying OS changing from Debian 9 to Debian 10) yesterday and now I’m unable to launch the plexmediaservice.

I checked status after it failed to launch and got the following.

sudo systemctl status plexmediaserver
● plexmediaserver.service - Plex Media Server
   Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2021-07-25 13:23:38 AEST; 1min 44s ago
  Process: 13535 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)
  Process: 13537 ExecStart=/bin/sh -c  export PLEX_MEDIA_SERVER_INFO_VENDOR="$(grep ^NAME= /etc/os-release | awk -F= "{print \$2}" | tr -d \" )";  export PLEX_MEDIA_SERVER_INFO_DEVICE="PC";  export PLEX_MEDIA_SERVER_INFO_MODEL="$(uname -m)";  export PLEX_MEDIA_SERVER_INFO_PLATFORM_VERSION="$(grep ^VERSION= /etc/os-release | awk -F= "{print \$2}" | tr -d \" )";
 exec "/usr/lib/plexmediaserver/Plex Media Server" (code=exited, status=127)
 Main PID: 13537 (code=exited, status=127)

Jul 25 13:23:38 omv systemd[1]: plexmediaserver.service: Service RestartSec=5s expired, scheduling restart.
Jul 25 13:23:38 omv systemd[1]: plexmediaserver.service: Scheduled restart job, restart counter is at 3.
Jul 25 13:23:38 omv systemd[1]: Stopped Plex Media Server.
Jul 25 13:23:38 omv systemd[1]: plexmediaserver.service: Start request repeated too quickly.
Jul 25 13:23:38 omv systemd[1]: plexmediaserver.service: Failed with result 'exit-code'.
Jul 25 13:23:38 omv systemd[1]: Failed to start Plex Media Server.
root@omv:/etc/systemd/system# ls -lah
total 76K
drwxr-xr-x 16 root root 4.0K Jul 25 12:33 .
drwxr-xr-x  5 root root 4.0K Jul 23 20:09 ..
drwxr-xr-x  2 root root 4.0K Mar 21 16:39 basic.target.wants
drwxr-xr-x  2 root root 4.0K Jul 23 20:12 collectd.service.d
lrwxrwxrwx  1 root root   42 Jul 23 20:12 dbus-fi.w1.wpa_supplicant1.service -> /lib/systemd/system/wpa_supplicant.service
lrwxrwxrwx  1 root root   40 Jun 29  2019 dbus-org.freedesktop.Avahi.service -> /lib/systemd/system/avahi-daemon.service
drwxr-xr-x  2 root root 4.0K Oct 26  2019 default.target.wants
drwxr-xr-x  2 root root 4.0K Jun 29  2019 getty.target.wants
drwxr-xr-x  2 root root 4.0K Jun 29  2019 halt.target.wants
drwxr-xr-x  2 root root 4.0K Mar 21 16:49 local-fs.target.wants
drwxr-xr-x  2 root root 4.0K Jul 24 01:37 multi-user.target.wants
drwxr-xr-x  2 root root 4.0K Jun 29  2019 network-online.target.wants
-rw-r--r--  1 root root  418 Jul 23 22:00 openmediavault-firewall.service
drwxr-xr-x  2 root root 4.0K Jun 29  2019 poweroff.target.wants
-rw-r--r--  1 root root  229 Oct 26  2019 qbittorrent.service
drwxr-xr-x  2 root root 4.0K Jun 29  2019 reboot.target.wants
drwxr-xr-x  2 root root 4.0K Jun 29  2019 remote-fs.target.wants
lrwxrwxrwx  1 root root    9 Jun 29  2019 samba-ad-dc.service -> /dev/null
drwxr-xr-x  2 root root 4.0K Jul 25 12:33 sockets.target.wants
lrwxrwxrwx  1 root root   31 Jun 29  2019 sshd.service -> /lib/systemd/system/ssh.service
drwxr-xr-x  2 root root 4.0K Jul 23 20:12 sysinit.target.wants
lrwxrwxrwx  1 root root   35 Jun 29  2019 syslog.service -> /lib/systemd/system/rsyslog.service
drwxr-xr-x  2 root root 4.0K Jul 23 20:12 timers.target.wants
-rw-r--r--  1 root root  289 Jul 24 00:18 tmp.mount

I have tried updating the PMS via apt-get as I was previously but no luck.

Something that was causing me issues with navigating from my SSH CLI on the NAS was that the change from OMV4 to OMV5 meant that the relative pathing /sharedfolders/ changed to using absolute pathing /srv/dev-disk-by-label-Primary/.
I have a folder in this absolute path called plexmediaserver containing /library/Application Support.
I have a feeling this might be important to plex running and this may all just be because pathing has shifted from when I originally set everything up.

Or I could be totally off base with that, in either case guidance would be hugely appreciated.

Update: I reinstalled from package and maintained the original configuration, I have to change my folder paths for the media but plex is back up and running.

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