Unable to access server after password reset

I performed a ”Sign out of all devices”. in response to the security incident Important Notice of Security Incident and got locked out of my plex server this afternoon.

These recovery steps worked for me: https://support.plex.tv/articles/204281528-why-am-i-locked-out-of-server-settings-and-how-do-i-get-in/

DSM 7.0 and above

How to reclaim your DSM 7 Plex server.

  1. Uninstall the package (KEEP) option

  1. Install the same SPK you had installed

  1. Use Plex Claim Token button
  2. “Get Plex Claim Token” (COPY from browser tab which opens)
    Paste into the box

You have about 4m 30 seconds so don’t waste time

  1. Click NEXT - NEXT - DONE

When done, you get:

6 Likes

I cannot make heads or tails out of where I am in this recovery process. W11 install running latest server version.

No remote access (local network or external). Get “connnection reset” error on web clients.

On local server, I initially had issues getting in. I run Plex Tray app, so ended up stopping that and finally got the server to start manually through the windows start menu. That allowed me to log in using “localhost” but I was seeing two servers. The one showing available had no configured libraries.

I then stopped the manually started Plex application and opened the Plex Tray service again and now I only see the unavailable server. But, at least I can log on to/through the local server now using “localhost”..

Still no access from any client, local network or external. I get ERR_CONNECTION_RESET.

Not sure what steps to take next. Do I need to do that registry cleanup and reclaim process ? I don’t want to just start trying things hoping they work. Guidance would be greatly appreciated.

Does anyone have any tips on how to access my server back on Android tv please? I tried logging back in many times, removed the shield under authorized devices too but no luck (served shows stopped in my device and starting it from the shield app does not work). What else can I try? Does anyone else have the same issue?

@TVBanks98

I see two identical named servers on your account.

A newer instance (35 minutes ago)
and another not seen in 15 hours.

Would you like me to clean up that older one for you?

Well, I don’t know which is which. I would think the older one is the “good” one, right ? Or am I missing something ?

When I sign into what I believe is the “new” one it has no configuration for libraries, so I assume I should be trying to connect to the “old” one.

The one with the triangle “unable to connect” has my libraries, friends, and previously connected devices configured but it shows unavailable for some reason.

I’m really kinda lost.

I was not able to figure out how to change the credential in the PMS Tray service. So AFAIK it’s still using the old cred. I wonder if that is the issue.

@TVBanks98

I have a windows VM running now.

Please give me a few more to figure out how this works and we can fix yours.

@TVBanks98

I GOT IT! :slight_smile:

  1. Stop Plex

  2. Regedit (Navigate down to – )
    – HKEY_CURRENT_USER
    — SOFTWARE
    ---- Plex, Inc
    ----- Plex Media Server

  3. Remove -
    – PlexOnlineHome
    – PlexOnlineMail
    – PlexOnlineToken
    – PlexOnlineUsername

  4. SET (IMPORTANT)
    – PublishServerOnPlexOnlineKey = 1

It will look like this when done

  1. EXIT RegEdit

  2. Start Plex

  3. Now, open http://127.0.0.1:32400/web
    You will see the hostname and existing library sections with it

  4. When you go to it, you’ll see it’s unclaimed.

  5. Claim it.

Please let me know your progress

1 Like

This worked for me

Thanks for the pointer.

:clap:

omg what a pain, DSM 6 , nothing works. Still locked out.

If you are on the same network as the NAS,

  1. Stop Plex Media Server & wait ~20 seconds for it to fully stop.
  2. Start Plex Media Server & wait 1 - 2 minutes for it to fully start.
  3. Point a private/incognito browser window at the IP address of the NAS. For example, if the IP address is 10.1.2.3, use http://10.1.2.3:32400/web (you may need to use https).
  4. See if you can login, reach server settings, and claim the server.

If that does not work, try FAQ 15: Claiming & Connecting to a troublesome Synology server.


EDIT: If you are comfortable with SSH and the Linux CLI, you can also use the User Credential Reset utility.

See the Readme for a sample run on a Qnap. It will look the same on a Syno.

When prompted, you’ll need a claim token from https://plex.tv/claim.

  1. Login to the NAS via SSH and change to the /Plex shared folder (usually on Volume 1).
    cd /volume1/Plex

  2. Download the script

wget -O UserCredentialReset.sh https://github.com/ChuckPa/UserCredentialReset/releases/latest/download/UserCredentialReset.sh
  1. Make it executable: sudo chmod +x UserCredentialReset.sh

  2. Run it: sudo ./UserCredentialReset.sh

  3. When prompted, enter the code from https://plex.tv/claim.

Example: On a Ubuntu system

$ sudo ./UserCredentialReset.sh

          Plex Media Server user credential reset and reclaim tool (Ubuntu 24.04.3 LTS)

This utility will reset the server's credentials.
It will next reclaim the server for you using a Plex Claim token you provide from https://plex.tv/claim

Please enter Plex Claim Token copied from http://plex.tv/claim : claim-nottherealtoken
Stopping PMS
Clearing Preferences.xml
Getting new credentials from Plex.tv
Claim completed without errors.
 Username: FordGuy61
 Email:    <redacted>

Starting PMS
Complete.
$
3 Likes

This did not work in my case, and restarting the server had no effect.

edit:


further edit because FordGuy added a script call to his post:

I don’t condone running random sh scripts! That script looks fine, but I haven’t vetted it fully. I don’t think it’s necessary, better to do it manually and understand what’s happening.


For the record, the post by @FordGuy61 helped me out, specifically the linked FAQ question.

In brief, the required call looks like this:

curl -X POST ‘``http://127.0.0.1:32400/myplex/claim?token=claim-``<TOKEN>’

This is not specific to synology! This will also work on a linux server docker install.

You can get your token from https://account.plex.tv/claim

thanks for the info. i got it working again. But lost some pinning and name of the server is now the server name. But everything else is good it seems.

Think i need to install jellyfin as a backup. This was stressfull.

@ChuckPa

There is no README.md file in the Public share folder. Any other ideas?

The README.md file is on the Github page.

See GitHub - ChuckPa/UserCredentialReset: User Credential Reset utility for Plex

It has instructions on how to use the utility on several platforms, including QNAP.

Definite pain in the butt. Took me 30 mins of randomly clicking around trying to get back in / reclaiming server etc. Painful.

Thanks, this fixed it!

Legend, the first part worked, just have to re-grant access to libraries. Thanks!!! Can I buy you a pizza ?

Same issue :exploding_head: