Server Version#: 1.18.1.1973
Player Version#: All
Updating Plex Media Server on Linux PCs and Raspberry Pis results in the need to edit various files and ownership. So it goes as follows
Edit file /lib/systemd/system/plexmediaserver.service to change user=XXXX and group=XXXX # and replace XXXX with pi
sudo chown -R pi:pi /var/lib/plexmediaserver
sudo systemctl stop plexmediaserver
sudo systemctl daemon-reload
sudo systemctl stop plexmediaserver
Should I add plex as a user and group and to the sudoers list?
Respectfully,
NO, Do not modify /lib/systemd/system/plexmediaserver.service
When updates are installed, anything in /lib is overwritten by the package manager.
I have set the flag to guarantee this.
To customize your PMS installation, which will persist from update to update,
Please use the systemd documented and supported method
Customizing your Plex configuration on systemd based systems
This information is intended for those systems where cat /proc/1/comm returns systemd.
On systems which use Systemd (Ubuntu 16+, Fedora, Centos 7, Debian 8,) you create this customization file which SystemD reads prior to launching PMS. This file is independent of the default configuration and service control mechanisms in /lib/systemd/system/plexmediaserver.service. Your customization override is preserved across updates, uninstal…
As supplemental information,
Plex Media Server is intended to run as a non-privileged user.
At no time does it require or can it even invoke root privilege.
system
Closed
February 2, 2020, 7:23pm
4
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.