Plex Media Server for armhf (arm64) Debian / Ubuntu: Beta Packages

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.

Here is 1.9.0 (systemd).

@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?

@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.

@uglymagoo
I am using a MacBook Pro with Chrome (WebClient…)

If I may offer a point to look at ?

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

hey there,

is the Link broken?
cant download the file…

@Zer0ProSac said:
hey there,

is the Link broken?
cant download the file…

Fixed.

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.
`

how can i fix this?

I have the same issue after installing 1.9

Helping out here…

@Zer0ProSac
@asheahen

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 >:)

Here my plexmediaserver.service
looks correctly for me the path is ok…

`[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
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 ‘LD_LIBRARY_PATH=/usr/lib/plexmediaserver “/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
`

/etc/systemd/system/plexmediaserver.service.d
is missing?

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.

What you’re showing me is the default service .

There are certain instances where the installer can fail to create /var/lib/plexmediaserver and set its ownership as plex:plex.

Please check it exists and is owned by plex:plex then systemctl reset-failed and systemctl restart plexmediaserver

@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.

just installed it, it never started automatically after the install I had to run the commands given on page 6:

  1. sudo systemctl stop plexmediaserver
  2. sudo systemctl start plexmediaserver
  3. sudo systemctl status plexmediaserver

Once done it started OK, not tried a reboot yet to check it autoloads.

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 :slight_smile: I will check this later this evening.