I had uninstalled Plex on the Synology using the ‘Sign Out and Unclaim this server’ option originally.
I next tried uninstalling Plex with the ‘Uninstall only’ option. This “succeeded”, but now when I visit http://foobar.lan:32400/web I get “Not Authorized”.
The support article doesn’t talk about how to fix things on Synology, and while I could find the Preferences.xml, it doesn’t have any of the PlexOnline tokens in it.
Preferences.xml will not contain tokens until after you have connected the server to https://plex.tv.
Reboot your modem/router and everything connected to it, including any wireless devices.
Then open Plex/Web using http://NAS-IP-Address:32400 and go to Plex Settings > Authorised Devices and remove all entries listed under Server.
Then close and reopen Plex/Web and make sure you sign in with the correct Plex credentials.
Go To Plex Settings > Server > General and make sure the server is claimed.
To view your media, go to the Plex/Web Home page and click on More > (bottom of the flyout menu on the left of screen).
Locate the libraries you wish to display on the Home page and then Pin them.
Return to the Home page and you should now see the libraries you pinned on the flyout menu on the left.
The process is similar in most Plex apps as well.
Don’t forget to customise and enable viewing the libraries etc. in Plex Settings > Server > Libraries > Manage Recommendations.
Note:> Server > is a reminder to select the correct server in Plex Settings, assuming you have more than one Plex server. You may ignore that instruction if you only have one Plex server.
I rebooted the Synology, the modem, and the UniFi router. There are too many devices on the network to individually reboot each one.
I opened Plex/Web using http://NAS-IP-Address:32400 and I get “Not Authorized”. So I can’t remove the authorized devices from the NAS. I did go to Plex/Web on my desktop (https://app.plex.tv/desktop/), but there were no server devices listed there.
There is a race condition when plex is not claimed and you use QuickConnect.
When you click QuickConnect to connect to your server
The request goes out to Synology in Taiwan, sending your QuickConnect domain and username
Synolgy becomes a proxy back to your server
– It connects to your server using the synology FQDN
When unclaimed, PMS is very strict about what it allows to connect. The is done to protect your server & media from unauthorized claiming by someone outside you home in the case where it’s unclaimed.
– Connections from the local LAN (your subnet & same as the Syno IP) are allowed
– Connections using, or including, a FQDN (which is what Synology is doing) are refused.
Earlier you stated:
You can’t use a FQDN in the URL for the reasons above
Have you tried the: ?
– Uninstall Only
– Install again using “Plex Claim Token” method
If you have internet working, this will succeed
– It prints your username and email as verification in the popup at end of installation.
I did get it to reinstall properly (using a FQDN, because my router resolves the .lan prefix) using the Uninstall Only/Plex Claim Token method. I’m not sure what the purpose of Sign out and unclaim server is, but you can’t reclaim the server using a Plex Claim Token, so (IMO) it’s misleading.
I’m the author of the Synology packaging scripts & menu system.
Uninstall only – Removes only the code. Data is not touched
DSM stores PMS code in /var/packages/PlexMediaServer/target
Your server data is assigned to the PlexMediaServer shared folder
which is universally addressable as /var/package/PlexMediaServer/shares/PlexMediaServer
2.. Sign Out and unclaim performs two operations
Removes the package (#1 above)
Edits the Preferencs.xml file and removes your credentials from it. This allows you to reclaim it under a different account when you next install the package.
Normal installation installs the software again – ASSUMING the server is claimed or new (and can be claimed by opening using http://LAN.IP.of.Syno:32400/web )
When not able to claim the server using its LAN IP (meaning the LAN IP is not RFC-1918 compliant) or wonky modem/router firewall or ISP, the Plex Claim Token method takes the token you give it and does the handshake with Plex.tv for you as it’s installing the package. (Normally the browser Plex/Web would do this … but RFC-1918 LAN addressing is required and FQDNs are not allowed.
The purpose of the Plex Claim Token method is for maximum flexibility.
it will work even when your NAS has a public IP address (Common for college students who take their NAS with them)