Update Plex Media Server to v1.15.1.791 Topic is solved

Suggestions for features and software you would like to see in DietPi, goes here.
Post Reply
bamyasi
Posts: 17
Joined: Tue Jan 29, 2019 1:26 am

Update Plex Media Server to v1.15.1.791

Post by bamyasi » Fri Mar 15, 2019 3:50 am

Hi,

New Plex Media Server (PMS) public builds for version 1.15.1.791 are now available for arm7 and arm8 architectures. Please, update plexmediaserver-installer package to include this version.

Thanks,
Bamyasi

User avatar
MichaIng
Legend
Posts: 1256
Joined: Sat Nov 18, 2017 5:21 pm

Re: Update Plex Media Server to v1.15.1.791

Post by MichaIng » Sat Mar 16, 2019 9:08 pm

@bamyasi
Many thanks for your info+request.

We already found that and added the new binaries to our installer with v6.22: https://github.com/MichaIng/DietPi/pull/2554

You can try out fresh Plex installs by applying the current Beta: https://github.com/MichaIng/DietPi/issues/2632

On ARM we thought about forcing a reinstall to the new official binaries, but due to lack of info if migration is safe, we do not yet do that. However just some hours ago the dev2day repo (current ARM Plex installs) has been updated to v1.15 as well, so for now you can run:

Code: Select all

G_AGUP
G_AGI plexmediaserver-installer
to update to the new version.

I think with v6.23 we will hopefully find and implement a safe migration path to switch existing Plex installs on ARM to the official binaries and remove the dev2day repo instead.
Or we switch all the the official APT repo that is planned by Plex, although no ETA yet.

bamyasi
Posts: 17
Joined: Tue Jan 29, 2019 1:26 am

Re: Update Plex Media Server to v1.15.1.791

Post by bamyasi » Sun Mar 17, 2019 5:58 pm

Thank you, @MichaIng! I have already followed the upgrade instructions and it worked just fine! No issues encountered and I now have PMS v1.15.1 running on my Sparky/DietPi system. Note, I did not try WolfganP's instructions for setting up LD_PRELOAD variable and removing /etc/ld.so.preload first since I did not notice any issues. Upgraded PMS is responding to requests without any interruptions and I would say it is even more responsive than the previous version 1.14.

luzifia
Posts: 43
Joined: Tue Jun 28, 2016 8:48 am

Re: Update Plex Media Server to v1.15.1.791

Post by luzifia » Tue Mar 19, 2019 4:19 pm

Hi Plexfans ;-)

I've done also the update.
Well I've had some Problems, I was able to solve.

If you have a "overide.conf" after update there is a smal problem with these tweaks :-)

Have a look at directory /etc/systemd/system/plexmediaserver.service.d. In it is the place for override.conf; should containing the following:

Code: Select all

#
# Customize Plex's config
#
# Identify this as a service override
[Service]
#
#  Move the data directory
Environment="PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/var/lib/plexmediaserver/Library/Application Support" -note below
#
#  These values are only needed if you wish to change user & group
User=plex
Group=nogroup
#
# This is needed to change the default umask     
UMask=002    # this must be octal    - See warning above
note:
Spaces are allowed, if you use quotation marks ("). Also here you can tweak a new position of the Library - I've done so to an fast external raid system.

warning:
Some distros used UMask while others use Umask
Some distros want 4 octal digits, not the standard 3. -> 002 -> 0002

Code: Select all

sudo systemctl stop plexmediaserver

Code: Select all

sudo systemctl edit plexmediaserver
Enter the same override information as shown above
Save and exit the editor

Code: Select all

sudo systemctl daemon-reload
Perform any required ownership / other work required (

Code: Select all

chown -R plex:nogroup /your/directory
and / or

Code: Select all

chmod -R 777 /your/directory
)

Code: Select all

sudo systemctl start plexmediaserver
after that all should work

have a nice day :-)

Luzi

User avatar
MichaIng
Legend
Posts: 1256
Joined: Sat Nov 18, 2017 5:21 pm

Re: Update Plex Media Server to v1.15.1.791

Post by MichaIng » Thu Mar 21, 2019 4:56 pm

Just note that DietPi places an own systemd service override file that sets: Group=dietpi
This allows Plex to access files downloaded/handled by our offered download tools without manual permission adjustments required.

User avatar
WarHawk
Posts: 505
Joined: Thu Jul 20, 2017 7:55 am

Re: Update Plex Media Server to v1.15.1.791

Post by WarHawk » Fri Mar 22, 2019 3:01 am

Nice howto Luzi

Post Reply