Server migration not working

Some things to check:

Copying the Plex Data Folder

To copy the Plex Data Folder from the old to new system, see the Plex Linux FAQ: Backup, Restore, or Clone your PMS installation.

tar preserves file/folder ownership and permissions. If you wish to make sure they are correct (from Migration from another OS to Linux):

  • Change the ownership of the files to the Plex user on the Linux host.
# chown -R plex:plex "/var/lib/plexmediaserver"
  • Make certain Linux file permissions are set correctly
# find /var/lib/plexmediaserver -type d -exec chmod 755 {} \;
# find /var/lib/plexmediaserver -type f -exec chmod 644 {} \;
# chmod +x /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/EasyAudioEncoder-8f4ca5ead7783c54a4930420-linux-x86_64/EasyAudioEncoder/EasyAudioEncoder

Preferences.xml

Did you copy preferences.xml from the old server?

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.

  1. Stop Plex Media Server on both systems.
  2. In Authorized Devices, remove the listing for the new server and also any outdated server entries.
  3. On the new system, rename preferences.xml to preferences.xml.old (or just delete it).
  4. Start Plex Media Server on the new system. It will be unclaimed.
  5. Claim Plex Media Server on the new system. If remote, use the User Credential Reset Utility.
  6. Ensure the new server is online and working OK.
  7. Start Plex Media Server on the old server.

Remote Access

To access both servers remotely, they must use different remote access ports.

If using UPnP, it should handle the port assignments.

If using manual port forwarding, then the router must have separate port forward statements for each server with differing public port numbers.

The public port in the port forward must match the public port in Plex Settings → Remote Access.