Plex Media Server becomes unavailable after claim

Server Version#: 1.41.9.9961
Player Version#: NA

I am currently attempting to migrate my Plex Media Server from an aging Linux Mint machine to an Ubuntu VM running on my TrueNas system. I have a repeatable error that I am trying to debug.

I have tgz’ed the old ‘Plex Media Server’ directory, preserving permissions etc and copied it to the new VM,
I did a fresh install of the plexmediaserver
I stopped the plexmediaserver service
I then moved the fresh install version of ‘Plex Media Server’ to a .bak
I then un tgz’ed the tgz into a fresh ‘Plex Media Server’ directory
I blew away all the claim information in the Preferences.xml to force a reclaim
I then restarted the plexmediaserver service
I then logged into the IP:32400/web
I then fixed all of the Media links to their new mount points by adding the new ones, then eventually removing the old invalid library lines.

All of this went pretty well… my watch history and metadata seems to be intact, but the server is still unclaimed, which means no remote access.

I then went to Settings General and claimed the server.
Note: I did give the server a new friendly name rather than trying to reuse the one from the old server (however, I have tried it both ways, and both end the same way)

As soon as I did so, I was still able to see the UI for a minute or two, but on trying to navigate around, it went to a ERR_EMPTY_RESPONSE page in Chrome.

systemctl status plexmediaserver returns that it is running, no issues, no problems in evidence
journalctl -u plexmediaserver -e shows no issues that are obvious… it just ends off with “Started Plex Media Server”

So I am kinda at the end of my rope at the moment… I don’t want to lose all my user metadata, though I did rescan all of my media for its meta, and that seemed to work fine on the fresh install (claim even worked there)… so it seems to be a mix of restoring from the backed up version, and claiming that is causing it to fall apart.

Hoping someone can help on this one, thanks in advance!

Backup, Restore, or Clone your PMS installation

Do not copy the preferences.xml from the existing server.

Even though you removed the claiming information, it still has the information that uniquely identifies the server to Plex (MachineID, etc.).

On the new server:
Stop PMS.
Rename preferences.xml to preferences.xml.old
Start PMS.

Plex will create a new preferences.xml.

Then try and claim the server.

You can also use the User Credential Reset utility to claim the server.

Thanks FordGuy! I’ll give it a shot.

@FordGuy61 - Amazing advice sir, I think its all up and running now… just had to do some resharing, and I think its all patched back up.

You are awesome, thanks very much!

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