Not authorized on Ubuntu web interface

Server Version#:
Player Version#:4.125.1
I have been having issues with my new intel Nuc that I had installed Plex Media Server on it and now it says my server is Not Authorized. I have already reinstalled Plex Media Server and that worked until I reboot the unit. I was just using Plex to play music locally present on the Nuc which had Ubuntu 22.04 LTS on it. I have cleared my server on the authorized devices tab but they still do not work.
-Any help would be great thanks.

Most common issues are:

  1. DNS / Connectivity – can’t confirm you’re the admin
  2. You’re on a different subnet and it’s not claimed.

This will help reclaim it… run from terminal window., plex stopped, as root.

See the README for more details

I ran the ./UserCredentailReset.sh command and got the error “Unrecognized host type. Cannot continue.” I ran it from the folder in the downloads folder of Ubuntu 22.04LTS. I am not sure it was ran in the right folder. I did install plex from the Ubuntu software center.
-Any help would be great thanks.

Ubuntu is very predictable where they put things.
Plex from their store is a “Snap” package and Snap packages go as I show below.

Look at these pathnames.

  # when all else fails,  look for SNAP (low usage)
  elif [ -f "/snap/plexmediaserver/current/Plex Media Server" ] && \
       [ -f "/var/snap/plexmediaserver/Library/Application Support/Plex Media Server/Preferences.xml" ]; then

      AppSuppDir="/var/snap/plexmediaserver/Library/Application Support"
      Preferences="/var/snap/plexmediaserver/Library/Application Support/Plex Media Server/Preferences.xml"
      HostType="Snap (Linux)"
      return 0
  fi

Can you check if these exist ?

If they exist, please make a tar.gz of the “Logs” directory and attach it.

I just got it to work using the special usage in the Github site. Any way this could be fixed. Everything is on the subnet in my home. I am assuming it is because I have issues with Internet connectivity on my Nuc the first 15 minutes or so on bootup. I do not know what could be wrong with DNS.
-Thanks for the help

That was going to be my next check – DNS.

We’ve found, when there are ISP-related problems, set DNS to google.
Not entirely sure why it’s true but it works

Which path did you use? (You’re referring to the -p option ?
I support those tools in my free time. (I don’t have every possible config here at home)

Yeah I just change this line to where I found that preferences.xml file.

/mnt/docker/Plex/Library/Application Support/Plex Media Server/Preferences.xml"

So for DNS just change Ubuntu or the Modem?

Your logs will tell you specifically what’s happening.

If it can’t resolve the host plex.tv then either the DNS from your host isn’t getting to / forwarded by the modem/router – OR – the ISP configuration is flaky.

In these situations, we usually bypass the ISP entirely and set the host (Ubuntu) DNS to 8.8.8.8 & 8.8.4.4 (or some other public DNS)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.