If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Plexmediaserver fails to startup after updating to version 1.9.2.4285

carribacarriba Posts: 5Members ✭✭

After updating the PlexMediaServer application from version 1.8.1..4139 to 1.9.2.4285, and have rebooted the NAS box, I'm observing that the PlexMadiaServer application does not longer startup :o

Checking the status of the PlexMediaServer startup daemons with the command "sudo systemctl status plexmediaserver", I'm getting the following output:

● plexmediaserver.service - Plex Media Server for Linux
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled)
Drop-In: /etc/systemd/system/plexmediaserver.service.d
└─override.conf
Active: failed (Result: start-limit) since Tue 2017-10-10 14:30:19 CEST; 13min ago
Oct 10 14:30:14 nasbox systemd[1]: Unit plexmediaserver.service entered failed state.
Oct 10 14:30:19 nasbox systemd[1]: plexmediaserver.service holdoff time over, scheduling restart.
Oct 10 14:30:19 nasbox systemd[1]: Stopping Plex Media Server for Linux...
Oct 10 14:30:19 nasbox systemd[1]: Starting Plex Media Server for Linux...
Oct 10 14:30:19 nasbox systemd[1]: plexmediaserver.service start request repeated too quickly, refusing to start.
Oct 10 14:30:19 nasbox systemd[1]: Failed to start Plex Media Server for Linux.
Oct 10 14:30:19 nasbox systemd[1]: Unit plexmediaserver.service entered failed state.

Firing the command "sudo journalctl -xn", yields the following output:

-- Logs begin at Tue 2017-10-10 14:11:10 CEST, end at Tue 2017-10-10 14:57:22 CEST. --
Oct 10 14:57:16 nasbox systemd[1]: Unit plexmediaserver.service entered failed state.
Oct 10 14:57:22 nasbox systemd[1]: plexmediaserver.service holdoff time over, scheduling restart.
Oct 10 14:57:22 nasbox systemd[1]: Stopping Plex Media Server for Linux...
-- Subject: Unit plexmediaserver.service has begun shutting down
-- Defined-By: systemd
-- Support: lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit plexmediaserver.service has begun shutting down.
Oct 10 14:57:22 nasbox systemd[1]: Starting Plex Media Server for Linux...
-- Subject: Unit plexmediaserver.service has begun with start-up
-- Defined-By: systemd
-- Support: lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit plexmediaserver.service has begun starting up.
Oct 10 14:57:22 nasbox sh[1653]: /bin/mkdir: cannot create directory ‘/root’: Permission denied
Oct 10 14:57:22 nasbox systemd[1]: plexmediaserver.service: control process exited, code=exited status=1
Oct 10 14:57:22 nasbox systemd[1]: Failed to start Plex Media Server for Linux.
-- Subject: Unit plexmediaserver.service has failed
-- Defined-By: systemd
-- Support: lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit plexmediaserver.service has failed.
--
-- The result is failed.
Oct 10 14:57:22 nasbox systemd[1]: Unit plexmediaserver.service entered failed state.

What can I do further to mitigate this situation? From above, I**** only see that something is trying to create a directory "/root"...

Best Answer

  • carribacarriba Posts: 5Members ✭✭
    Accepted Answer

    It looks like that the "/etc/default/plexmediaserver" file got removed during the update of the PlexMediaServer application.

    Instead, I've found the file "/etc/default/plexmediaserver.prev" from the previous installation. I checked the contents of the file, and it seems to be valid. Thus, I renamed it back.

    And after careful consideration, I simply deleted the file "/etc/systemd/system/plexmediaserver.service.d/override.conf", as not required.

    This seems to me to be indeed a regression introduced with this update.

Answers

Sign In or Register to comment.