Server Version#: 1.43.3.10828
Player Version#: 4.160.0
<If providing server logs please do NOT turn on verbose logging, only debug logging should be enabled>
I am trying to migrate my server to a new machine (both linux), and a new external hard drive. I understand that I will have to map the libraries to the new drive when I’m done, but I’d like to keep all the metadata I’ve added. A lot of the artists in my music library, for example, don’t have readily-available metadata online, and they don’t show up in Artists unless I manually change the metadata. And I’d like to keep the playlists I’ve made.
I’m following the guide, and using rsync and --archive to copy server data from the source system. I’ve uninstalled and purged Plex on the new machine to start over several times now.
When launching plexmediaserver on the new machine, the server I’m trying to migrate does not show up at all.
I went out of town for a few days, and I needed to have my music, so I set up a new server mapping to the new library locations. Now - no matter how many times I remove and purge all of plex from the new machine - the new server is the only one showing up when I launch plex. And the new server does not have any of the metadata that I’ve copied over using the instructions in the guide.
No offense, but if you had followed the guide exactly it would be working. Can you please provide exact details of what YOU have performed and in what order?
preferences.xml contains info that uniquely identifies your server to plex.tv. If you copied it from the old server, then plex.tv cannot tell the difference between the two servers.
Stop Plex Media Server on both systems.
In Authorized Devices, remove the listing for the new server and also any outdated server entries.
On the new system, rename preferences.xml to preferences.xml.old (or just delete it).
Start Plex Media Server on the new system. It will be unclaimed.
@dbirch I will provide the exact details of what I have performed and in order. Although your first comment is a little harsh. I did follow the guide, but sometimes it’s vague. For example, it says “Copy Additional Server Settings From the Source System”, but there is no link to a more detailed guide with instructions such as @FordGuy61 provided me with.
I disabled emptying of trash.
I stopped PSM on the source system.
I downloaded and installed PSM on the destination system.
I made sure PSM was stopped and I was signed out of the account.
I copied the server data (/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/) using @ChuckPa 's instructions, as provided by @FordGuy61 :
Made the backup image
Copied the backup image to the new machine
Restored the backup image
Set permissions as instructed
Rebooted the system
Deleted Preferences.xml
Started PSM
Removed the listing for the new server in Authorized Devices.
My original server is still not showing up, even in unavailable or unclaimed state.
When logging in via the LAN IP the old server is visible, but since it is unavailable, I can’t see the libraries.
Now, when logging in on the old machine, the new server is visible and available, but the old server (originally hosted on the old machine) does not show up when in Settings. It shows up in the web app, but it says Not Authorized.
Edit: One additional item. Make sure each server has one active network interface. In the logs attached to the first post, it appears that system has active wired and wireless interfaces. Shutdown the wireless interface.
Let’s try working with the servers individually, starting with the old server. Once it is online and accessible, then move to the new server.
Stop Plex Media Server on both systems.
On the old server, rename preferences.xml to preferences.xml.save
On the old server, start Plex Media Server.
Do not start Plex Media Server on the new server.
Plex Media Server will create a new preferences.xml file on the old server and it will be unclaimed.
Point a private/incognito browser at the IP address of the old server: http://pms_ip_addr:32400/web. Do not use app.plex.tv. The server will not appear there since it is unclaimed.
You should be able to login, reach server settings, and claim the server.
If you cannot claim the old server, then stop Plex Media Server, manually retrieve the server log files (tar & compress the Logs directory), and post to the thread.
If you can successfully claim the old server:
Do not change any server settings on the old server (can change things later).
Verify you can see the libraries in Settings → Manage section → Libraries.
Repeat steps 1 to 4 above with the new server. Be sure to leave the old server shutdown.
Yeah, idk what’s going on, but when I get past “Got It!”, I’m only shown the temporary server I created a couple weeks ago as a short term solution along with its associated libraries.
The logs are getting stuck in processing, but maybe the file is too large. Do I need to include the whole Logs directory?
Once the new certificate is downloaded, point a browser window at the IP address of the server, see if you can login, etc.
Here’s the Plex Media Server.log entries from my server downloading the new certificate (no idea why it took 11 tries):
Aug 06, 2026 13:18:41.512 [134352545815352] DEBUG - CERT: Certificate did not exist, fetching a new one.
Aug 06, 2026 13:18:52.773 [134352545815352] DEBUG - CERT: Downloaded new cert from plex.tv; took 11 tries.
The new certificate:
$ ls -l *.p12
-rw------- 1 plex plex 4240 Aug 6 13:18 cert-v2.p12
$
There were no files in the entire Plex Data Folder with “certificate”, “cert”, or “.p12” in their filenames. I ran several searches when I didn’t see them manually. I re-copied the Plex Data Folder from the first server onto the new machine, and there was a cert file.
I moved the cert file out of the Plex Data Folder. I tried this both with the original Preferences.xml and I tried it after re-copying again and changing Preferences.xml to Preferences.xml.save
I’m still only directed to the new server, with the new “temporary” libraries. The old libraries don’t show up.
The old machine is a HP, and the new machine is a Dell. I’m not switching back and forth between the computers, but maybe this will explain what you’re seeing?
On the HP, I checked like you advised earlier in this thread, and I was able to log into the server that had the libraries I’m trying to recover. So I:
Made a copy of the Server Data on the HP as described here, which is linked to in the guide, using the instructions I was shown in this thread.
The Server Data I’m copying consists of the directory: /var/lib/plexmediaserver/Library
Stopped PSM on the HP, and logged out of the app, etc.
Installed PSM on the Dell.
Replaced the Server Data on the Dell with that from the HP.
I haven’t gotten out the HP since making the copy of the Server Data. So, I’m not switching back and forth between computers. I am using that same copy of the Server Data from the HP while attempting to recover the server on the Dell. Maybe that’s why you’re seeing both machines in the logs.