User running Plex on Linux

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

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.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.