After my QNAP crashed and had to be reset, I reinstalled PMS. It seems be running fine, except that it doesn’t have any local media content, and the server settings are unavailable. When I click on “Your Media” it tells me to Get Plex Media Server. But that’s the software I just installed. So, not sure what to do next.
Sounds like you’ve either used a different user then the one that had claimed the server in the first place or you’re trying to open the Plex Media Server for the first start through the hosted version of Plex Web (http://app.plex.tv/desktop) -> to claim your server after a re-install, you need to access it through its local IP instead (e.g. http://[QNAP IP address]:32400/web).
If you had been using a different user… check this support article
I am accessing Plex through its local IP (http://192.168.86.32:32400/web). That takes me to the home screen. I don’t see the option of claiming my server.
2/ Based on the instructions there, and given that this is LINUX system, I’m trying to locate the preferences.xml file. So:
[/] # getcfg -f /etc/config/qpkg.conf PlexMediaServer Install_path
/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer
[/] # cd /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer
[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer] # ls
CrashUploader* Plex Commercial Skipper* Plex Media Scanner* Plex Relay* Plex Transcoder*
lib/ Plex DLNA Server* Plex Media Server* Plex Script Host* Plex Tuner Service*
Library/ Plex Media Fingerprinter* Plex Media Server Tests* plex.sh* Resources/
[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer] # cd Library
[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library] # ls
Plex Media Server/ tmp/
[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library] # cd Plex\ Media\ Server/
[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server] # ls
Cache/ Crash Reports/ Logs/ Metadata/ Plug-ins/ Preferences.xml Thumbnails/
Codecs/ Diagnostics/ Media/ plexmediaserver.pid Plug-in Support/ Scanners/
3/ I used my best ‘vi’ skills to edit the Preferences.xml file and delete the following attribute/key pairs:
PlexOnlineMail="jane@example.com"
PlexOnlineToken="RanDoMHexIDecIALtoKeNheRE"
PlexOnlineUsername="ExampleUser"
I could not find the following attribute/key pair: PlexOnlineHome=“1”
4/ I restarted PMS … same result as before. Server doesn’t show up
Ok, fixed it (I think). The issue was that the PMS process was still running on QNAP, even after killing the browser window. Which makes sense.
So, I did this:
[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server] # ps aux | grep -i plex
3041 admin 924 S grep -i plex
23379 admin 74544 S ./Plex Media Server
[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server] # kill 23379
cd /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer
[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer] # ./Plex\ Media\ Server &
And then started PMS from the app home screen on QNAP… bingo …
I did try the reboot before modifying the preferences file, but that didn’t help.
I just rebooted it now … and that messed things up again. Argggh!!! The system lists the server that I just configured as ‘not found’, and then added a new server that is ‘unclaimed’. When pressing the claim button, the system is spinning for a while and then just stops and the server disappears… Only the old server remains with status ‘unreachable’.
I tried running the ClaimIT script but it fails with error
“We failed to authenticate towards plex.tv. Please check username and password, as well as network access”
It’s strange because when I log in on plex.tv and click ‘launch’, it correctly launches PMS on my NAS but shows the server as ‘not available’.
Ok, so I changed my password. The error went away but I now got a different error:
Comparing entered passwords
Comparing entered passwords ok
Validating IP address
Getting PMS Server Identifier
Getting PMS Server Identifier ok
Getting User Token from plex.tv
Getting User Token from plex.tv ok
Getting PMS Claim Token
Getting PMS Claim Token ok
Claiming server
Fatal error happened
HTTP returned Status 401