Cannot claim plex server on Mac or QNAP and boy have I tried

Server Version#: 1.41.2.9200
Player Version#:

Hello - I am trying to claim my plex server, as it seems to have been uncoupled, and I cannot access it. I am mostly trying to do this on a QNAP, but out of desperation, I have also attempted on the Mac. Here is some info:

  • QNAP:
    • The plex.tv/claim URL does not work. Infinite reloads
    • The button inside the QNAP-hosted Plex UI does nothing
    • I have enabled PlexData, installed Claimit, and run it, and I get the following error:
      • Getting User Token from plex.tv
      • ./claimpms.sh: line 100: [: 301
      • 401: integer expression expected
      • ******** ERROR ********
      • We failed to authenticate towards plex.tv
      • Please check username and password, as well as network access
    • I have checked my internet access using ping-test.com, plus I can see all the libraries friends share with me, so I know it’s not internet access.
    • I do have a special character in my password, as Plex now requires you to do. I have attempted this process with the Claimit origianal flavor, as well as the Claimit at this branch. Both produce the same error.
    • I have not actually confirmed my internal URL is 127.0.0.1 because I don’t know where to check this or even if it can be changed.
    • I am doing this on a QNAP TVS-471, running QTS 5.2.2.2950, firmware is updated. Plex is updated to 1.41.2.9200, which I think is the most recent? Though my plex instance tells me it is old. I downloaded the Intel/AMD 640bit (QTS-4.3 and newer) version of the Plex Media Server from the site
    • I cannot attempt the alternate method laid out here because I cannot go to plex.tv to claim a token (see below)
    • Here are the logs from the QNAP (downloaded via the Plex interface since I cannot for the life of me access the Plex Media Server in PlexData ¯_(ツ)_/¯
    • (I have done all of these steps both as admin and as my main user profile, which has admin privileges.
    • I have checked the privs to PlexData and the main Plex shared folder but they’re fine and also this wouldn’t explain the Mac behavior, see below.
    • THEN, since the whole reason I got myself in this kerfulffle is because I was going to ultimately move off QNAP to a Mac, I figured I could do this over there. So:
  • Mac Mini 2018, 3.6GHz Quad Core Intel Core i3 running Sequoia 15.1.1. Using Orion, but have also tried this in Safari:
    • Installed PMS for Mac 1.41.2.9200-c6bbc1b53
    • Launched it.
    • Infinite reload loop, every time
    • Did the thing where you go to /web and got logged in with my credentials
    • No server, no server settings, no option to claim in the interface
    • Went to the prefs.xml and plist files, deleted the appropriate parameters, relaunched nothing.
    • Turned off my multi-user login stuff so it’s just auto logging in to the main account. No change.
    • Plex.tv claim URL does nothing, infinite spinning wheel. If I do it not logged in, I successfully log in, then nothing happens.

I apologize for this being long, but I have, I think, tried everything in every tutorial online.

Any help would be profoundly appreciated. I am unable even to start over from scratch on a new machine, without abandoning my username and lifetime plex pass which would be less than ideal.

Let’s update to something more current.

  1. Stop PMS
  2. Put this sh in /share/Public
  3. SSH into the QNAP
  4. Run it
  5. Get a claim token from plex.tv and paste into the script (it will wait for it)
  6. It will talk to plex.tv, get new credentials, then update Preferences.xml for you

If there are any problems , it will tell you.
Please let me know your progress.

FYI – I had to BACK DOWN from firmware 2950 — Too many problems.
You might want to consider reverting firmware as well. QNAP did pull it

Ooo exciting thank you. I have run this. It says "ERROR: Could not get credentials from plex.tv (Error: 60). Yet I am (was) logged in to Plex on the server just prior to this. I have double-checked my internet connection, etc. Also I downgraded to 5.19.2954 for QTS as well (though I lost FileStation in the process for some reason).

And actually, I got another line of output from that script that does not seem to be in the intended output:

Plex Media Server hasn’t been enabled or started…

Do you have a proxy server / certificate assigned to the QNAP ?

error 60 is a certificate naming error (date/time out of sync -or- foreign certificate)

Nope. Never set one up, and from some quick googling doesn’t look like a thing I could do accidentally? Admittedly a bit beyond my skillset, there.

you’re 100% certain that the machine is configured for the correct time zone and the date/time is correct?

Yes. It has the correct date and time, I’ve switched the system time control panel to manual and then back, it picked up the correct time zone no problem, the “Test connection” button works, the update button works. But I also know it’s connected to the internet because it has continued to successfully perform my nightly backblaze backup.

The fact that I’m having such trouble on the mac too leads me to believe something more is going on. I can’t even get a prefs file made on the mac, the moment I log in with my credentials, everything breaks irrevocably.

I just had an idea.

What is the IP address range of your home LAN?

Is it one of these ?:

  • 192.168.x.x
  • 10.x.x.x
  • 172.16.x.x → 172.31.x.x

May I ask which location is yours? New York or North Carolina ?

Yeah the home network is in the 192 range. And I am in NC. Used to be NY but not for 9 years.

@webbles

having the 192.168.x.x is important. The RFC (RFC-1918) specifically calls out 192.168.0.0 → 192.168.255.255 for use. This is why Plex uses it.

What’s happening is PMS is distinguishing between Home LAN and WAN.

You don’t have a VPN in use?

No VPN.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.