My 1.9.1 package includes systemd support and the main group (plex instead of nogroup) is fixed. Thus, my package is again in line with the official amd64 package and the official Plex documentation applies again. My package also includes the migration script that moves the settings in /etc/default/plexmediaserver to /etc/systemd/system/plexmediaserver.service.d/override.conf on systemd systems. Many Plex Pass users helped me to get this package to a stable state, so I hope you will not encounter huge problems (thanks again to you folks!!). If you experience problems, please first read the systemd guide written by @ChuckPA and check your configuration.
VERY IMPORTANT: The upgrade might take some time (I am talking about 10-20 minutes), depending on the performance of your storage device that hosts /var/lib/plexmediaserver and also depending on the size of your library. NOTHING IS DELETED, only the group is changed to plex. Please be patient.
I am currently performing last tests, the package will go live in 15 minutes.
@uglymagoo said:
My 1.9.1 package includes systemd support and the main group (plex instead of nogroup) is fixed. Thus, my package is again in line with the official amd64 package and the official Plex documentation applies again. My package also includes the migration script that moves the settings in /etc/default/plexmediaserver to /etc/systemd/system/plexmediaserver.service.d/override.conf on systemd systems. Many Plex Pass users helped me to get this package to a stable state, so I hope you will not encounter huge problems (thanks again to you folks!!). If you experience problems, please first read the systemd guide written by @ChuckPA and check your configuration.
VERY IMPORTANT: The upgrade might take some time (I am talking about 10-20 minutes), depending on the performance of your storage device that hosts /var/lib/plexmediaserver and also depending on the size of your library. NOTHING IS DELETED, only the group is changed to plex. Please be patient.
I am currently performing last tests, the package will go live in 15 minutes.
Where I can get your package? How I install -upgrade- on my raspbian?
I ran the update and upgrade and now my PMS will not start.
��plexmediaserver.service - Plex Media Server for Linux
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor
Active: activating (auto-restart) (Result: exit-code) since Thu 2017-09-21 13
Process: 1648 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_AP
Sep 21 13:27:55 TARS systemd[1]: plexmediaserver.service: Unit entered failed st
Sep 21 13:27:55 TARS systemd[1]: plexmediaserver.service: Failed with result 'ex
I have even gone so far as to rebuild it from the ground up but nothing works. Please help.
@oxZmoron and all others: I just pushed a new package revision to my repo with a fixed migration script. This package also makes it very easy to recover from your current problems.
Install the new package with apt-get
move the old settings back in place: sudo mv /etc/default/plexmediaserver.prev /etc/default/plexmediaserver
call the migration script by hand: sudo /usr/lib/plexmediaserver/MigratePlexServerConfig.sh
'# where the mediaserver should store the transcodes
'PLEX_MEDIA_SERVER_TMPDIR=/tmp
'# uncomment to set it to something else
'# PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="${HOME}/Library/Application\ Support"
'# the user that PMS should run as, defaults to ‘plex’
'# note that if you change this you might need to move
'# the Application Support directory to not lose your
'# media library
'PLEX_MEDIA_SERVER_USER=plex
'# where the mediaserver should store the transcodes
'PLEX_MEDIA_SERVER_TMPDIR=/tmp
'# uncomment to set it to something else
'# 'PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="${HOME}/Library/Applicat’ion\Support"
'# the user that PMS should run as, defaults to ‘plex’
'# note that if you change this you might need to move
'# the Application Support directory to not lose your
'# media library
'PLEX_MEDIA_SERVER_USER=plex
@oxZmoron OK, so you use the stock installation with user plex and no other user, right? Can you please check if there was a user pi before, i.e. do you have a directory /home/pi/Library?
# default script for Plex Media Server
# the number of plugins that can run at the same time
PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6
# ulimit -s $PLEX_MEDIA_SERVER_MAX_STACK_SIZE
PLEX_MEDIA_SERVER_MAX_STACK_SIZE=3000
# where the mediaserver should store the transcodes
PLEX_MEDIA_SERVER_TMPDIR=/tmp
# uncomment to set it to something else
# PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="${HOME}/Library/Application\ Support"
# the user that PMS should run as, defaults to 'plex'
# note that if you change this you might need to move
# the Application Support directory to not lose your
# media library
PLEX_MEDIA_SERVER_USER=pi
Environment="PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/home/pi/Library/Application Support"