I just set up Dietpi on my Raspberry pi 3 B and I wanted to set up Plex. But, when I try to open :32400/web, I got an error: “Not Authorized. You do not have access to this server”.
What I have done so far:
Multiple times stop/start/restart plexmediaserver
Reboot server
Uninstall and fresh install plexmediaserver
Following this article, but when I open Preferences.xml, there are only 5 key/value pairs and none of them is what is shown in the article (found only one Preferences.xml file on my server).
I know that many users have this problem, but some of them mentioned that it works for a while, but I cant get Plex running even from fresh install. Maybe someone has any tips on what I could do next?
In every tutorial, everybody, after install, just goes to ‘IP:32400/web’, logs in and everything works.
For example, other programms (Transmission, LXDE) works just like that.
I tried Jellyfin, but it is very slow, so I wanted to try something else
Hm is tested on my RPi 4 and 3b+. Works without problems.
Did you used a selfhostes plex server it in the past? Maybe you have to remove your old server from you plex.tv account?
I haven`t used Plex before. And in my Plex profile there is no servers added. What I gave tried is to login with two different methods, two different emails (google, email), maybe that login saves somewhere?
Other services didn’t ask for email registrations (Jellyfin, Transmission, LXDE)
Hey, @Joulinar !
Just did a fresh Dietpi install, first thing I did was install Plex. I open IP:32400/web, try to sign in (I have 2 registered accounts in Plex - one email, one Google).
Still, when I try to get in, I got a Not Authorized message.
Maybe you have something in mind that I could try (anything else that I haven’t I mentioned)
Open Claim | Plex from your PC browser. You will get a Claim Code from Plex associated with your Plex account. This code is valid for 5 minutes
SSH into your Pi, run: curl -X POST http://127.0.0.1:32400/myplex/claim?token=PASTE_TOKEN_HERE.
It will be something like
curl -X POST http://127.0.0.1:32400/myplex/claim?token=claim-syVaZoKPyn3V-TAUzt7Z666
The claim process could take 10-20 seconds. Once done, you will get output like: ‘<MyPlex authToken=“xxxxxxxxxxxxx” username=“xxxxxxxxxxxxx” mappingState=“mapped”…’
@Jappe Thanks for the suggestion, I did this and I got the response, but I still can’t get in from IP:32400/web, same Not Authorized error. What I found in my Plex account, that finally I got my server showing up under Authorized devices:
Before under Preferences.xml, I didn’t have anything about my login info, now I checked and there is my login info (maybe from that “claim” task?!). I switched my Raspberry Pi to Wifi and thought, let’s try again and it works.
I hope that everything will still work after IP change, but so far so good.