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

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.