Migrating from WD MyCloud PR4100 to Terramaster F5-422

I’m in the process of migrating my server from a Western Digital MyCloud PR4100, which died in a lightning strike, to a Terramaster F5-422.

All of my data is intact, including all the media and the Plex Media Server folder containing the database and everything else.

I’m familiar with the process of getting my libraries migrated by turning off the trash option, adding the new location etc…

…but I’m currently struggling to understand precisely what data I need to bring across (successfully) from the WD ‘Plex Media Server’ over to the Terramaster equivalent to have the server start up successfully, and pick up from precisely where I left off, including Date Added sorting etc.

Can anyone offer any pointers, please?

See Move an Install to Another System.

Read for the details, but basically:

  1. Install PMS on Terramaster.
  2. Stop PMS.
  3. Replace Plex Data Folder with info from the WD and verify/set permissions.
  4. Reboot & start PMS
  5. Add new file locations to the libraries
  6. Scan. You’ll have duplicates for your media, one of which does not exist (the WD location).
  7. Empty trash to remove duplicates
  8. Remove old WD paths from libraries.
1 Like

Minus the permissions step, and rebooting, that’s basically what I’ve been doing, while having Plex stopped on both devices. However, when I go to start Plex on the TM it has been giving me an incredibly insightful ‘Operation Failed’ message.

I’ll try again with the permissions verification and reboot, but is there any data in the WD data folder that would cause the TM to blow up and needs to be bypassed?

As far as I know, a Plex Data Folder is a Plex Data Folder.

The only difference I’m aware of is the “additional settings” that is stored in Windows registry vs preferences.xml on Linux vs a .plist on a Mac.

Regarding Plex Data Folder ownership & permissions, take a look at the Linux Tip: Migration from another OS to Linux.

Adjust as needed for running on a Terramaster (if Plex runs under a different username and for the different data folder location).

To set ownership:
# chown -R plex:plex "/var/lib/plexmediaserver"

To set permissions:

# find /var/lib/plexmediaserver -type d -exec chmod 755 {} \;
# find /var/lib/plexmediaserver -type f -exec chmod 644 {} \;
1 Like

Thank you for your help, I’m going to try that now, as soon as the 100GB data folder finishes transferring again…

So, after a very long wait for the data to finish transferring, I went to start up Plex and got the dreaded Operation Failed message :person_facepalming:t2:

But, I then went and started individually removing folders from the data folder, and finally got a successful startup when I removed the Cache folder.

To complicate matters, Plex then asked for an update, which I applied, and while it was restarting a sneaked the old Cache folder back in there (removing the auto-generated one) and this time it started working.

Now I’m just waiting for the library scans to complete so that the media starts working again, and everything should be good :+1:t2:

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