Synology DSM 7 upgrade is like new installation

Server Version#:5319 DSM6 to 5319 DSM7
Synology DS920+

Hello, I finally got around to reading through the DSM 7 upgrade instructions and upgrading my Synology to DSM7. I made one mistake during the process - I forgot to uninstall PMS for DSM6 before upgrading the NAS to DSM7. I uninstalled PMS after the upgrade, restarted DSM and then installed PMS DSM7, but it did not install as the instructions said it should. I got a notice from DSM that the user “PlexMediaServer” was renamed to “PlexMediaServer__PKG_” and PMS completed it’s install very quickly. I cannot find any file named migration.log in the old Plex folder or the new PlexMediaServer folder.

What is the best way to proceed? Can I fix it or should I just go ahead setting things up as new, using the new username PlexMediaServer__PKG_?

Thanks for any advice. I don’t see any logs for installation or migration in either of the plex folders.

My media is all in a folder named “PlexMedia” with subfolders TV Shows, Movies, DVR etc.

My biggest concern is getting my DVR settings back. It’s a pain to de-select the channels I don’t want used, and recreate my show recording schedules. Re-adding my movies and other media subfolders isn’t really a big deal.

Thanks for any help!

Rule #1 – Don’t panic :slight_smile:

Did you manually create user PlexMediaServer ? Judging by what you show here, you did. Do you remember doing so?

Hi,
Thanks for the quick reply. Yes, I did. I thought that’s what the instructions said to do. Whoops. What’s my next move?
Thanks

The instructions did not say to create it.
The package handles everything.

To undo what’s happened is going to take some work in the GUI and in the command line.

I will send you a PM.

Hi,
I see. I misinterpreted this line: “The installer will expect the new username “PlexMediaServer” to already exist and have Full Control of the Plex share.” as an instruction to create the PlexMediaServer user. Thanks again for the quick reply. I’m comfortable with CLI and ready to do whatever we need. I really appreciate the help.
If there’s a way to just uninstall PMS and let it install again I’m open to that as well, if it makes things any easier. Will await further instructions.
Thanks again!

I am encountering a similar issue. Had Plex 1.19.3.2764 installed on DSM 6. Carefully followed directions - removed Plex, upgraded DSM (to 7.0.1), then proceeded to install Plex 1.25.2.5319. The installation created the PlexMediaServer user, but did not generate any error for preinstallation checks. It proceeded directly through the install, giving me:
image
The installation looks like a new installation, with no libraries. It is important that I get back my library databases. What are my next steps?

+1 to this, just updated to DSM 7 this morning and these same steps happened to me. I did not create PlexMediaServer, and the install did not error on first run.

Also reading through the FAQs, one said to install a plex certificate but the instructions are for DSM6. How to add Plex's package signing public key to Synology NAS Package Center | Plex Support

First question –

Did either of you rename / move the “Plex” shared folder at any point after the original DSM 6 package was installed (Plex share created)

I did not, screenshot of my filesystem attached
image

In order for the installer to detect and then migrate, it must be able to find a Plex installation using this wildcard

/volume*/[Pp][Ll]Ee][Xx]/Library/Application Support/Plex Media Server

What’s important to know this detection runs as the NEW username PlexMediaServer.

If file permissions for the “Plex” shared folder are set to bare minimums (either by ACL or Linux chmod) then it will never see it.

The DSM 7 installer is written knowing what permissions were assigned as of the most recent DSM 6 package installation.

At no point was “Repair” used ?
Also, at no point was 1.21.0.3744 used ?

I’ve never had to use “Repair” and this is my first attempt at upgrading to DSM 7, so I don’t believe 1.21.0.3744 was used, though I’m not sure how to check that. My PMS has been kept up to date by manually downloading DSM6 packages from Plex directly.

My permissions for my Plex share look like this:

@powerllama1

Please confirm your existing Plex installation is in the Plex share (just as you had it)

Once confirmed,

Uninstall w/ the ERASE option to remove the installation in PlexMediaServer (the rogue)

Install the SPK again.

Observe it shows “installing”

Let me know if you get `System error’

1 Like

My original Plex still lives in the folder

I uninstalled with the ERASE option, but it seems like nothing got erased. The PlexMediaServer is still there, and the PlexMediaServer user is still set for full access on the Plex server. Plex is no longer listed in my Package Center.

edit: is there a way of going full scorched earth on the PlexMediaServer stuff manually?

With the package uninstalled, you can delete PlexMediaServer.

DSM will recreate the shared folder when it installs the package.

1 Like

Is there a way / do I need to somehow remove this System Internal User also named PlexMediaServer ?

System Internal User PlexMediaServer is fully controlled by DSM.

There is no harm leaving it.

Did you create PlexMediaServer user prior to installation?

I did not create PlexMediaServer prior.

Heyyyy this time, after the install completed it told me about migration. Seems like a good sign!

Cleaned == DONE :slight_smile:

You did it! Thank you for your help @ChuckPa , hopefully this helps the OP as well.

The Plex share will be empty of all “Plex” things except Migration.log

The “Plex” shared folder is free for you to use as you deem appropriate including deletion if you so desire.

1 Like