For any user out there attempting this for safety reasons DON’T.
It will lock you out of your remote server and the instructions set out in the FAQs or things like changing the preferences.xml file or re-setting permissions don’t work because hey - NO SOUP FOR YOU!
Back story:
Running the latest version of Plex on a headless remote server (Ubuntu). Worked perfectly. I had suspicious traffic so I decided to change my password just to be sure (and yes I have 2FA on) because who knows.
Somewhere in the user menu there was a security option to sign you out everywhere. So I hit yes to be on the safe side.
What I did of course was sign me out of the remote server too. Which wouldn’t be a problem if only the server would show up again per the instructions which I followed to the letter. Changing permissions or tinkering with preferences.xml file (again per instructions) didn’t work either.
So, don’t trust the process and only sign out servers/instances manually in the settings. Hell, why change the password. Scary ■■■■! Otherwise a routine job will become a ■■■■■■■ nightmare.
Meanwhile, I’ll have to reinstall en rebuild everything again. I’m thrilled.
I’m not sure which support articles you were looking at, but have a look at the “On a Different Network” section of this one:
The short version is that if you need to initially configure or log in to a remote server for the first time, you have to do it over an SSH tunnel. By signing out of your server, you ended up in a state where you’d need to do this again.
ssh user@remote_ip -L 8888:localhost:32400 (enter your password if/when prompted).
There may be improvements to the text to help make the consequences of signing out all devices more apparent.
yes this signs out clients and server(s), so you must be able to access a (remote) server via local address (ie within your lan/vpn, or via ssh tunnel), in order to sign the server back in to your plex account.
you should not need to reinstall or setup anything else with your content etc.
The minimal version so you can do it step by step.
The more embellished version that produces error codes too so you know where to look for a solution.
What I found so frustrating was that I seemed to do everything by the book. I’m sure there was some log file somewhere that was shouting the error but I’m not THAT of an advanced user (right now, I’m learning).
Signed out all instances @ settings/AD, deleted the old folder then did a complete CL reinstall of the PMS (with the plex user), killed the PMS process, varified via ps x. Next, if I try to claim it with the script it says:
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
******** ERROR ********
We failed to authenticate towards plex.tv
Please check username and password, as well as network access
So it’s the token that’s somehow the problem. Don’t see anything about this on the wiki.