Server Version#: 1.29.2.6364-6d72b0cf6
Player Version#: any current version on Windows, iPhone, Apple TV, or Web.
I can’t say whether I can correlate the behavior with the last update because I don’t remember when I noticed the last plex update on my server (ubuntu headless 20.04), and I update frequently.
It’s as if Plex thinks my server media has disappeared. When I log in to plex web, app.plex.tv/web/app, I see “Add your media to Plex.” I can access the media folders outside of Plex just fine, there has been no change. Even the logs indicate that it can see the media.
I have tried to delete the server from Authorized Devices and then go through the process of reclaiming the server. Nothing works. I stop the service, delete the properties from the Preferences.xml, start the service, tunnel in through putty, open the tunnel in my browser on my desktop, go to settings, click general, click claim server, sign in, it shows a loading wheel, the page refreshes and displays the error “Not Authorized. You do not have access to this server.” The server shows up again in Authorized Devices. Will not connect to media.
I think you’re on the right track, re-claiming. Why it didn’t work? Well, there are a number of variables. So let’s just try to get you back up rather than putz around.
Step 0: Power cycle every piece of hardware in your network and your Linux box.
In another topic I explained for Mac how to Reclaim from the command line and you could follow steps (1) (5) & (6) in the tunnel, then grab cuz that’s gonna work.
I suggest that you clear your history, cookies and cache, then restart the browser. That way you’ll get a nice Plex Sign-in when you use Plex | Claim.
I need you to be more specific. Obviously, I’m not using a Mac, and I am using headless ubuntu so no GUI to open a browser for the claim code. I opened the claim code page on my desktop and copied the code into ssh terminal using the command instructed: curl -X POST "http://127.0.0.1:32400/myplex/claim?token=<thetoken>"
Terminal spits out: "<html><head><title>Internal Server Error</title></head><body><h1>500 Internal Server Error</h1></body></html>"
Sometimes you can find past versions in your PMS directory called Updates.
Plex has the old versions, and in that same topic, up around post 35, is a giant example of maybe two dozen old versions for Mac.
You can replace a couple of key words in the URL and build the correct link for your OS.
When deciding on a reasonable previous stable to try, not a beta, I use the forum Announcements topic to see which one was stable. Any should suffice, but 1.28.2 was recent and is worth trying.
No matter which version I use, apparently, I go through the re-claim process, tunnel, open a private browser, go to 'localhost:8888/web/`, click “Claim Server,” log in, it shows a loading wheel, the page refreshes, and then I see “Not Authorized. You do not have access to this server.”
I have also tried it the way you suggested before, by creating a claim token and using curl -X POST 'http://127.0.0.1:32400/myplex/claim?token=<thetoken>' but I just get error 404 on that. Are you certain it’s the correct URL?
sign PMS out remotely by removing it from Authorized Devices
sign PMS out locally by removing the entries from Preferences.xml
clear cookies cache history
install different version == NOT something you want to do each time.
start PMS & wait about 10 minutes if you changed versions. It’s migrating the DBs.
claim from the command line.
I can see you’ve referred several times to tunneling into your headless.
Please explain why you and your headless are not on the same subnet such that you have to tunnel. Normally I just open a ssh terminal to the IP of my server.
I can see you tried several ways to claim, but after every attempt you have to pedantically follow the steps to log out.
Yes I’m sure of the exact url. If the headless is at 192.168.1.10 why not just ssh there?
Those steps you outlined are essentially what I do every time, except as I described, I cannot claim from the command line (assuming you’re suggesting the curl method).
My initial attempts to reclaim were done so by just using the local IP (192.168.1.10:32400/web), I had read that it’s better to claim as the machine itself (localhost/127.0.0.1:8888/web) which can only be done if I tunnel, so… that’s why. it’s a small procedure as putty has the config saved so it’s not a lot of trouble. though, effectively the same process, I agree. But this is only if I’m trying to claim by using the browser. If I’m attempting to use the curl claim method, then I wouldn’t bother with the tunnel.
I will restart the service and wait longer before I post new logs. migrating the DBs was not something I had taken into account.
Please just ssh to 192.168.1.20 from your laptop and don’t tunnel.
We can avoid a layer of abstraction for now, even though it’s totally possible.
I’m not good enough at those to easily spot a typo, and frankly it’s not needed if both PMS and your laptop are on the same RFC compliant private subnet, 192.168.1.0 / 24 in this case.
That is the requirement for claiming and administering PMS.
I can’t tell you how many times I failed to install PMS on a Mac until I sorted out the steps.
I just expect yours to be smoother as long as you do them.