Synology FAQ - Questions, Answers, and How-To's

FAQ 27 - Migrating an existing PMS from DSM 6 to DSM 7


NOTICE: DSM 5 → [ DSM 6 ] → DSM 7 First Step

If you first started using Plex with DSM 5, then upgraded to DSM 6, because of a change internal to DSM 6, you will need to perform this step before you start the DSM 7 upgrade.

If you never used DSM 5, or deleted the Plex share sometime during DSM 6, you can skip this step and continue with the normal upgrade steps

  1. Rename the existing Plex shared folder to Plex.old
  2. Create a new Plex shared folder
  3. Move the entire contents of Plex.oldPlex
    What you’ve done creates a shared folder which DSM 6 didn’t upgrade.
    DSM 5 didn’t support “Full Control” mode. DSM 6 introduced this.
    With DSM 7, we need Full Control mode for the Plex share due to the added restrictions of DSM 7.

Upgrading PMS from DSM 6 → DSM 7

DSM 7 no longer allows us to go find the metadata directory and use it across volumes before starting PMS (This is the lack of “root” privilege blocking). As such we require the following two conditions are met we will attempt to automatically migrate you;

  1. You have an existing DSM 6-created PMS installation and PMS is installed on the SAME STORAGE VOLUME as the “Plex” shared folder (this is critical)

  2. You have an existing DSM 6-created installation and PMS is uninstalled and reinstalled on the same volume as the existing Plex share.

If you do not meet either of the above conditions we will warn you and advise you.

Scenario 1: Plex Media Server is NOT installed on the same volume as Plex share

  1. If PMS is installed on a volume other than the Plex share’s volume, you will be notified to make your system comply with the new requirements.

  1. At this point, Uninstall the failed package

  1. When re-installing, instruct Package Center to install PMS on the same storage volume as the Plex share. (Check this in Control Panel - Shared Folders if uncertain).

  2. You can now proceed to the next section of instructions in Scenario 2.

Scenario 2: Plex Media Server installed on the same volume as the Plex share

  1. If PMS is installed on the same volume as the Plex share we will detect this and attempt to automatically migrate your Plex Media Server library/preferences to the new DSM7 location.

  2. Migration Bootstrap (This failure is expected during during first installation)

When you first install Plex, because the username and permissions mechanism have changed in DSM 7 to PlexMediaServer, DSM won’t have the proper privileges set. You will need to assign them.

  1. During install / upgrade, it will fail and give you this message:

  1. Change the shared folder permissions using
    a. Open Control Panel
    b. Shared Folders
    c. EDIT the Plex share
    d. Permissions tab
    e. Click Customize
    f. Check all Administration
    g. Check all Read
    h. Check all Write
    i. Click Done
    j. Check ‘Apply to this folder, sub-folders, and files’.
    j. Click Save (Applies shared folder permission changes)
    k. – Now wait until all changes are applied
    l. Click Save again to return to the Shared Folders app.

NOTE: “PlexMediaServer” must have Full Control. Repeat the steps above until DSM shows Full Control for user PlexMediaServer.

  1. Propagate this change throughout the shared folder
    a. Check Apply to this folder, sub-folders, and files (Important)
    b. Click OK
    c. Wait for permissions to be applied to all the files. (2 minutes/1000 items)

Here is a screen capture with everything open and all boxes checked.

When DSM returns to the Shared Folders app, Phase 1 is complete.

You may now continue with Stage 2

Stage 2

  1. Uninstall the failed PMS package..and Install again.
    a. If you attempted Repair, and PMS shows installed, use Remove all data option.

  1. PMS will again check all permissions are in order.

  2. If they are not. you will be instructed to contact us here in the forums for additional support. Otherwise, you will see Installing while all permissions are changed, symbolic links are checked, and your data moved to the new storage location.

  3. If the installer finds no issues with ownership or permissions, it will begin actual migration. The protracted “Installing” spinner is the actual migration in progress.

  1. Migration is not instantaneous. AFTER a significant delay (about 1 minute per 1000 items indexed by Plex) you will now see the final message telling you that your Plex installation has been migrated to DSM 7 and what you still need to do to grant access to your media.

Alternative installation using Claim Token ( Docker container style )

This method supports claiming a server which is:

  1. Remote
  2. On a non-RFC 1918 network
  3. Credentials compromised due to hard server reset or password changed incorrectly.

To use:

  1. Select the option
  2. Click “Get Claim Token”
  3. Authenticate with Plex.tv
  4. Copy the token string
  5. Return to the installer,
  6. Paste the token string into the window
  7. Click Next

(the token is valid for 5 minutes so do not delay)

NOTES:

The migration requires about 1 minute for every 1000 items indexed by Plex.

During this time, we:

a. Correct all malformed agent entries from older PMS versions
b. Assign all new permissions for user PlexMediaServer

Upon completion,

  1. Your Plex Media Server files will have been relocated to the new storage area.

  2. All other Plex-created information files and directories created by Plex in the Plex share will be removed if possible.

  3. There is no risk to any media you may be storing in the Plex shared folder.

1 Like
Can I Upgrade from DSM 6 directly to 7.1?
Is DSM 6->7 upgrade safe now with PMS?
Updated DSM 7 Update and now my Plex libraries are missing
Looking for latest info on upgrading Synology DS220+ to DSM 7 with Plex already installed
After migration to DSM 7 DVR has Problems with permissions
Unable to run PlexMediaServer after updating Synology DSM to version 7.1.1
Plex not working after upgrade to DSM7 from 6
Struggling with migration from DSM 6 to DSM7
DSM Direct Migration from 6.4.2 to 7.2.2 - Plex Server / Media not migrating to 7
NAS upgrading: questions/concerns around DSM 6 to 7 migration, HW Transcoding
Synology just updated to 7.0.1 server gone now
DSM 7 and Plex updates
Synology: DSM 7 Installation Archive -- Archived from main thread
Synology: DSM 7 Installation Archive -- Archived from main thread
Migrating DS1019+ to DSM 7 running plex and docker
Upgrading from Synology DSM 6 to 7 i lost my library data and playlists
Failing to access server after upgrade to DSM 7
All media disappeared and can't choose folders when creating a new library
Question regarding updating from DSM6 to DSM7
Libraries not found after Plex update
Question regarding updating from DSM6 to DSM7
Failing to access server after upgrade to DSM 7
Hardware accelerated transcoding
DSM 6 -> DSM 7 Migration
My new DS224+ wont play media files, and gives differing errors as to why
Color corruption on resize when HW transcoding HEVC content - Synology DS920+
Plex showing two iterations of my Synology NAS server
Plex on ds423+ trying to transcode everything to flac and most of the time kills stream
Re-installing Plex Package on a DS416j NAS running DSM 7.1.1-42962 Update 5
Migrating PMS from Mac to Synology
Syno NAS Plex Media Server Install Fails to Claim or See my Server - HELP!
Does Sonos still work with the latest version of Synology (7.2)
DS720 - Plugins
Upgrade to DSM 7 and upgraded Plex version - now having issues
With Synology NAS, moving from version 6 to 7.2 on new NAS, will Plex work properly afterwards?
Libraries are gone
Fresh install of Plex on DSM 7
Updated DSM, Having Some Issues
Cannot connect to Server locally, able to connect on iOS only periodically
Plex media server not working anymore after not using it some years
Synology DSM 6 to 7 chaos :P
Which version of PMS?
Synology DSM 7 - DiskStation server gone
Can not install PMS on Synology DS3622xs+ (DSM7.2.2-72806)
Can not install PMS on Synology DS3622xs+ (DSM7.2.2-72806)
Plex Media Server for Synology DSM v7.2.2
Migration from Synology DSM 6 to DSM 7 Libraries Empty Issue
High Synology CPU Usage
Plex is NOT working on my Synology DS1618 since the upgrade of both NAS OS and Plex
Cannot access Plex outside home network
Synology DSM 7 + PMS + Goofy Friends = Sad
Synology - DSM 7.0 Release - Plex Installation (Not Operational) Issues
Plex library folder search does not work (dsm6 -> 7.2.2)
Synology DSM 7.2.2
HELP! I can't live without Plex
Issues with plex migration from windows to synology dsm 7
Preventing problems with Plex when upgrading to Synology Dsm 7.1 formal release
Weird PMS Synology DSM6 -to-7 upgrade results
Upgraded Synology to DSM 7 → Reinstalled Plex → error and no data moved over
Incorrect warning that an ARMv8 update is available in server management (settings->general)
PlexMediaServer is currently unavailable after upgrade from DSM6 to DSM7
Synology DS1815+ Died, moving to new DS1821+
Hastily updated from DSM 6 - DSM 7 - did not uninstall Plex - plz help
Synology - DSM 7.0 Release - Plex Installation (Not Operational) Issues
Unable to access plex with IP address. Plex web still works
Upgraded from DSM 6.2.4 to 7.1.1, Latest Plex Server, now servers are inaccessable
Synology: DSM 7 Installation Archive -- Archived from main thread
Synology: DSM 7 Installation Archive -- Archived from main thread
Synology: DSM 7 Installation Archive -- Archived from main thread
Synology: DSM 7 Installation Archive -- Archived from main thread
Synology: DSM 7 Installation Archive -- Archived from main thread
Upgraded to Synology DSM7 and cannot start/stop nor uninstall Plex
Synology NAS DSM 7 not showing on Plex Web app and no access to media on IOS app
Plex crashing but synoligy showes running?
Upgrade to Synology DSM 7.2.2-72806 broke Plex
Which version of PMS?
Synology DSM 7.2.2 upgrade - Plex no longer working
DSM 6 Latest to DSM 7.0.1 - Plex did not migrate
Where is the "true" latest Plex Media Server for DSM identified?
DSM 7.2 lost all settings, posters, collections etc
New user on Synology NAS with all sorts of problems
Upgraded to DSM7/PackageCenter before reading this forum, all libraries gone, please help
Upgrade to DSM 7
Lost metadata after Synology update. Two Plex folders?
Claim Server Fails on Synology DS1522
Plex Media Server not recognizing files after updating Synology DSM 7.2
Completed messed up upgrading Synology DSM from 6 to 7 and now struggling to recover old Plex data
Upgrade to DSM 7
Libraries not migrating in DMS 6 to 7 upgrade
Plex created a new server after update to DSM 7
Migrating from DSM 6.2 plex 1.24 to DSM 7.2
Synology 7 - Plex not working anymore
Server update seriously messed up Plex
Migrating DSM 6 to 7 without prior notice of advised steps --> no migration happened
Migrating DSM 6 to 7 - PMS failing to migrate
Synology: DSM 7 Installation Archive -- Archived from main thread
Synology: DSM 7 Installation Archive -- Archived from main thread
Synology: DSM 7 Installation Archive -- Archived from main thread
Synology: DSM 7 Installation Archive -- Archived from main thread
Synology: DSM 7 Installation Archive -- Archived from main thread
Synology: DSM 7 Installation Archive -- Archived from main thread
Synology NAS upgrade
Restaurar base de datos
Kann PMS nicht mehr auf meiner Synology DS918+ starten
Synology DSM 6 > 7 Upgrade
Synology DSM 6 > 7 Upgrade
Moved Plex Library - Not Playing
DSM7 Broke Plex
Plex update Synology DSM 6.2 to DSM 7 - custom changes
Plex and DSM 7.2.1 compatibility
Failing to access server after upgrade to DSM 7
Can't log into plex from my synology, and app says my synology isn't connected
NAS upgrading: questions/concerns around DSM 6 to 7 migration, HW Transcoding