Cannot access QNAP Plex Since resetting password

On QNAP, we need to do a manual reset in two steps.

  1. Setup access via FileStation
  1. Restart Plex one time (to populate the PlexData share) then stop Plex

  2. Navigate (Using FileStation) PlexData/Plex Media Server

  3. Install the Text Editor app from the App Center (if not already installed)

  4. In FileStation, right click Preferences.xml → Open with Text Editor

  5. Carefully, remove 4 preferences from the file
    Each preference consists of the Name="Some_Value_here"

  • PlexOnlineUsername
  • PlexOnlineToken
  • PlexOnlineMail
  • PlesOnlineHome (if it exists)
  1. Save the file

  2. Start Plex

  3. 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)

  1. 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.

==================================================

  1. (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

  2. 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