Plex Media Server - Synology DSM 7 Preview - Issues

It didn’t work for me with another network client.
I’ve done it with an external hard drive now.
At first I had the problem that I used Fat32 and you can only have 4GB files.
But it worked now.

/sh

Destination="/volumeUSB1/usbshare/"

cd /var/packages/PlexMediaServer/home

tar cf "$Destination/PlexMediaServer-Backup.tar" ./*

look at the top line.

#!/bin/sh

is required.

It’s not clear to me if you’ve managed the backup or not yet/
Please clarify

the backup was carried out successfully.

What should I do if I have reinstalled DSM?

After rebuilding and creating a fresh volume and media back in its shared folders:

The easiest method is to let the Synology installer re-import for you.

This means:

  1. Create a user named ‘Plex’
  2. Create a “Plex” shared folder
  3. Create sub folders Plex/Library/Application Support (just as DSM 6 had it)
  4. place the “PlexMediaServer-backup.tar” file in the “Application Support” folder
  5. Right-click it and “Extract here”.
  6. When complete, you should see “Plex Media Server” and all files below it as normal
  7. Right click “Plex Media Server”
  8. Change the ownership to “Plex” (for this folder, sub-folders, and files) — IMPORTANT
  9. Now, install PMS
  10. – BE FULLY AWARE – it’s going to make you go through all the migration permissions steps again. Expect it.
  11. As you iterate through the different checks, when everything is aligned, it will import automatically.

Another method, which is fully manual, requires command line work after installing PMS

  1. On the command line

  2. With “PlexMediaServer-Backup.tar” copied back into /var/packages/PlexMediaServer/home,

  3. sudo bash

  4. cd /var/packages/PlexMediaServer/home

  5. tar xf ./PlexMediaServer-Backup.tar

  6. chown -R PlexMediaServer:PlexMediaServer .

  7. ls -la 'Plex Media Server'

  8. Everything should be properly owned by PlexMediaServer:PlexMediaServer

  9. ACLS and permissions should be in place (don’t touch them)

1 Like

I did it with the second method.
It worked great.
The media are now on a different volume.
Can I just adjust the path and Plex will then recognize where the films are?

Yes, you can tell PMS where the media is now located.

1 Like

HW: DS3018xs
OS: DSM 7.0-41222
Server Version#: 1.22.3.4392-7000
Player Version#: 4.54.5

I upgraded my DSM from 6 to 7 Beta and upgraded Plex to the latest build for this Beta release. I followed the instructions outlined in these posts very closely – ensured permissions were accurate as described, Plex packages being installed on save volumes, etc. But, every time I attempt the install, it’s lightning fast and not picking up my existing libraries for migration. When I launch Plex, it wants to bring me through the “create new server library” pages.

From what I can see, none of the database files in Application Support appear to have been modified since the upgrade. I can also see extension metadata in the folders so I’m pretty sure the original library stills exists.

Any ideas why it’s not seeing my existing library and any suggestions for a fix?

@ptafan

When you state “lightning fast”, that’s just the code installing.

When you did the migration, how long did it take?

Was PMS running successfully when you performed the migration?

@chuckpa

The new installation never picked up the existing library for migration. It installed and that was it. When I ran Plex, it went to the “setup new library page”. So my issue seems to be around getting Plex to recognize the older library still exists in /plex/ and picking it up for migration.

@ptafan

If it was a valid installation in the Plex shared folder then it would have been picked up

It sounds like you upgraded on top of the old without having first read this:

After you’ve read, if you want to migrate the existing PMS installation in the Plex share:

  1. Uninstall the DSM 7 package and ERASE the DSM 7 instance.
  2. Install the package again.
  3. When it finds the Plex share (which happens during install - not upgrade) it will walk you through all the steps

I have detailed the migration steps in the link above – second post.

@ChuckPa
The first time I installed Plex for DSM 7 was through the Package Center, which failed because I had not seen or followed the instructions. After some troubleshooting of my own, I came to the forums which is where I found your thread. I have attempted to follow the instructions multiple times with no luck, despite all permissions being set as instructed.

I can see the DSM 6 library is there and permissions are set correctly.

These are screens and options selected during the installation process - as you can see, it doesn’t appear there was any attempt to migrate the existing library.

Any ideas? Thanks.

At any point in time did it have you perform steps like this?

Are there any news on HDR on Synology DSM7 Plex Versions?

1 Like

@ChuckPa ya the first time I attempted the install from Package Center, it had me follow the steps. At the time I only gave the “plex” share R/W access, but after following your directions, changed that to Full Control. Still no luck.

The only difference I can see between your instructions and what I’m doing is my share is “plex” (all lower) and yours is “Plex” (title case) - but I’m guessing it’s not case sensitive?

Linux is case sensitive.

    find " $SYNOPKG_PKGDEST_VOL/Plex/Library/Application Support"

@ChuckPa OK, good to know. Can I simply rename the volume to “Plex”? I’m not exactly sure what to do with the find command you just listed…

To repair this:

  1. Rename via Control Panel - Shared Folders
  2. SSH into the Syno
  3. Confirm the directory name also changed

@ChuckPa Success! The case sensitive naming was the issue. Thank you kind sir, your hard work is greatly appreciated.

Hello,
I completed the upgrade to DSM 7 and re-installed plex but have two questions i am trying to resolve.

I can not access the Plex Server settings, it just says “Server Settings Unavailable” and I have enclosed a screenshot.
Second, one of my libraries which contains photographs will not display anything once clicked on. It says “Unable to Load”

Will upgrading to the release listed on Plex downloads for DSM 7 resolve these two issues?
I would appreciate any help you can offer.

If you directly upgraded the DSM 6 package by Installing DSM 7 then the DSM 7 Plex package, you missed a big step.

You must first uninstall the DSM 6 package as detailed in the Preview Thread announcement and Migration documentation.

(Post #6 is the migration)

IF
you do have a DSM 7 package running

AND

still have your metadata in the Plex share

THEN

  1. Uninstall DSM 7 package and ERASE the DSM 7 installation
  2. The contents of the Plex share are not erased. Only the invalid DSM 7 installation is erased.
  3. Install the package again “cold”. It will detect and migration will begin.
  4. Follow all steps

Please read this thread carefully,