User Sharing Broken following Plex server migration from Windows to Ubuntu Server (Docker)

Server Version#: Version 1.23.3.4707

I have just migrated my plex server from Windows Server 2012 r2 to Ubuntu server running plex in a docker container (plex official docker image). I’m reusing the same hardware apart from using a new hard-drive for the ubuntu install and changing the drive boot order.
I’ve mostly followed the steps from the link below except for not yet completing the “Final Maintenance” section.

Everything works fine for me logged in as the main user from the web interface (plex.tv) or android plex app, libraries are all available and watched status is correct :slight_smile:

I thought I had got everything working but I’ve just discovered that none of the users I’ve shared libraries with can access my server. In fact even creating a new managed user and sharing a library doesn’t work. It just reports that the server is not accessible or no libraries have been shared.

Initially after the migration when I logged in to plex.tv my ubuntu server showed up as a new server along side the old windows server which was inaccessible. In order to resolve that I copied over the machine ids from the windows registry on the old server to the Preferences.xml file on the ubuntu server and now only a single server shows up.

Therefore my questions are:

  1. Is there is anything I can do to repair these existing shares?
    (I’m assuming there is some issue with identifying the server wherever the share configuration is stored which I may not be able to correct).

  2. If the existing shares can’t be repaired how to I go about removing all shares & deleting / re-creating my plex home to get things working again for new user / shares?

Option 1 is preferred by it’s not the end of the world to re-setup plex home / managed users and shares etc.

Thanks in advance for any assistance.
John

Managed to resolve this myself with the following info
https://www.reddit.com/r/PleX/comments/hqg506/new_computer_new_server/

I actually just migrated Plex server over from Windows to Unraid last night. You will need to copy over the old server’s unique identifiers if you want a seamless transition. Do you still have access to the old computer?

On Linux, the server identifiers are stored in a file called Preferences.xml in your PMS server directory. On Windows, they are stored in the registry: HKCU > SOFTWARE > Plex, Inc. > Plex Media Server.

You’ll want to copy over the MachineIdentifier, ProcessedMachineIdentifier, AnonymousMachineIdentifier, FriendlyName, PlexOnlineUsername, PlexOnlineToken, PlexOnlineMail, CertificateUUID, CertificateVersion, PubSubServer, and PubSubServerRegion keys.

If you moved to Linux, copy the above key values into the Preferences.xml file

If you don’t have access to the old computer anymore or you just want to start fresh, you can deauthorize your old server from your Plex web GUI (settings - authorized devices) and that will remove the old server from your account. On each client, you will have to go to the more servers tab and pin the new libraries in your new server.

The key point was that I had copied over the values MachineIdentifier, ProcessedMachineIdentifier, AnonymousMachineIdentifier, FriendlyName, PlexOnlineUsername & PlexOnlineMail to the Preferencex.xml but not all of values suggested above.
I found that PlexOnlineToken, PubSubServer were not the same so copied over the values from the old server and voila, everything is working again :slight_smile:

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