AutoStart Plex

Server Version#: 1.13.8.5395
Player Version#: ?

I am using Manjaro Linux(KDE) which is Arch Linux based. When I reboot I check the status of plex using systemd, and here is the output:

Oct 11 17:59:28 xplorer4x4-manjaro systemd[1]: /etc/systemd/system/plexmediaserver.service.d/override.conf:11: Failed to parse mode value, ignoring: 0027    # this >
…skipping…
● plexmediaserver.service - Plex Media Server
  Loaded: loaded (/usr/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: disabled)
 Drop-In: /etc/systemd/system/plexmediaserver.service.d
          └─override.conf
  Active: active (running) since Thu 2018-10-11 13:17:56 CDT; 4h 42min ago
Main PID: 462 (Plex Media Serv)
   Tasks: 4 (limit: 4915)
  Memory: 1.9M
  CGroup: /system.slice/plexmediaserver.service
          └─462 /opt/plexmediaserver/Plex Media Server

If I run “sudo systemctl restart plexmediaserver.service” it restarts Plex and I can connect from my TV, connect to the WebUI, Android Player,etc. Here is the status after restarting:

plexmediaserver.service - Plex Media Server
  Loaded: loaded (/usr/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: disabled)
 Drop-In: /etc/systemd/system/plexmediaserver.service.d
          └─override.conf
  Active: active (running) since Thu 2018-10-11 18:00:14 CDT; 13min ago
Main PID: 22954 (Plex Media Serv)
   Tasks: 98 (limit: 4915)
  Memory: 269.9M
  CGroup: /system.slice/plexmediaserver.service
          ├─22954 /opt/plexmediaserver/Plex Media Server
          ├─22976 Plex Plug-in [com.plexapp.system] /opt/plexmediaserver/Resources/Plug-ins-10d48da0d/Framework.bundle/Contents/Resources/Versions/2/Python/bootstr>
          ├─23023 /opt/plexmediaserver/Plex Tuner Service /opt/plexmediaserver/Resources/Tuner/Private /opt/plexmediaserver/Resources/Tuner/Shared 1.13.8.5395-10d4>
          ├─23049 Plex Plug-in [com.plexapp.plugins.WebTools] /opt/plexmediaserver/Resources/Plug-ins-10d48da0d/Framework.bundle/Contents/Resources/Versions/2/Pyth>
          ├─23113 Plex Plug-in [com.plexapp.agents.imdb] /opt/plexmediaserver/Resources/Plug-ins-10d48da0d/Framework.bundle/Contents/Resources/Versions/2/Python/bo>
          ├─23390 Plex Plug-in [com.plexapp.agents.none] /opt/plexmediaserver/Resources/Plug-ins-10d48da0d/Framework.bundle/Contents/Resources/Versions/2/Python/bo>
          └─23419 Plex Plug-in [com.plexapp.agents.localmedia] /opt/plexmediaserver/Resources/Plug-ins-10d48da0d/Framework.bundle/Contents/Resources/Versions/2/Pyt>

Oct 11 18:00:14 xplorer4x4-manjaro systemd[1]: Started Plex Media Server.

How can I fix this so that when Plex starts after booting, it works without restarting plex?

Can’t help.

Arch isn’t supported. Manjaro being Arch based, isn’t supported either. Sorry.

Ubuntu, Debian, Redhat, Centos, Fedora are supported.

Probably a timing, networking issue. Is the plex meta data stored on a network share? Try to change the following setting in the systemd unit from “After=network.target” to “After=network-online.target”. That is what we use in the official packages.
`

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