Changed my password after getting an email notice that someone else had accessed my account. Password change successful and was able to login to my account but I got the message “No soup for you… You do not have access to this server”
Did some googling and found that this may be the issue
Followed all the steps, stopped Plex media server, ssh’d into my qnap via putty and found my preferences.xml file and deleted the 4 lines with vi commands and saved and exited. Opened up web interface locally and it showed me logged into my account and it spun for a while and then boom same error. I don’t know what to do next, as that’s the end of the support article.
QNAP TVS-882BR Firmware 4.4.1.1216
Server Version#: 1.18.8
Player Version#: 4.22.2
1 Like
Just tried this twice, step by step, still same error.
Before or after editing Preferences.xml with vi ?
IP of the workstation please and IP of the QNAP ?
Followed the instructions you linked after I had deleted those 4 lines in Preferences.xml. Qnap that PMS is on is 192.168.1.203, workstation im guessing you mean the pc im doing this all from is 192.168.1.224
So it’s clear, You deleted all the lines in Preferences.xml (as viewed in vi) ?
If you have, that means the old server instance has been completely removed from plex.tv and we need to reset (from scratch) the authentication. My procedure will not work.
That having been said,
- Get into your browser
- remove all the plex related tokens and browsing history
- shutdown the browser.
- open the browser
- Go to the QNAP
- Stop Plex
- Rename
Preferences.xml
to Preferences.xml.save
- Start plex
- In the Incognito window: http://ip.addr.of.qnap:32400/manage (different URL)
- Now it will want to sign in and be claimed
- Do it.
- It will also want to start a fresh setup.
- DO NOT create any new library sections - everything is still there.
- Continue through normally until you get to the Dashboard.
Advise progress
There will be an additional step after you get to the dashboard.
1 Like
Yes, only deleted these 4 lines in Preferences.xml
PlexOnlineHome="1"
PlexOnlineMail="jane@example.com"
PlexOnlineToken="RanDoMHexIDecIALtoKeNheRE"
PlexOnlineUsername="ExampleUser"
and saved it while plex was not running.
All of your new instructions make sense except #2. I’m on chrome, how do i remove “tokens” and how do i remove browsing history just relating to “plex”. After I can get that figured out i’ll be able to do all the other steps and advise you of progress.
In Chrome, if you remove the browsing history, it’ll take the tokens with it.
Firefox works differently so you’re good there.
While you were in there, when taking out the PlexOnlineUsername & address, you should also take out the X-Plex-Token. It’ll confuse it if left in.
Dont see the words x-plex-token in preferences.xml, im guessing im just looking for the actual token #? How do i know which one it is, theres a couple long strings of random numbers and letters"
Another question before your revisit this thread. You said to take the xtoken out while i was taking out username and address (which i had already done and is now the only preferences.xml in folder). If i’m “saving as” this edited preferences.xml (now with x-plex-token taken out as well) as a Preferences.xml.save backup file and starting plex up again it proceeds to create a new preferences.xml.
Is it still reading that xml.save file when creating the new one? Or should i be saving a “copy” of preferences.xml as xml.save and starting plex up with the (4lines removed + xtoken removed) Preferences.xml still in folder as well?
My apologies. It’s getting late here.
PlexOnlineToken == X-Plex-Token which I was referring to.
In vi
, when you save, it overwrites the original. (:wq or ZZ commands)
if you want a copy of it, you cp
or mv
first.
Plex will only look for Preferences.xml
. It has no concept of the “save” file. This is why I had you save it manually. It allows us to preserve the info in it without interfering with the new authentication sequence.
No worries, had to go to bed myself. Okay, so if that’s the case, then I had already deleted that Plex online token. It was one of the 4 lines I deleted at the start.
So, to be clear on saving when I’m following your 14 steps. When I’m doing step 8. There should be no file named exactly “Preferences.xml” when I start up Plex again? Or will I have 2 copies of the edited file, one “Preferences.xml” and one “Preferences.xml.save”?
I ask because before I went to bed I tried all your steps twice. Both times with no file named “Preferences.xml” in folder when I started Plex back up. Both times it said server found and I went through setup and got to dashboard and still had same issue. First try I used the server name it gave me, second time I changed it to the server name it used to be before this whole issue started.
You are correct:
-
There should be no file named exactly “Preferences.xml”.
-
Given what you tried, I wish to amend my instructions in a small way:
a. When it wishes to setup a new server
b. At the Friendly Name page,
c. Give it the name TEST SERVER
We will easily be able to identify it after reclaiming is complete.
We can then delete all the old instance names and rename the server to take its original name.
Ok. Got home from work, trying this again.
Cleared browser history, stopped plex, deleted preferences.xml while having a .save backup.
Started plex again, opened incognito window, went to qnap ip/manage, signed into my account, (never saw anything say “claim”) Says found server.
Get to friendly name page, name it TEST SERVER. Next page shows original library categories, i dont add any new. then click next. Then on “get plex apps” page i just click done.
Now i’m at dashboard and it shows yellow ! on each of my library categories on left side of screen, click on one and it says “Eagle-NAS2” (my original working server) is currently unavailable. Now i’ve stopped there and haven’t done anything else.
That’s good!
That’s what I expect to see…
You’re on TEST SERVER
.
Eagle-NAS2
is “missing” at the moment.
Before performing the steps below, make absolutely certain the saved “Preferences.xml.save” has the MachineID, ProcessedMachineID, and AnonymousMachineID in it.
If it does not, stop here
Presuming all is goog, perform all steps below.
- Settings - Authorized Devices - Servers (dropdown)
- REMOVE “Eagle-NAS2”
- Stop PMS
- Sign the the Plex/web client (Upper right) OUT of your plex account.
Next, perform the surgery at the shell level.
You need two ssh session windows open
- Cat out the saved preferences.xml.save
- Open the editor to edit the new Preferences.xml (not the saved one)
- Replace the MachineID, ProcessedMachineID, and AnonymousMachineID UUID values – Copy from the saved and put in the current. (copy/paste works best)
- Save Preferences.xml and exit when you’ve verified all is good
- Start Plex
- Open a new browser window to the QNAP.
- You should find yourself on Eagle-NAS2
- If, due to CloudFlare timing, you find yourself on TEST SERVER,
a. Settings - Server - General
b. Rename it to be “Eagle-NAS2”
Okay, done with first set of instructions. Only question is Step 1. on second set “Cat out the saved preferences.xml.save” Don’t know what you mean by that. Everything else after that makes sense.
I mean this part.
[/share/CACHEDEV2_DATA/.qpkg/PlexMediaServer] #
[/share/CACHEDEV2_DATA/.qpkg/PlexMediaServer] # cd Library/Plex\ Media\ Server/
[/share/CACHEDEV2_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server] #
[/share/CACHEDEV2_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server] #
[/share/CACHEDEV2_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server] # cat Preferences.xml.save
<?xml version="1.0" encoding="utf-8"?>
<Preferences OldestPreviousVersion="1.18.3.2129-41af4e729" MachineIdentifier="357e05c6
---redacted segment--ButlerTaskDeepMediaAnalysis="0" ButlerTaskGenerateAutoTags="0" ButlerTaskRefreshEpgGuides="0" ButlerTaskRefreshPeriodicMetadata="1" ButlerTaskReverseGeocode="0" ButlerTaskUpgradeMediaAnalysis="0" EnableIPv6="0" WebHooksEnabled="0" ButlerStartHour="3" FSEventLibraryUpdatesEnabled="1" OnDeckWindow="0" allowMediaDeletion="0" GenerateBIFBehavior="never" OnDeckLimit="0"/>
[/share/CACHEDEV2_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server] #
Have you been accessing everything via FileStation?
No i’ve just been using Putty on my windows PC to ssh into the qnap and navigating to everything through command line then using vi to edit the .xml file. I’m suuuuper new to this command line/linux/vi stuff. I’ve just been googling how to do most of it. I still dont understand what you mean by “cat out”. Do i just type “cat Preferences.xml.save” when in that folder?
Yes. your location for the preferences file will likely be in
/share/CACHEDEV1_DATA/.qpkg/Plex Media Server/Library/Plex Media Server
Ok did all that and verified that those 3 IDs in new Preferences.xml matched the ones from the xml.save. Started plex back up, logged in, and it shows im on TEST SERVER so then i go to settings but there is no server category. And it says TEST SERVER is unreachable.