Changed admin password and now admin doesn't have access to the local media server

There is a similar method for other hosts:

  1. SSH into the machine / get into the container , etc as required.
  2. Stop Plex
  3. Edit Preferences.xml
  4. Carefully remove the following Name="Value" pairs
    – PlexOnlineName
    – PlexOnlineToken
    – PlexOnlineEmail
    – PlexOnlineHome (if it exists)
  5. Save the file
  6. Start Plex

On your computer

  1. Open Claim | Plex
  2. COPY the token given into your browser
  3. On the command line (where the server is), type:
curl -X POST 'http://127.0.0.1:32400/myplex/claim?token=PASTE_TOKEN_HERE'
  1. Hit Enter.
  2. Wait 15-20 seconds for Curl / PMS to talk to Plex.tv and setup new credentials.

The curl statement will look like this:

curl -X POST 'http://127.0.0.1:32400/myplex/claim?token=claim-xxxxxxx'
8 Likes