Migrating Plex from old hardware and software Synology (6.2) system to new (7.1)

Hello,

I require guidance to migrate Plex Media Server from an older synology to newer model.

Current Plex Media Server Version#: 1.18.5.2309

Migrating from Synology DS1512+ running DSM 6.2.4-25556 Update 6 (INTEL Atom D2700).

Migrating to Synology DS3622xs+ running DSM 7.1.1-42962 Update 2 (INTEL Xeon D-1531)

What version of Plex should I be installing on the new model?

What is the process to move the plex configuration, metadata, media, etc so the system is restored on the new Synology identically?

Thanks,

Most important question:

Will you be moving the drives from the old NAS to the new NAS ?

In all cases, UNINSTALL the DSM 6 Plex app before you start any migration.
(there is a conflict in the DSM Package Center which is easily avoided by uninstalling)

Thanks for your help with this.

No, we’ve purchased new drives for the DS3622xs+ and are starting on a clean system, so we’re looking to migrate all data across and reinstall plex and import the configuration from old to new.

What are the steps considering our system upgrade approach?

Hi @ChuckPa, Merry Christmas!

Now that Santa has been, I was wondering if you can provide some guidance around how to complete the migration.

When I try to install plex 1.30 I see the following error.

Should I be downgrading Synology DSM?

The version in package center is older than what’s available on the Plex website, and it shows as Beta.

Which version should I be installing on DSM 7.1.1-42962 Update 2?

Thanks!

You downloaded the DSM 6 version of Plex.

Download the Synology (DSM 7), Intel 64-bit version of Plex Media Server.

https://www.plex.tv/media-server-downloads/#plex-media-server

Screenshot (1587)

  1. You cannot downgrade DSM. You have DSM 7 now. This is OK too.

  2. Never use PMS 1.21.0.3744 from the Synology App Store. It does not work.

  3. You want this file: (There is a bug in 1.30.x right now)

Here’s how it works:

  1. All of your PMS server data is still in “Plex/Library/Application Support/Plex Media Server”

  2. You are going to Manual Install the version here

  3. It will look at your “Plex” shared folder and complain of error that it doesn’t have permission. This is good.

  4. The rest of the instructions here here… With Pictures :sunglasses:

Remember please –

**At the end of any attempt to install, I tell you the information specific to you and your machine. Almost every message is custom per the user.

IF you have a lot of metadata – IT WILL TAKE TIME. Don’t give up on it.

Thanks so much FordGuy for pointing that out! Plex is now up and running!!

In terms of migrating content and metadata from Synology DSM 6 running plex to my new Synology, what is the process?

Thanks Chuck! I’ll uninstall 1.30 and install the version from your link and follow the rest of the instructions.

Will let you know how I go. Thanks!!!

@wmerretz

You’ll know everything is complete two ways:

  1. There will be no “Library/Application Support/ Plex Media Server” structure in the “Plex” shared folder. It will all have been moved to “PlexMediaServer/AppData/Plex Media Server”

  2. The file “Plex/Migration.log” will detail each step of the process and finish with “Cleaning /volume1/Plex”

  3. Any media you had placed in the Plex shared folder will remain there.
    The Plex shared folder is now free for you to use as you deem appropriate.

After migration:

  1. The user “Plex” is no longer needed.

  2. You will now need to grant "System Internal User PlexMediaServer permission to read your files (we were forced to change the name)

@ChuckPa

After reading through some of the instructions, they seem to be targeted to someone who is upgrading their Synology from v6 to v7 on the same Synology unit.

However in my situation, I am unable to upgrade to version 7 on my current synology as it’s hardware (processor) does not support v7, only v6.

My new synology supports v7. Do I copy the Plex folders across to the new synology and then upgrade there? If you can briefly explain the process please?

I’m guessing most others would be upgrading in place on the same synology unit…

I remember you’re upgrading to a new NAS.

You have two options based on how the installer works:

  1. Take your existing volume with you (all disks) to the new machine and then grow it bigger there , Let it be upgraded to DSM 7; “a Synology volume migration”
    (DSM 7gets reinstalled on the DSM 6-based volume without losing data)

-or-

  1. COPY your data from the existing “Plex” shared folder to a temporary “Plex” shared folder you create on the new DSM 7 machine.

Please tell me how you intend to use each machine, what stays and what moves, and I’ll write customized instructions for you.

Thanks very much @ChuckPa.

I have purchased new disks for the new Synology running v7 DSM. The disks running in my old Synology v6 DSM were no longer supported, and required Synology branded disks to be used instead.

Option 2 would be the route I’d need to take.

I’d like to bring across my entire plex environment from old to new Synology (made up of movies, home movies, music and documentaries - not using plugins). I have all my content in different folders in one large Shared Folder called “Data”. I am using Hyper backup to transfer all the content from the old to new synology into a Shared Folder also called “Data” on the new Synology. However, the volume number is changing, from Volume1\data, to Volume2\Data on the new Synology.

Plex manual install has been installed on Volume2.

I’m unsure how to bring across all the Plex configuration and media title covers and any meta data to ensure the title cover artwork/descriptions matches the content. A lot of work has gone in to making corrections over the years.

I’ve created a “Plex” shared folder on the new Synology and copied the data across from old to new.

Custom instructions would be great, thanks!

You don’t need “Synology Branded” disks.

The only thing you should do is see if they’re on the compatibility list.

I’m currently using WD Red 5400 RPM 4TB drives in DSM 7 – which it claims aren’t compatible – BULL.. they are every bit as compatible now as they were on DSM 6

If you’re going to move PMS to the new NAS, you’ll need to make it look like PMS was previously running on it first. We will copy the existing PMS installation from DSM 6 and to a new “Plex” shared folder you create on DSM 7 so the installation scripting THINKS it was a native Plex install and migrates it normally.

ON THE DSM 7 machine.

  1. If you already installed PMS on the new machine, uninstall it with the ERASE option

  2. On both NAS boxes -
    – Control Panel
    – File Services
    – NFS
    – Enable NFS (it’s faster than SMB with native Linux transfers)

  3. FileStation → Plex shared folder
    – Create a new temporary folder named anything you want
    – ( we will use this to transfer PMS )

  4. FileStation → Tools - Mount Remote Folder → NFS

  • Folder: IP.Addr.of.OLD:/volume1/Plex
  • Protocol: v3
  • Mount to: Browse to /volume1/Plex/Your_Temp_folder_name
  • and click MOUNT
  1. Now, after it mounts, in FileStation,
  • Verify you can see: Plex/your_temp_folder/Library/Application Support/Plex Media Server
  • Highlight “Library” → Right-click “Copy to” → “Plex” shared folder
  • “Overwrite” option. (there won’t be any but we also ensure we get all the metadata)
  • Let DSM copy all the Plex metadata from the old NAS to the new NAS.
    (it will take time. DSM is slow at this)

Please let me know when you’re at this point and have a copy of the original Plex share on the new DSM 7’s Plex share

1 Like

Thanks @ChuckPa

Yes, Synology is clearly trying to increase its sales. Having looked up the model (3622xs+) on the hardware compatibility site, Synology only drives show at a capacity of 12tb.

I’ve now copied across the Plex content to the “Plex” shared folder. What’s next?

This is where the details come into play.

This happens because, unless you’ve installed the DSM 7 package before, there isn’t any System Internal User named PlexMediaServer to grant permission to the Plex shared folder.

In DSM 6, the installer had full admin privileges and always could do whatever was needed. In DSM 7, Synology has removed ALL privileges.

What happens now is:

  1. Plex, like all apps, has been changed from “User” type to a new “Application” type. DSM calls this “System Internal User”.

  2. The name was changed from “Plex” → “PlexMediaServere” (mandated by DSM)

  3. The “Plex” shared folder had abandoned. A new shared folder “PlexMediaServer”, with new structure, is now created by DSM (the installer doesn’t have any control). DSM maintains all control over the shared folder. If shared folder PlexMediaServer gets the permissions damaged, the user must fix it (which means scream to Chuck for help.. haha)

The process is

  1. First attempt to install the DSM 7 package should fail during PRE-INSTALL checking . This is expected. Don’t ignore it.

https://global.discourse-cdn.com/plex/optimized/4X/f/4/d/f4dd79d791b35a4d7cb8e97a5761de580158574f_2_690x521.png

  1. Abandon the first installation attempt and now set the permissions such that the silently created System Internal User “PlexMediaServer” has Full Control of the entire Plex shared folder. ( This sounds scary but easy to do. Follow it here )

  2. Now follow the steps here.

IF anything deviates from what is documented or what you expect, Grab a screenshot and post it here.

I’ll be around a while tonight so we can get this started.

Thanks for all the further instructions @ChuckPa.

After setting the permission and installing 1.29 I see the following message.

image

Nothing appeared which showed the migration/upgrade process of the metadata within the Plex shared folder. I didn’t have a migration log file in the Plex share either.

I opened Plex after a few minutes and it appeared to be running through the wizard of a new Plex Media Server setup process.

Any idea why it didn’t detect the Plex shared folder and run through the upgrade?

It can’t see inside the Plex shared folder

There are a lot of steps to this. You can’t miss any / short circuit it.

Go here:

Starting with Step 3 where you give PlexMediaServer Full Control of the Plex shared folder

Be certain to check the box “Apply to this folder, sub-folders and files” or the migration will fail with “System error 0”.

This will take time to complete.

AFTER the permissions have been set.
WITH all your metadata still in the Plex shared folder
UNINSTALL the DSM 7 app with the ERASE option

This removes the empty PMS install which is there now.
The installer won’t migrate if it sees anything in the PlexMediaServer shared folder.

With it uninstalled + erased - Install again.

This time, It will automatically start migrating.

It can’t print any messages (DSM limitation).

All you will see is “Installing”.

  1. Don’t interrupt it
  2. Don’t refresh or migrate away from the browser page until it’s done.

If you wish to check on its progress.

  1. Open a new tab to the Syno
  2. Open the Plex shared folder
  3. After about 3 minutes, a file “Migration.log” will appear
  4. This logs the installation & migration progress.
  5. When it’s complete, you’ll see it “Cleaning /volume1/Plex”

Now you’re good and your server should be there and ready for you

Hi @ChuckPa

Thanks for all the instructions. So far so good!

I’ve upgraded the Plex folder and am restoring the content, and all seems to be working well. I’ll let you know if we have any further hurdles.

One thing I noticed is that there is a server upgrade available, and another option to upgrade libraries. Should I complete both or one of these tasks?

Thanks Chuck, you’ve been extremely helpful to get my system migrated!

Use “Manual Install” of the 1.29.2 SPK file I gave you.

I gave that because there are TrueHD/Dolby audio regressions in 1.30.x which will likely be fixed in 1.30.3 or later.

Let it upgrade the libraries (the agents). This won’t take too long.

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