Changed my Plex online password - and now my server is locked out

Server Version#:1.42.2
Player Version#:
<If providing server logs please do NOT turn on verbose logging, only debug logging should be enabled>

I changed my Plex online password - and my server now does not work - even locally. I have tried following the instructions here: https://support.plex.tv/articles/204281528-why-am-i-locked-out-of-server-settings-and-how-do-i-get-in/

I backed up the Prefencers.xml file (of course!) - then removed the named entries.

At the end, it states:
Restore Access to Your Plex Media Server

Now that you’ve removed the values, you just need to get back in to your Plex Media Server. You can sign in to/claim your Plex Media Server with your Plex account as normal. See the related page for specific details.

I restarted the server (it’s the QNAP version) - and directly accessed the local web console. I logged out (as the browser session was still logged in) and back in - and the server is still showing the same error.

Help! I really have no idea where to look next. I don’t know why the error implies mac - this is Plex running on QNAP and I am accessing the web console via the local IP and port.

I understand I need to ‘Reclaim’ my server - but when I access the local Plex web app - it thinks it’s bound to my online account - but it’s not been able to connect since the password was changed.

I removed it from the ‘Authorized Devices’ to see if I could get it to prompt me to ‘Claim’ the server - but it is not.

How do I ‘clear out’ the connection so I can ‘Claim’ the server again? My family is getting impatient since they cannot watch anything on Plex right now.

In Preferences.xml, the only Name=Value pairs to remove are

PlexOnlineUsername,
PlexOnlineMail,
PlexOnlineToken (which is probably already "" (null) from the reset
PlexOnlineHome

With those removed and saved

  1. Start PMS
  2. Open the QNAP by htp://LAN.IP.of.NAS:32400/web

it will go through the onboarding sequence but you’ll see your library sections are there – keep all as is.

If you still have trouble, I have a script which will do it for you (including helping with plex.tv coordination)

That’s exactly what I did - and when I went to htp://LAN.IP.of.NAS:32400/web (but the correct http and ip address) it’s as if I have not removed anything. My account still shows in /web/index.html#!/settings/account as if it’s still connected - but it’s not.

I am trying to find out what I’m missing.

To confirm - do I remove the values from the 4 keys (which is what I tried - making them all ‘‘) - or do I remove the keys in total?

To test - I did try removing the entire Preferences.xml and restarted the server. A new Preferences.xml was created - but the same symptoms. No onboarding sequence at all.

If you have a script - I would very much appreciate it. This at least would confirm it’s done correctly. I kept a backup of Preferences.xml so I can revert it.

Are you and the machine on the same RFC-1918 subnet ?

Preferences.xml won’t do any good after telling Plex.tv to reset. It’s invalidated the token.

Hope this ‘Geek’ makes sense :smiling_face_with_sunglasses:

TL;DR

  1. Put in Public shared folder
  2. SSH in
  3. sudo bash
  4. cd /share/Public
  5. Extract
  6. Make UserCredential.sh executable
  7. As root, run it ./UserCredentialReset.sh

It will ask you to provide the needed token

Yes - same RFC1918 subnet.
I really need to tell it to run the onboarding again - but cannot get it to do so.

This tool gets a new token after negotiating with Plex.tv

It then saves all your credentials in your Preferences.xml file just like PMS would.

When PMS starts, it has NO CLUE it was previously braindead.. lol

PS: See the “README.md”

Thank you.

Progress! Once I read carefully and started with the Plex server stopped. I have regained access!

Thank you so much!

1 Like