Server Version#: 1.24.1
Player Version#: 4.63.0
Hi folks, I got an email today about a strange sign-in from Sydney and a bunch of other places. It looked like my user/pass was leaked. I went and changed my password and that’s when the trouble began. I couldn’t seem to connect to my QNAS Plex server. I tried everything but I still can’t “claim” my server. Even from the localserver:32400/web/ under +Your Media - it always prompts me to install Plex Media Server, even though I already have it installed. I removed it and blew away the config files and did a clean re-install and it still takes me to the “Add media to Plex” page where I can “GET PLEX MEDIA SERVER” endlessly. Did plex get hacked? Did my account get jacked?
Thanks
Breath for a second. 
You changed your password (to be safe) while PMS was running.
Not a problem.
To prevent your server from really being jacked/hacked, a password change isn’t “Pushed” to new devices.
I will ask you – did you “Sign out all devices” (checkbox) as you changed your password?
If you didn’t, and if you want to be ultra safe, you can go back, change it again AND check that box. It will make anything and everything get forcibly signed signed out by Plex.tv
Assuming that is done - lets get your server signed in cleanly again.
- Stop Plex on the QNAP
- Create a shared folder named “PlexData” (exactly as I’ve typed it) anywhere you want.
- Start PMS, let it run one minute
- Stop it again.
Now, when you open FileStation, you’ll find PlexData / Plex Media Server.
In Plex Media Server you’ll find all your server’s internal files (including the Preferences.xml which contains your account info and what we will clean out so you can bring it back into your account.
-
Install the QNAP Text Editor from App Center if not already installed
-
File Station: Navigate PlexData/Plex Media Server
-
Right-click
Preferences.xml→ Open in Text Editor -
Everything you see is in
Name="Value"pairs. -
Carefully remove the following Name=“Value” pairs (some might not exist)
- PlexOnlineUsername
- PlexOnlineToken
- PlexOnlineEmail
- PlexOnlineHome
- secureConnections
-
Save the file
-
Now start Plex
-
If you still have your Plex/web open, Sign out (upper right) as those credentials are invalid
-
It might say “Got It” – fine
-
It will want you to sign in * claim it. – ok
-
If it starts asking you to create new library sections – SKIP that
-
Continue to proceed through to the dashboard.
-
You should find everything back as it was.
After you’ve confirmed it’s good, now you can get your devices linked again.
Yes, I signed out of all devices.
I edited the Preferences.xml file using vim because the QNAP Text Editor couldn’t seem to find my file located at /share/PlexData/Plex Media Server\Preferences.xml
None of those values were in the file, only this
Preferences OldestPreviousVersion=“1.24.1.4931-1a38exxxx” MachineIdentifier=“e7xxxxxx-1c6a-46a2-a57e-1881e706748d” ProcessedMachineIdentifier=“a7a7ddxxxxxxxxxxd96b065809c96e63cedb997c” AnonymousMachineIdentifier=“e7cea321-xxxx-xxxx-a5b9-addfa504245a” MetricsEpoch=“1”
Whey I try to launch Plex now I get “Not Authorized”
It’s trying to launch server:32400/web/index.html#!/setup/ProcessedMachineIdentifier found in Preferences.xml. but as I said I’m getting “Not Authorized - you do not have access to this server”
GACK!
Don’t launch any exotic URLs. They’ll only get you in trouble because most are outdated (old Plex/Web versions)
- Sign out of Plex/web
- Open an Incognito to it.
- If you’re not using an RFC-1918 subnet AND on the same subnet with it – it will not allow you to claim it – UNLESS you use the SSH
curlmethod.
Since you ran with vim, I presume curl is no biggie
- get the preferences.xml file ready (which the above looks like it is)
- Start Plex and let it sit
- in the browser: open
plex.tv/claim - It will show a claim token – COPY it to your browser
- Now, in that SSH session (you have a 5 minute limit)
curl -X POST 'http://127.0.0.1:32400/myplex/claim?token=PASTE_TOKEN_HERE'
it will look llike
curl -X POST 'http://127.0.0.1:32400/myplex/claim?token=claim-324x526fc33'
It will sit there quietly with no output for 15-20-30 seconds while your server and plex.tv communicate and negotiate a new token pair.
When it’s done, It will spit out a whole bunch of feature flags (XML)
The very last line will be </MyPlex>
The server is now yours again.
Looks like going to the site Incognito got 'er done. It’s scanning my libraries now. Thanks for your help!!!
Thank you!!!
I have been struggling with this for a while. The above works.
Best,
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.