Plex Media Server - Synology DSM 7 Preview - Issues ( Archive )

The installation and migration worked as a charm for me. Reading carefully is key :wink:

Question: Plex is notifying me that there’s a new update available and routes me to the Plex download page. I assume I have to ignore this since that aren’t the DSM 7 packages?
Also, you mentioned the updates will be distributed trough package center for now. Is this going to be the normal way to update? Normally I had to install every update manually as a package but ā€œauto-updateā€ trough package center is always welcome.

i tried after starting Plex as it seems that it does not use the old library directory.
it still does not use not use the ā€œoriginalā€ library directory nor has imported the old preferences.xml

i did a complete reinstall (first point activated in the new deinstallation dialogue ( i like this new one)) i choose th eold plex share directory as log target and now there is a new folder which contains logs. im very confused
How is the migration work?

When playing without subs it seems to play and not give the error. When selecting subs, it will give me the transcoder error.

What firmware do you need? The OS is: DSM 7.0-41222.
Not sure where I can find the firmware version.

@Darkrogue

I would like to isolate whether this is a PMS issue or a DSM issue.

We do have a new PMS build here.
If we can remove the subtitles , and verify regular hardware transcoding is working , we’re a fair step ahead.

See what I’m thinking? Divide & Conquer

OS version on DSM is the firmware version 7.0-41222

1 Like

@noyse

Please give path names for ā€œOldā€ and ā€œNewā€ where possible?
What you write seems informative but I don’t know your configuration layout so can’t follow the ā€œFrom whereā€ and ā€œTo Hereā€ steps. Volume + Folder helps me a great deal.

If referring to the new internal – that’s easy , write ā€œApphomeā€ . I’ll know what that means.

I tried installing the Plex DSM 7 from the download link in posted in DSM 7 - Plex Media Server forum preview. I get an error that port 32400 is in use. I tried removing that port from the port forwarding configuration on my DS916+ and in desperation uninstalled the DSM 6 Plex install.

How do I get around this?

You probably need to stop the old instance that is still running and blocking the port:

sudo /var/packages/Plex\ Media\ Server/scripts/start-stop-status stop

Thanks for all your effort today! I’ll try verifying if hardware transcoding works if I disable subtitles tomorrow.

If you have any additional tests I can do, or want access to my synology / pms, let me know

You are probably right, but I removed my old install of Plex, so those files don’t exist anymore. I am probably hosed and will have to wait on the good work of the Plex folks here.

Removing it probably didn’t fully remove it. Try making a task with this and run it.

sudo /var/packages/Plex\ Media\ Server/scripts/start-stop-status stop

If not, maybe you’re running it on docker still?

/var/packages/Plex\ Media\ Server no longer exists on my Synology.

You can try opening ssh and using the PS command to get all your processes. Find plex and run

kill with the plex process ID.

1 Like

@Darkrogue That seemed to do it. Thanks!

1 Like

i will try my best :wink:

OLD DMS 6 PATH:
/volume1/Plex/Library/Application Support/Plex Media Server
/volume1/Plex was recognized by the installation wizard as installation directory. I gave the needed permission as shown in the installation guide, but it didnt lead to takeover, so i tried to change the file permission also without any positiv result.
at this time i had to servers with the same name in my plex account, one without any Library and one with the original libraries but unconnectable

now i have removed the whole plex installion (using first option in the deinstallation dialogue)
then i was installing PMS again. i was ask for a directory for the logs and i choose this where the old plex installation was situated. after starting Plex it creates a new log folder inside this directory, so for me no permission problems should be the root cause for this ā€œfailed migrationā€
i do have the old data (databases, preferences) - can it be used for copying or something like that?

NEW DSM 7 PATH
/volume1/@apphome/PlexMediaServer/Plex Media Server/

hope this cleared the situation a little bit :slight_smile:

The failed migration is a signal of one of the following; none of which are pleasant.

  1. There is data in the @apphome location with a different UID/GID
  2. Manually changing permissions in the Plex shared folder caused ownership / permission problems when it went to migrate (we expect ACLs and UID/GID = plex:users).
  3. DSM’s uid/gid database (which it uses extensively now) differs from /etc/passwd and /etc/group.

I am not concerned about the Log file location. That is easily remedied.

First steps: Let’s get this to install and migrate:

Do you see this error?

nope. when should i see this error?

How comfortable are you at the Synology command line?

i have some experiences with the command line so working with it should not be a problem

I am going to give you the commands to ā€œencourageā€ it to work for you :imp:

Prerequisite:

  1. DSM 7 package installed – failed state (this created the username)
  2. DSM package – Uninstall - Remove all data (non-recoverable) option
    a. This clears out apphome.

I believe you said your Plex share is on Volume 1. The above commands don’t care where it is. It will find the existing Plex shared folder (where your metadata still lives)

What this does:

  1. Goes to the Plex share
  2. Gives the new Plex username (PlexMediaServer:PlexMediaServer) ownership of everything in the /volume*/Plex/Library directory (which is how it will end up after migration)
  3. It then makes certain to completely clean out any remnants of the DSM 7 storage areas so migration can run cleanly.

Before running this, confirm the existence of the new username, properly defined by Synology (the UID & GID are a big number now)

You should see output similar to this:

bash-4.4# grep PlexMediaServer /etc/passwd /etc/group /etc/shadow
/etc/passwd:PlexMediaServer:x:297536:297536::/var/packages/PlexMediaServer/home:/sbin/nologin
/etc/group:PlexMediaServer:x:297536:
/etc/group:videodriver:x:937:PlexMediaServer
/etc/shadow:PlexMediaServer:*:18604:0:99999:7:::
bash-4.4#

If questions, ask first. Don’t wan’t to risk losing the data in ā€œPlexā€ share.

grep PlexMediaServer /etc/passwd /etc/group /etc/shadow
/etc/passwd:PlexMediaServer:x:297536:297536::/var/packages/PlexMediaServer/home:/sbin/nologin
/etc/group:PlexMediaServer:x:297536:
/etc/group:videodriver:x:937:PlexMediaServer
/etc/shadow:PlexMediaServer:*:18604:0:99999:7:::

checked it first :wink: seems ok
so i have done the actions