On QNAP, we need to do a manual reset in two steps.
- Setup access via FileStation
-
Restart Plex one time (to populate the PlexData share) then stop Plex
-
Navigate (Using FileStation)
PlexData/Plex Media Server -
Install the Text Editor app from the App Center (if not already installed)
-
In FileStation, right click
Preferences.xml→ Open with Text Editor -
Carefully, remove 4 preferences from the file
Each preference consists of theName="Some_Value_here"
- PlexOnlineUsername
- PlexOnlineToken
- PlexOnlineMail
- PlesOnlineHome (if it exists)
-
Save the file
-
Start Plex
-
If you and the QNAP are on the same RFC-1918 LAN subnet (192..168.x.x, 10.x.x.x, or 172.16.x.x - 172.31.x.x)
- Open an INCOGNITO window to http://ip.addr.of.qnap:32400/web
- You should be able to open and reclaim is ok – IF you’ve already changed your password
- If you’re on a different subnet, you have two choices:
- SSH tunnel to it:
ssh -L 8888:127.0.0.1:32400 ip.addr.of qnap
- Leave the session open & idle
- In your browser open http://127.0.0.1:8888/web
- You should be greeted with the Plex/web and claiming process.
==================================================
-
(Alternate method ) Plex claim token
– After having cleared out the Preferences.xml file (above)
– With PMS started
– In a new browser tab, open https://plex.tv/claim
– It will present you with a claim-xxx token
– COPY it to the browser -
In the SSH shell still open
curl -X POST 'http://127.0.0.1:32400/myplex/claim?token=PASTE_TOKEN_HERE'
Hit enter.
As long as there are no errors, it will sit there 15-20-ish seconds while it negotiates new credentials in your PMS.
It will respond with a bunch of XML flags ending with </MyPlex> when successful.
You’re done and ready to go.
Open via the LAN IP one time to confirm it’s all working as expected