Thursday, July 23, 2015

Plex Media Server "You do not have permission to access this server" Fix Ubuntu

So I recently changed my password as suggested by Plex after their forums were hacked.  While I was able to successfully change it, when I went to go watch something on my Roku I encountered the following message:

"You do not have permission to access this server"

Well obviously that is annoying, because even with the correct password I was still encountering this message.  Well apparently in order to fix it you have to edit a preferences.xml file on the server.  As I am running my Plex server on a Ubuntu machine the steps below are how I was able to resolve the issue.

First go ahead SSH to your server and stop the Plex service:

sudo service plexmediaserver stop

Next navigate to the preferences.xml file which should be located here:

cd /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/

It's best to make a backup of the file just incase something goes haywire.

sudo cp preferences.xml.backup

You'll then want to edit the preferences.xml file with your preferred editor:

sudo nano preferences.xml

Now we want to look for the following and delete it:


Once this segment is deleted save the changes.  Now it's time to start your Plex server again:

sudo service plexmediaserver start

Once it is finished loading you should be able to connect to your Plex Media Server through your Roku device.

No comments:

Post a Comment