How to Regain Access to Your Plex Server When You’re Locked Out

Posted on

For probably the most half, the Plex Media Server expertise is fairly flawless. You put in the server software program, you level your Plex shoppers at it, and begin watching your motion pictures. However generally, you’ll go to log into your server solely to be mysteriously shut out. Let’s dig into some arcane settings and get you again to media nirvana.

The problem manifests itself in a number of alternative ways, however the widespread ingredient is that whenever you go to log into your web-based management panel to your Plex server both you may’t entry the management panel in any respect, and get an error like “You shouldn’t have permission to entry this server.” Or, if you happen to’ve ever dabbled with a number of servers or have eliminated and put in your Plex server on the identical machine with a special account, you’ll be unable to log in with the account you want to use.

The issue is that deep behind the scenes within the Home windows Registry (or in text-based configuration recordsdata on macOS and Linux), there’s a difficulty with how the login credentials to your account have been saved. By diving into the settings and erasing the saved tokens to your login, you may drive Plex to ask for them once more and get a recent error-free login.

Observe: Earlier than we proceed, to be clear, this course of shouldn’t be about resetting your password and getting a brand new one from the Plex firm (if you happen to want to achieve this, you are able to do that right here). As an alternative, that is about forcing your native Plex server to neglect beforehand entered info so you may reenter it and correctly authenticate with the central Plex login server.

How to Reset Your Plex Login Token

Whereas the essential info we want to take away (to set off the reset) is precisely the identical on each working system, that info is situated in a special place relying in your system. Let’st have a look first at how to reset your login token on Home windows, after which spotlight the place to discover the mandatory recordsdata on macOS and Linux (and different UNIX-derived) working techniques.

Earlier than performing any edits on any working system, cease your Plex Media Server first.

Home windows: Delete the Applicable Registry Entries

Open up the Registry Editor by typing “regedit” within the Begin Menu search field and run the appliance. Contained in the registry, navigate to ComputerHKEY_CURRENT_USERSoftwarePlex, Inc.Plex Media Server within the left-hand tree as seen under.

Find the next 4 entries:

  • PlexOnlineMail
  • PlexOnlineToken
  • PlexOnlineUsername
  • PlexOnlineHome (Just some customers can have this—in case you are not utilizing the Plex Dwelling managed customers function, then you’ll not have this entry.)

Proper-click on every of those entries and choose “Delete”.

These 4 entries correspond to your e mail deal with, a singular identifier provides by the central Plex server, your username, and your Plex Dwelling standing, respectively. Eradicating them will drive your Plex server to populate them once more the subsequent time you try to log into your server out of your browser.

macOS: Edit the Plist File

On macOS, the identical tokens are situated contained in the com.plexapp.plexmediaserver.plist file, which you’ll discover within the ~/Library/Preferences/ listing. The quickest manner to edit the file is to open FInder, click on Go > Go to Folder within the menu bar, and paste ~/Library/Preferences/ into the field that seems. From there, scroll down till you see the com.plexapp.plexmediaserver.plist file. Be certain to cease your Plex server earlier than performing the next edit.

Open the file with a textual content editor and take away the next entries:

<key>PlexOnlineHome</key>
<true/>

<key>PlexOnlineMail</key>
<string>you@youremail.com</string>

<key>PlexOnlineToken</key>
<string>XXXXXXXXXXXXXXXXXXXXX</string>

<key>PlexOnlineUsername</key>
<string>YourUserName</string>

You could not have an entry for “PlexOnlineHome” if you happen to don’t use the Plex Dwelling function, however it’s best to have an entry for the remaining three tokens. After modifying and saving the file, begin your Plex Media Server once more and log into your server out of your browser to reauthenticate your self.

Linux: Edit the Preferences.xml File

In Linux, you simply want to make a bit of edit to a text-based configuration file—on this case, Plex’s Preferences.xml . The final location for the file on Linux is $PLEX_HOME/Library/Software Help/Plex Media Server/ , however it’s situated in /var/lib/plexmediaserver/Library/Software Help/Plex Media Server/  for Debian, Fedora, Ubuntu, and CentOS installs. If in case you have a UNIX-derived OS like FreeBSD or a NAS machine, take a look at the complete location checklist right here.

Open the Preferences.xml file within the textual content editor of your alternative. Find and take away the next entries:

PlexOnlineHome="1"
PlexOnlineMail="you@youremail.com"
PlexOnlineToken="XXXXXXXXXXXXXXXXXXXXX"
PlexOnlineUsername="YourUserName"

Save the file after which begin your Plex Media Server once more. Log into your server out of your net browser together with your Plex credentials and you ought to be up and operating once more.


That’s all there’s to it. As irritating because the phantom login downside might be, as quickly as you find the right file and make a small edit then you definitely’re again in enterprise and in a position to login together with your Plex credentials.

قالب وردپرس

Leave a Reply