I seem to have gotten into a mess!
Initially upgrading to 1.8.4 i inadvertently chose the override option, consequently nothing worked. I’ve now followed the steps from Haringstad and when I now try and run plexmedia server i get the following:
Job for plexmediaserver.service failed. See 'systemctl status plexmediaserver.service' and 'journalctl -xn' for details.
The status returns the following: 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 Mon 2017-09-11 11:44:18 BST; 3s ago Process: 2371 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=217/USER)
@markryan80 said:
I seem to have gotten into a mess!
Initially upgrading to 1.8.4 i inadvertently chose the override option, consequently nothing worked. I’ve now followed the steps from Haringstad and when I now try and run plexmedia server i get the following:
Please post the content of your override.conf file or send me a PM.
@uglymagoo I have installed and it workes well. Thanks !!!
However now I am having another… strange problem. I can play a first movie, but I want to “fast forward”. It stops.
If I try then to play the same movie again I get “unavailable”, when I look into the info it says “inaccessible”.
However when I look into the mount with ls -l I get drwxrwsrwx permissions.
@spanishu said: @uglymagoo I have installed and it workes well. Thanks !!!
However now I am having another… strange problem. I can play a first movie, but I want to “fast forward”. It stops.
If I try then to play the same movie again I get “unavailable”, when I look into the info it says “inaccessible”.
However when I look into the mount with ls -l I get drwxrwsrwx permissions.
Any idea?
What device / plex client do you use for playback? I am at least aware of an issue with the firetv stick.
If I try then to play the same movie again I get “unavailable”, when I look into the info it says “inaccessible”.
However when I look into the mount with ls -l I get drwxrwsrwx permissions.
Why using sticky execute permission for the group?
If PMS says a file is unavailable, it means it can no longer see the file but it still exists in the database (the trash hasn’t been emptied yet).
Inaccessible means it’s gone out to look and can’t access it
is it possibly possible to poke the Patchnotes with or a link to it?
Is only a small idea
Thanks again
I have installed the update and have now Error when i start plex Server…
`root@Banana-PI-M3:/home# service plexmediaserver start
Job for plexmediaserver.service failed. See ‘systemctl status plexmediaserver.service’ and ‘journalctl -xn’ for details.
root@Banana-PI-M3:/home# systemctl status plexmediaserver.service
● plexmediaserver.service - Plex Media Server for Linux
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled)
Active: failed (Result: start-limit) since Thu 2017-09-14 00:48:40 CST; 43s ago
Process: 3398 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=216/GROUP)
Sep 14 00:48:35 Banana-PI-M3 systemd[1]: Unit plexmediaserver.service entered failed state.
Sep 14 00:48:40 Banana-PI-M3 systemd[1]: plexmediaserver.service holdoff time over, scheduling restart.
Sep 14 00:48:40 Banana-PI-M3 systemd[1]: Stopping Plex Media Server for Linux…
Sep 14 00:48:40 Banana-PI-M3 systemd[1]: Starting Plex Media Server for Linux…
Sep 14 00:48:40 Banana-PI-M3 systemd[1]: plexmediaserver.service start request repeated too quickly, refusing to start.
Sep 14 00:48:40 Banana-PI-M3 systemd[1]: Failed to start Plex Media Server for Linux.
Sep 14 00:48:40 Banana-PI-M3 systemd[1]: Unit plexmediaserver.service entered failed state.
Sep 14 00:49:10 Banana-PI-M3 systemd[1]: Starting Plex Media Server for Linux…
Sep 14 00:49:10 Banana-PI-M3 systemd[1]: plexmediaserver.service start request repeated too quickly, refusing to start.
Sep 14 00:49:10 Banana-PI-M3 systemd[1]: Failed to start Plex Media Server for Linux.
`
Have either of you customized your PMS installation? If so, did you modify /lib/systemd/system/plexmediaserver.service or did you correctly use the override in /etc/systemd/system/plexmediaserver.service.d/override.conf ?
If you modified the master service definition file, it’s subject to being overwritten at any time by the package manager. I specifically tell the package manager to do so too >:)
after installing 1.9 there was no plexmediaserver.service.d directory at all, nor the override.conf file; I guess the 1.9 installer failed to create them?
I manually created both according the link earlier in this post but that didn’t fix it.
So, I reverted down to 1.8.2, restored the /etc/default/plexmediaserver.prev file, then upgraded to 1.8.4 and I’m back up and running.
@asheahen said:
after installing 1.9 there was no plexmediaserver.service.d directory at all, nor the override.conf file; I guess the 1.9 installer failed to create them?
I manually created both according the link earlier in this post but that didn’t fix it.
So, I reverted down to 1.8.2, restored the /etc/default/plexmediaserver.prev file, then upgraded to 1.8.4 and I’m back up and running.
I don’t create an override by default.
It sounds like @uglymagoo has a small migration bug in the installer. Migration scans the old /etc/default structure (which is now obsolete as of systemd) and attempts to transfer over your customzed values.
If the configuration was stock, no override will have been created.
I’m pretty sure my config is stock but can’t be totally sure as I’ve been running it for years. I did check the /var/lib/ folder though and the plexmediaserver directory is owned by plex but the group is ‘nogroup’. And it doesn’t look like a plex group exists at all on my pi?!
@asheahen said:
I’m pretty sure my config is stock but can’t be totally sure as I’ve been running it for years. I did check the /var/lib/ folder though and the plexmediaserver directory is owned by plex but the group is ‘nogroup’. And it doesn’t look like a plex group exists at all on my pi?!
Ah. You are absolutely right. The group was always nobody on the pi. Maybe that’s the reason for the migration problems I will check this later this evening.