Problem with Remote Access After Server Migration

Server Version#: 1.20.2.3370
Player Version#: 4.34.4
Ubuntu 20.04

So i have been using plex media server in a XCP-NG VM on a NUC and never had an issue with the remote access. I’ve recently Migrated that to a bare metal server. ( so I could do gpu transcoding ) After doing a fresh install of Ubuntu and PMS, I copied the ./Library folder from the VM to the new server. Everything seems to work great but now i get the error " Not available outside your network" .
I have 32400 port forwarded in my router… and used MAC assigned DHCP for IP addressing.
After the move I adjusted the DHCP for the MAC of the new server and the IP is fine.
I’ve tried removing the port forward on the router, disabling it on the server and rebooting.
Didnt work. I switched the MAC back to the old VM and booted up and remote access is fine.
I feel I’m missing something on the new server. but UFW is disabled on both machines.

Things i have/information
Port forwarded the IP verified with open port checker.
Reserved same IP in DHCP(in router settings)
My router: Edge Router X

To remove the DHCP element, how about assigning a static IP to the NUC , which I presume is on the main LAN segment with the gateway, and letting it automatically set a port?

sorry for the confusion, I’ll try and clarify.
Old server was a NUC running XCP-NG with a VM of Ubuntu and PMS.
the router used the VM MAC address to assign the IP, and I have the 32400 port forwarded in the router to that IP, and manually set in PMS. That setup worked fine, ( and still does apparently )
After a fresh install of Ubuntu and PMS on a bare metal server, and copy the ./Library folder to the new server from the VM… and changing the MAC assignment in the router to the new server so it would get the same IP as the VM had… the Remote access fails on the new server.
Not sure what is different between the two.
Again, If I shut down the new server, roll the MAC assignment in the router back to the VM and spin it up… the VM has remote access just fine.
I feel like I’m missing something silly on the new server, but the only things I can think of is UFW ( which is disabled on both ) or IPTABLES and both servers dont have any entries.
Both are 20.04 Ubuntu with the same PMS version. Also both the Bare metal server and the NUC which runs the VM are connected to the router, no vlans or managed switches or anything.

If you take a literal copy of the “Library” directory and all below it, including “Preferences.xml”, you’re cloning the server.

Are you certain your administering the new server or is Plex/Web masking the one server?

Yes that is correct. That’s why I’m trying to do is close the server, off the VM to bare metal.
The reason is so I can hardware transcode with my nvidia card. Apparently, even though my VM server bios supports GPU passthough, and the VM is set for it… I guess nvidia drivers dont support it. I only have one server running at a time, so it’s not a conflict there. Is there any other option or setting with Ubuntu or PMS that would cause a remote access issue? If the VM version works fine, but the bare metal clone doesnt… I’m not sure where to look.

After watching the console on the new server during the remote access emable… I see this error.

HTTP error requesting GET https://xxxxxxx.plex.direct:32400/identity (60, SSL peer certificate or SSH remote key was not OK) (SSL certificate problem: unable to get local issuer certificate)
( edited out IP above )

If I disable secure connections, the remote access stays enabled.
How do I refresh/update the SSH remote key or SSL certificate on the new server?

Do you have a local certificate in play there?

Judging by the output, you do.
Also, it appears private domain plex.direct isn’t allowed as an exception in the router’s DNS rebinding protection rules.

The other thing which can get in trouble here – TLS 1.0 (now obsolete / discontinued). It must be updated to 1.2 or better

Where is the local certificate stored?
Something I can copy over from the VM server?
I dont remember installing any type of certificate on the old VM server.

May I have the logs please?

  1. Restart PMS
  2. Wait about a minute
  3. Download the Logs ZIP or make a tar.gz of the Logs directory
  4. Please attach.

We’ve been having trouble with some accounts which got updated certificates during the partial outage.

It’s possible yours is one of them .

The operations team is resetting them by hand.

Ok here are the logs as requested.
Plex Media Server Logs_2020-09-30_23-35-07.zip (3.9 MB)

You do have the problem. I’m notifying Operations.

Please make a note;

When you have Settings access again to turn VERBOSE — OFF (it’s off by default)
DEBUG is more than enough. VERBOSE logs every click & packet – It’s TOO much

Sorry, I knew better… but forgot. sorry.
Thank you for your quick replies and all your assistance.
I hope this issue can be resolved soon.
You have been a great help. Thank you.

I’ve notified them and waiting now for them to clear the existing certificate so your server will pull a fresh & valid one when it next restarts.

Ok thank you again, Will they notify me once it’s complete so I can restart the server?

They will probably notify me first.

I can @ notify you when I’m notified. You’ll get the email if you have it enabled.

Hello Moderator, I am having the exact same issue, in Windows though. This seems to be the only thread I can find that exemplifies my issues.

Since I am asking for my username to have the plex direct ssl cert to be reconfigured by hand i didnt think it mattered what OS I am using as this is not an OS problem but an inhouse plex problem

The server works just fine with secure connections turned off, but with secure turned on, since sept 18th, 2020 they no longer work.

I have tried a clean install of windows, a different computer with a clean install, reboot computers, reboot routers, port forwarding checked and rechecked, i have been a plex lifetimer for quite a few years now, and im A+, C+ and N+ certified. I do not reach out unless there is an actual issue.

My issues started on the 18th Sept 2020, when I did a movie library update from my phone and it removed the “plex movie” agent from settings alltogether. Upon that happening all movies being imported defaulted to Dansk on one agent, or the other agent was some Indian something rather. Since I use a virtual hard drive, or a .img, .vhdx file as the local appdata folder its as easy as killing the plex service and swapping one virtual hard drive for a backup.

Since that moment, I have been unable to get this install, or even any install on any device period whatsoever to work (outside the network of course)

This obviously has something to do with the Plex Direct Certificate issues, whereby on or around the 18th Sept 2020 you guys stated that some users had their Plex Direct SSL Certs wiped/deleted/misconfigured and had to have them redone by hand.

Well I am one of these people.

Hi just wanted to follow up…
Have they updated the cert yet?

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