Server Version: 1.13.5.5332
OS: Ubuntu 16.04 and 18.04
Hi,
so I upgraded to the newest PMS version today (from 1.13.0 to 1.13.5) and after the upgrade, I was unable to find my server. Even trying to find it locally (via SSH tunnel, it’s remote VPS) did not work. The service is definitely running, confirmed with sudo systemctl status plexmediaserver.service.
I stopped the service, removed the PlexOnlineToken, PlexOnlineUsername, PlexOnlineMail and PlexOnlineHome attributes from Preferences.xml, removed all cookies for localhost and plex.tv and started the service again. Voilà, I saw my server. But now comes the weird part: every time I try to claim it, the server disappears again. I am not able to find it anywhere, neither with nor without SSL, neither via app.plex.tv nor via localhost. I only see it after following the previously mentioned steps again. So when I try to claim the server, the four attributes are again added to Preferences.xml, but I only see the server after deleting them again, effectively giving me no way of claiming my server.
Things I’ve tried: deleting Preferences.xml entirely, disabling ufw, rebooting, re-installing PMS, I even upgraded to Ubuntu 18.04 now, but nothing works. It’s always the same dilemma.
Maybe one of you can see something in the logs or has any other idea?
EDIT: Just to rule out problems with my VPS provider, I just installed a test environment on a second server I have with the same provider, and claiming that one was not a problem.
That is exactly what I did when I said that I deleted the Preferences.xml. Doesn’t solve the problem, same behavior as before.
EDIT: I was just able to finally resolve this issue myself, though I still don’t understand what the root of the issue was. The value PublishServerOnPlexOnlineKey in Preferences.xml was always set to 0, so I changed it to 1 and that did the trick. Simple as that. Why would Plex not do this on its own, when I claim the server? I assume that would be the normal behavior.
No, permissions definitely were not a problem, the other four attributes were written to the file at the time of login, so Plex definitely had write permission to that file.
when you claim the host, it gets added to your Devices list.
Is it possible you have another (older) instance of that Friendly Name obscuring the current one? (i.e. Duplicate name)