@MoâGas,
Iâve not yet heard back but the rest of the puzzle, and KEY piece to retaining your watched/unwatched status is the database itself, highlighted below. Moving from dissimilar systems is a pain but here we go. grabs hand rails and hangs on 
side note: I am performing setups here to allow me to do better support of macs but Vbox isn't ready yet
[chuck@lizum Databases.90]$ pwd
/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases
[chuck@lizum Databases.91]$ ll
total 912888
drwxr-xr-x. 2 plex plex 4096 May 26 02:02 ./
drwxr-xr-x. 7 plex plex 4096 Mar 23 20:37 âŠ/
-rw-rârâ. 1 plex plex 20480 Mar 23 20:37 com.plexapp.dlna.db
-rw-rârâ. 1 plex plex 32768 Mar 23 20:37 com.plexapp.dlna.db-shm
-rw-rârâ. 1 plex plex 83872 Mar 23 20:37 com.plexapp.dlna.db-wal
-rw-r--r--. 1 plex plex 155992064 May 27 08:15 com.plexapp.plugins.library.db
-rw-rârâ. 1 plex plex 153868288 May 17 02:02 com.plexapp.plugins.library.db-2016-05-17
-rw-rârâ. 1 plex plex 153269248 May 20 03:40 com.plexapp.plugins.library.db-2016-05-20
-rw-rârâ. 1 plex plex 154557440 May 23 02:01 com.plexapp.plugins.library.db-2016-05-23
-rw-rârâ. 1 plex plex 157068288 May 26 02:02 com.plexapp.plugins.library.db-2016-05-26
-rw-rârâ. 1 plex plex 1212416 May 27 09:58 com.plexapp.plugins.library.db-shm
-rw-rârâ. 1 plex plex 158657800 May 27 09:57 com.plexapp.plugins.library.db-wal
[chuck@lizum Databases.92]$
The -shm and -wal files are left behind. The DB files with dates are the Plex-generated automatic backups (bring them along too). Whatever you do, keep a safe copy of the databases until later. They hold all the information.
In thinking through this myself,
- After copying the media to the DS1815+, add the DS1815+ shares to their respective library sections in your Mac PMS installation.
- Update your library. You will now see you have duplicates of your media. This is desired.
- In Settings - Server - Library,
uncheck all the boxes (full manual mode). Save the changes
- Shutdown PMS
- Export your plist â xml and set that aside. youâll need it after starting up Plex on the Syno
Youâre now ready to capture all the metadata itself and take that with you. Iâm not certain where this info is but for me is under /var/lib/plexmediaserver/Library/Application Support/Plex Media Server
I normally create the transfer tarball, which gets everything, using:
cd /var/lib/plexmediaserver
tar cf /some-place-for-xfer-tarball.tar ./Library
Copy the tarball onto a NAS share and complete the transfer from the shell
With PMS shut down on your 1815+,
ssh `your-nas`
sudo -su root
cd /volume1/Plex
mv Library Library-prev (if Library already exists)
tar xf /location/of/xfer-tarball.tar
chown -R plex:plex ./Library
cd "Library/Application Support/Plex Media Server/Plug-in Support/Databases"
rm -f *-wal *-shm
cp /path/to/saved/databases/com.plexapp.plugins.library.db .
Again, make sure plex:plex owns the db file. chown plex:plex com.plexapp.plugins.library.db
You can also, just as easily, create a âzipâ file, copy it to to the 1815+ and âunzip in placeâ in the Plex share (if you can see the Plex share (some systems donât see it while others do). After you do, make sure âplex:plexâ owns all the files. This is imporant because Plex runs as an unprivileged user, not ârootâ. It needs to own all its files. Go in via the shell as shown above and perform the chown step.
You wonât have a Preferences.xml yet but Plex will create a default for you on the Synology
You should now be ready to start Plex on your Synology. Your libraries will be visible but content not likely to show because the data is there waiting to get the locations updated.
-
Make sure youâve given Plex access to your media shares (Control Panel - Shared Folders - Edit)
-
After starting, Settings - Server - Library.
-
Make certain everything is still FULL MANUAL
-
For each defined library section:
Edit the library and add the new /volume1 location to your media, leaving the others for now
Save this edit.
Update this, and only this, Library. You should be rewarded with seeing your metadata repopulate at a very quick rate.
-
Check you watched / unwatched status. If good, continue. If not, stop; pull the Plex Media Server log files (all 6), zip them, and attach them in a post here.
-
If successful, continue until all library sections have updated locations.
-
Perform a final update on all Library sections.
-
In Settings - Server - Library , put everything back to how you had it.
At this point, Plex will have been migrated with exception of the machineâs identity (which you captured from the plist
-
Stop Plex
-
Either through the shell or the File Station, get down into /volume1/Plex/Library/Application Support/Plex Media Server
-
Edit Preferences.xml and substitute your old MachineID and ProcessedMachineID
-
Start Plex
-
Complete the final step in the âMove install to another systemâ
Final Maintenance
You can do some final maintenance to clean things up and ensure your server is running as quickly as possible. Perform the following library actions, in this order (and wait for them to complete before proceeding to the next):
If you originally disabled the Empty trash automatically after every scan setting, you can turn that back on
Empty Trash for the server
Clean Bundles for the server (wait at least a couple of minutes even after the dialog box goes away before proceeding)
Optimize the server
-
Go to Settings - Server - General and Settings - Server - Remote Access to verify those are working as well.