Unable to add fresh plex media server to account

Server Version#: plexmediaserver-1.30.0.6486-629d58034.x86_64
Player Version#:

Description:
Recently deleted my plex server and rebuilt on Rocky Linux. Upon installing the new server and starting the ‘plexmediaserver’ and accessing the webpage, it prompts me to sign in and doesnt prompt me for setup. I’ve followed the uninstall steps fully and reinstalled, but still does not prompt correctly need help with getting this server into my account so I can setup libraries.

Basic questions:

  1. If you’re setting up using (same keyboard) as the machine PMS is on:
    – open: http://127.0.0.1:32400/web using an Incognito browser window

  2. If you’re on a RFC-1918 compliant subnet,
    – incognito browser window to the http://Lan.IP.of.Server:32400/web

  3. If it’s remote from you (different subnet / different network)
    – SSH tunnel to it ( ssh -L 8888:127.0.0.1:32400 ip.addr.of.server )
    – Log in to the remote session and let it sit idle.
    – Return to the local machine,
    – Incognito window: http://127.0.0.1:8888/web (use the tunnel port)

This on a RFC-1918 compliant subnet, when accessing http://Lan.IP.of.Server:32400/web I get the following

Not authorized
You do not have access to this server

I get the above message when accessing via an incognito browser (chromium).

The Preferences.xml file has issues.

I have an easy tool to edit Preferences.xml, get fresh tokens from plex.tv, and install them in Preferences.xml

All you need do it:

  1. stop PMS
  2. As ROOT user
  3. Run the tool and have it wait at the prompt (waiting for claim token)
  4. Open a browser tab to https://plex.tv/claim
  5. COPY the token to the browser
  6. Return to the terminal session where the tool is running.
  7. PASTE the claim-xxxxxxxxxxx token into the terminal window
  8. Hit enter.
  9. Watch as it gets new credentials, verifies by printing your username & email, then installs it in Preferences.xml

Now, when you start PMS, it will be already claimed and ready to go

1 Like

This did resolve my issue, thanks much for assisting with this and pointing me to the tooling you have for it. I’ll definitely star this project. Have a great holiday season, stay warm!

1 Like

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