bp332106 Posted August 25, 2022 Share Posted August 25, 2022 @groot-stuff Thanks for the tip. Plex's server claim process is ridiculous. Particularly when their data breach forced users to change passwords and thus have to go through the painful claim process. The process for me, in detail: Stop the Plex Server. In my case it is a container Modify Preferences.xml to remove: PlexOnlineHome="1" PlexOnlineMail="[email protected]" PlexOnlineToken="XXXXXXXXXXXXXXXXXXXXX" PlexOnlineUsername="YourUserName" For me this involved ssh <unraid IP> cd /mnt/user/appdata/PlexMediaServer/Library/Application Support/Plex Media Server vim Preferences.xml (maybe make a copy first in case you screw it up) remove the entries listed above and save Generate Claim Code from https://www.plex.tv/claim/. This starts your 4 minute clock so get to the next steps quickly Edit PlexMediaServer container configuration from the Docker UI un Unraid. Add the Claim code as a key (PLEX_CLAIM=claim-xxxxxx). Save container configuration Start Container In a Private Browser, load Plex webui (http://UNRAID_IP:32400/web) Sign in. This will prompt you with a few questions about pinning library. Click Finish and your Libraries should be back to normal This process is ridiculous and made worse by the 4 minute timer. I had to attempt it 3 or so times. 1 Quote Link to comment
Pducharme Posted August 25, 2022 Share Posted August 25, 2022 For me, it was easy. I went to plex.tv/claims, copy the new Claim ID, then edit my PLEX docker (from Plex INC) and put the new claim-id into the variable called "PLEX_CLAIM" and save and restart the docker. Quote Link to comment
TheSpook Posted August 25, 2022 Share Posted August 25, 2022 9 hours ago, Pducharme said: For me, it was easy. I went to plex.tv/claims, copy the new Claim ID, then edit my PLEX docker (from Plex INC) and put the new claim-id into the variable called "PLEX_CLAIM" and save and restart the docker. I tried all the editing Preferences.xml crap and it didn't work. Adding the Claim ID worked for me (-e PLEX_CLAIM= `claim-xxxxxxx`) BUT What tripped me up the 1st time is it doesn't work if you are behind a reverse proxy (like nignx or LinuxServer SWAG) and use the proxy address. Apparently, you have to go directly to the webserver's IP (eg http://192.168.1.x:32400/web) and do it that way. Quote Link to comment
G3schwindigk3it Posted August 29, 2022 Share Posted August 29, 2022 @groot-stuff Thanks for the help. I've been messing around with it for a few hours now and I had to add these steps: I have different VLAN's for different things Ex. Wifi is at 10, so it's a x.x.10.x network. UNRAID is 15, ex. x.x.15.x network. My default wired connection is default VLAN so it's x.x.1.x It took me way too much time to figure out that I had to change my PLEX docker to the default VLAN since I was on my default wired connection. Since it took me so long, i thought I'd share this here. Quote Link to comment
Sammyhandro Posted August 31, 2022 Share Posted August 31, 2022 @groot-stuff +1 on the thanks - been messing about for hours on the plex support site trying to get SSH tunnels to connect & placing claims tokens where the sun don't shine Quote Link to comment
Cyrilphoenix Posted December 31, 2022 Share Posted December 31, 2022 Hello all, I just start with unraid and since 2hours with plex, I've read all and test all but I have always "not authorized" screen instead of setup server I've test : - delete docker and reinstall - delete appdata plex folder - delete 4 ligne in preference xml - reset plex account password - disabled 3 factor auth - open webgui in private tab please help me Quote Link to comment
trurl Posted December 31, 2022 Share Posted December 31, 2022 16 minutes ago, Cyrilphoenix said: please help me Post your docker run for plex Quote Link to comment
Cyrilphoenix Posted December 31, 2022 Share Posted December 31, 2022 Quote docker run -d --name='Plex' --net='host' -e TZ="Europe/Paris" -e HOST_OS="Unraid" -e HOST_HOSTNAME="Nestor" -e HOST_CONTAINERNAME="Plex" -e 'PLEX_CLAIM'='Insert Token from https://plex.tv/claim' -e 'PLEX_UID'='0' -e 'PLEX_GID'='0' -e 'VERSION'='latest' -l net.unraid.docker.managed=dockerman -l net.unraid.docker.webui='http://[IP]:[PORT:32400]/web' -l net.unraid.docker.icon='https://raw.githubusercontent.com/plexinc/pms-docker/master/img/plex-server.png' -v '/mnt/user/appdata/tmp/':'/transcode':'rw' -v '/mnt/user/Medias/':'/data':'rw' -v '/mnt/user/appdata/Plex-Media-Server':'/config':'rw' 'plexinc/pms-docker' 608e0bffff91c48585e5e37eb5428e365b9016d200fb37de57bc9a2d056c515a La commande s'est terminée avec succès! Quote Link to comment
trurl Posted December 31, 2022 Share Posted December 31, 2022 And did you actually? 18 minutes ago, Cyrilphoenix said: 'Insert Token from https://plex.tv/claim' Quote Link to comment
Cyrilphoenix Posted December 31, 2022 Share Posted December 31, 2022 Yes i did it many time, not for this docker run but each time I change it before start Quote Link to comment
trurl Posted December 31, 2022 Share Posted December 31, 2022 You shouldn't need to do it each time. Makes me wonder what you are doing. When you did this docker run, did you change that text back to 25 minutes ago, Cyrilphoenix said: Insert Token from https://plex.tv/claim Quote Link to comment
trurl Posted December 31, 2022 Share Posted December 31, 2022 Just now, trurl said: did you change that text back because normally it would still have whatever you entered before. And after it's been claimed, you don't need that -e anymore. Quote Link to comment
Cyrilphoenix Posted December 31, 2022 Share Posted December 31, 2022 I do docker run again with a valid claim : Quote docker run -d --name='Plex' --net='host' -e TZ="Europe/Paris" -e HOST_OS="Unraid" -e HOST_HOSTNAME="Nestor" -e HOST_CONTAINERNAME="Plex" -e 'PLEX_CLAIM'='claim-HgxpZw7*************' -e 'PLEX_UID'='0' -e 'PLEX_GID'='0' -e 'VERSION'='latest' -l net.unraid.docker.managed=dockerman -l net.unraid.docker.webui='http://[IP]:[PORT:32400]/web' -l net.unraid.docker.icon='https://raw.githubusercontent.com/plexinc/pms-docker/master/img/plex-server.png' -v '/mnt/user/appdata/tmp/':'/transcode':'rw' -v '/mnt/user/Medias/':'/data':'rw' -v '/mnt/user/appdata/Plex-Media-Server':'/config':'rw' 'plexinc/pms-docker' 8571c3ce7d2fe80b486b139fa1037c4f16b45b10a174f268aeedd1ae5bdfb087 La commande s'est terminée avec succès! I changed last caracter of claim for here Quote Link to comment
trurl Posted December 31, 2022 Share Posted December 31, 2022 Does it work now? If you edit the docker again, does it still have your valid claim token? Quote Link to comment
Cyrilphoenix Posted December 31, 2022 Share Posted December 31, 2022 Nope I have a plex screen with my 4 user, I choose One then 4 digit pass and >> this screen Quote Link to comment
Cyrilphoenix Posted December 31, 2022 Share Posted December 31, 2022 normally it would be the server setup screen Quote Link to comment
walterg74 Posted February 2 Share Posted February 2 Hi folks, Using linuxserver PLEX docker and I am having a similar issue. Have a server back home (moved abroad) and had not used it for a while. Today I go login and seems I forgot my password or whatever, so I reset it. After that I logged in, and my shares were visible but all with exclamation points and saying "not authorized"/"you don't have permission" etc. Read somewhere I needed to update the docker so I did. Once I did that, I now login to my server, and my shares are gone, don't see server options, etc. I tried doing the claim process and adding the variable, but the result is the same and when I check the log I see: **** Server already claimed **** Docker is used for versioning skip update check [custom-init] No custom files found, skipping... Starting Plex Media Server. . . (you can ignore the libusb_init error) [ls.io-init] done. Appreciate any help on how I get this back to working as a server and seeing my shares. Quote Link to comment
trurl Posted February 3 Share Posted February 3 You can go directly to the correct support thread for your docker by clicking its icon and selecting Support Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.