Quantcast
Viewing all articles
Browse latest Browse all 7311

After upgrade to ubuntu 16.04 Plex does not start automaticly anymore.

Hello, after upgrading my server plex won't start automatically anymore.
I assume it has something to do with permissions.
I was on version 14 and upgraded to 16.

When I manually start the service:

@LinuxServer:/etc/systemd/system$ service plexmediaserver start
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to start 'plexmediaserver.service'.
Authenticating as: ,,, ()
Password:`

When I do sudo service plexmediaserver start plex starts and runs just fine.

Now the upgrade it should have created a .service in cd /etc/systemd/system/

If I open that I get this:

/etc/systemd/system$ cat plexmediaserver.service

[Unit]
Description=Plex Media Server for Linux
After=network.target

[Service]
Environment="PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/var/lib/plexmediaserver/Library/Application Support"
Environment=PLEX_MEDIA_SERVER_HOME=/usr/lib/plexmediaserver
Environment=PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6
Environment=PLEX_MEDIA_SERVER_TMPDIR=/tmp
Environment=LD_LIBRARY_PATH=/usr/lib/plexmediaserver
ExecStartPre=/bin/sh -c '/usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}"'
ExecStart=/bin/sh -c '/usr/lib/plexmediaserver/Plex\ Media\ Server'
Type=simple
User=plex
Group=plex
Restart=on-failure
RestartSec=5
StartLimitInterval=60s
StartLimitBurst=3

[Install]
WantedBy=multi-user.target

Any help?
Thanks


Viewing all articles
Browse latest Browse all 7311

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>