Recently move my Plex installation from a Mac to Ubuntu and now with every reboot of the server, I get the message that the media server is unclaimed and i have to reclaim it. How do I resolve the issue?
If it is ‘unclaimed’, this means your username is not in "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Preferences.xml"
The very first things to check:
- Ownership of the file (
ls -la) which also includes ownership of the directory - It should respond with:
[chuck@lizum Plex Media Server.108]$ ll
total 48
drwxr-xr-x 10 plex plex 4096 Apr 30 14:00 ./
drwxr-xr-x 3 plex plex 4096 Apr 29 20:01 ../
drwxr-xr-x 4 plex plex 4096 Apr 30 14:40 Cache/
drwxr-xr-x 3 plex plex 4096 Apr 29 20:01 Codecs/
drwxr-xr-x 3 plex plex 4096 Apr 29 20:01 Crash Reports/
drwxr-xr-x 3 plex plex 4096 Apr 30 06:58 Logs/
drwxr-xr-x 3 plex plex 4096 Apr 29 20:03 Media/
drwxr-xr-x 3 plex plex 4096 Apr 29 20:03 Metadata/
-rw-r--r-- 1 plex plex 4 Apr 30 01:26 plexmediaserver.pid
drwxr-xr-x 3 plex plex 4096 Apr 29 20:01 Plug-ins/
drwxr-xr-x 7 plex plex 4096 Apr 29 20:01 Plug-in Support/
-rw------- 1 plex plex 1114 Apr 30 14:00 Preferences.xml
[chuck@lizum Plex Media Server.109]$
If plex:plex is not the owner, we can fix that.
sudo systemctl stop plexmediaserver-
sudo chown -R plex:plex /var/lib/plexmediaserver(takes a bit) - `sudo systemctl start plexmediaserver