Plex Not Authorized - same network

ezflip04

Cadet
Joined
Jun 24, 2022
Messages
2
I am running Truenas 13.0. For unimportant reasons, I deleted Plex from my server and tried to reinstall. Now I get Not Authorized when I try to set it back up. I have been through all the other Plex Not Authorized threads that I can find and most, if not all, come back to the server being on a different network than the PC being used for set up. Mine was that way as well, so I moved my PC to make sure it was on the same network and still no dice. I have also looked into editing the preferences.xml file, but I cannot find it on my system, nor would I know how to open it to edit anyway (Im a noob). I have tried DHCP, I have tried a static IP, I have uninstalled and reinstalled the plex plug in, I have restarted the entire server, I have changed my plex password and logged out of all devices, I have deleted all authorized devices from Plex, I get no where. Any other things I can try?
 

ezflip04

Cadet
Joined
Jun 24, 2022
Messages
2
I finally found a fix from a comment on Youtube. Even though I was already on the same network, this worked.
For credit, the user is @brettmiles2432

To fix this:

Enable SSH in the jail
Open jail shell
service sshd onestart (I don't intend to keep SSH enabled so I used onestart instead of start)

Create a user in the jail
adduser
Choose a username/password and accept all defaults

Connect to the Media Server by following the SSH tunnel guide at the link below
Tunnel steps taken from the 'Opening the Plex Web App on a Device Other than the Server Itself' section https://support.plex.tv/articles/200288666-opening-plex-web-app/

If you have SSH enabled on your OS ssh <username created above>@<IP of server> -L 8888:localhost:32400

Then browse to http://localhost:8888/web and you should be able to add your local Plex Media Server

I also deleted the user I created since it's not needed any more
rmuser <username>
Yes to remove the user's home directory

Stop the ssshd service in the jail
service sshd stop
 
Top