Server Version#:PlexMediaServer-1.22.1.4228-724c56e62
Player Version#:N/A
I’ve got an existing plex server that works fine, I’ve tried installing a secondary plex server that is in a remote location and headless.
How ever I am unable to claim the new server, I’ve tunneled into the server and I can access 127.0.0.1:32400 via the tunnel when I login to plex all that it shows is my existing plex server which is at my house.
I’ve also tried a script to manually claim the server, it still doesn’t show up, although after running that I do notice that in the log it no longer says unclaimed.
before running the script to claim it by going to plex.tv/claim.
When trying to claim a remote server, there’s a few ways.
What I’ve found the most reliable (SSH tunneling is becoming problematic due to the default configurations don’t allow channel 3 by default), which I’ve implemented for Synology NAS systems is, presuming you’re at the command prompt ON the target host:
Make certain the target server friendly name isn’t listed in "Settings - Authorized Devices - Server (dropdown). If it is, REMOVE it.
Proceeding:
With PMS stopped
Remove the following Name="Value" pairs from Preferences.xml if they exist
a. PlexOnlineUsername
b. PlexOnlineToken
c. PlexOnlineEmail
d. PlexOnlineHomee
Get a Claim Token from Plex.tv
Start Plex and let it sit there a moment
Construct:
curl -X POST 'http://127.0.0.1:32400/myplex/claim?token=PASTE_TOKEN_HERE'
It will pause a moment (PMS will be communicating with Plex.tv)
It will then output a whole bunch of keywords (your account feature flags)
The server will now be available in the GUI.
If this continues to give you difficulty, I will remove the server UUID from plex.tv
So following the instructions it “looked” like it worked. I removed it as a Authorized device, none of those values were in Preferences.xml.
Ran the curl with the token.
The Preferences.xml file was updated with a lot more content including my plex username etc, I can see the server was re-added back to Authorize-device.
How ever I can’t see the server in the list, only my original server, if I click on the drop down arrow next to the server name where you would assume you would change it. It just shows one server, that is under settings.
If I go to media section and try to view if the server is visible there, all I can see is my original server plus other servers friends have shared with me, not this newly setup one.
Still the same, ran the script said it was fine, login to my plex account via plex.tv or directly to the sever itself, same thing only showing the original server.
I did originally try to sync the plex directory from the old server to the new server, but after that didn’t work I did a purge on the directory on the new server and re-installed plex so it was fresh again.
Script output.
plex.tv Password:
plex.tv Password Repeated:
IP Address of PMS server: 127.0.0.1
Comparing entered passwords
Comparing entered passwords ok
Validating IP address
Getting PMS Server Identifier
Getting PMS Server Identifier ok
Getting User Token from plex.tv
Getting User Token from plex.tv ok
Getting PMS Claim Token
Getting PMS Claim Token ok
Claiming server
Claiming server ok 200