PLEX Server

“You are not authorized to use this server”
  1. sudo systemctl stop plexmediaserver
  2. sudo setfacl -R -m u:USERNAME:rwX /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Preferences.xml
  3. Delete owner stuff from Prefereces.xml
  4. sudo systemctl start plexmediaserver
  5. Go to 127.0.0.1:32400 in a browser & “Claim” the server

Write error (“plex” user took ownership of your Library)
sudo setfacl -R -m u:USERNAME:rwX '/mount/EXT_DRIVE_NAME/Plex Library/'

This will allow you to write to the directory again

But you will probably want to change the ownership back to yourself. Files in linux can be owned by both a user AND a group. So we can make you own the files, along with a group that includes you and the “plex” user. Then everyone should have the permissions they need.