Can't uninstall Plex package

Server Version#: Version 4.140.0
Player Version#:
I upgraded from DSM 6.2.2 to DSM 7.1.1 on my DS918+. I had to select my libraries again and noticed my play history was gone. I searched and started following along this comment on Reddit: Reddit - Dive into anything

They mention I need to uninstall Plex but when I try to, it’s all empty and the dropdowns to uninstall or any function don’t work. I have screenshots here. I tried restarting the NAS but it still isn’t working

Imgur

What is the full DSM version?

DSM Control Panel → Info Center → General tab.

Example: DSM 7.1.1-42962 Update 7

I just updated my DS414 from DSM 7.1.1-42962 Update 6 to update 7. I’m seeing the same thing for Plex Media Server. It looked correct for Update 6.

My DS918+ is running DSM 7.2.2-72806 Update 2. PMS in Package Center looks correct there.

FYI, you do not need to follow the thread from Reddit. You’re not that far along.

You can try uninstalling Plex via SSH.

  1. Open a terminal window (command prompt in Windows 10/11) and type in SSH Admin User Name@NAS IP Address
  2. Enter the Password for your NAS admin user name
  3. sudo -su root (enter your NAS admin user password again)
  4. /usr/syno/bin/synopkg uninstall PlexMediaServer

The last command should display something like this:
{“action”:“prepare”,“error”:{“code”:0},“stage”:“prepare”,“success”:true}

Which means the command succeeded.

BTW, I uninstalled and then reinstalled Plex and I get this now:

None of the options work though.

Mine is DSM 7.1.1-42962 Update 7

Do I need to uninstall Plex then? Can I skip that step and continue through the guide?

hm so maybe it’s not just me?

@lawzenge

I just talked with @ChuckPa. There is something wonky with 7.1.1. Update 7. He’s going to talk with Synology.

In the meantime, you have another path.

The DS918+ can be updated to DSM 7.2.2.

Once you’re on DSM 7.2.2, you can then install/uninstall/etc. Plex Media Server like normal (I updated my DS918+ several weeks ago. Plex works fine.).

So, the suggested path forward is:

  1. Update the DS918+ to DSM 7.2.2.

  2. Uninstall Plex Media Server.

  3. Come back to this thread. We need to see where your system is at before proceeding. There are a couple of different ways to proceed. Just need to find where you system is at first.

Note: You will have to manually update the NAS to DSM 7.2.2. Download the file from the Synology support site, then install via Control Panel → Update and Restore → Manual Update.

Synology Download Center: Download Center - download | Synology Inc.

@ChuckPa

I am wondering if DSM 7.1.1-42962 Update 7 has similar changes to the packaging that were needed for DSM 7.2.2?

I tried modifying the 72 package to install on DSM 7.1.1-42962 Update 7 but, I did not go deep enough, so it complained about needing a higher version of DSM.

ALL:

Synology support ticket #3722978 has been created for this issue.

Screenshots of what DSM shows are welcome.

Discussion with Synology Support seems to indicate that some of the DSM 7.2.2 code accidentally found its way into DSM 7.1.1 U7 release.

This is being escalated to Syno Engineering at HQ.

1 Like

@ChuckPa
You can grab my screenshot above if it helps.

I re-modified the 72 package and this time I get to the License Agreement screen, but it’s blank and the installer wont go any further than that.

Any thoughts?

Here’s some screenshots from my DS414 running DSM 7.1.1-42962 Update 7.

In the main Package Center window, Run and Open work.

In the Package Center windows for Plex Media Server, the detailed information is incorrect/blank. The pulldown menu shows “Install,” even though Plex Media Server is installed and running.

And, as in @trumpy81’s screenshot, anything selected from the pulldown menu does not work.

1 Like

If anyone who has this issue is willing to work with me,

  1. We’ll go offline
  2. Telephone call
  3. Remote Desktop
  4. I’ll investigate the issue via the Syno command line
  5. Uninstall PMS from the Syno command line.

I can help, Just let me know what you need.

I can help (having the same issue)

Synology 1513+
DSM DSM 7.1.1-42962 Update 7
PMS 1.41.3.9232

Thanks. I was going to do the update but then I saw the release notes for 7.2.2 and I won’t be able to view HEIC/HEIF photos or HEVC videos anymore without converting them. I use the Synology Photos app to backup my photos so I’m hesitant to upgrade. I’ll have to see what workaround I can do to make the photos work.

Understand the reluctance to update to 7.2.2 if it messes with your photos. Hopefully the problem with Update 7 can be resolved soon.

In the meantime, you can SSH into the NAS to stop/start Plex via the command line.

$ sudo synopkg stop PlexMediaServer

$ sudo synopkg start PlexMediaServer
1 Like

@All

I helped @ChuckPa get a DSM 7.1.1 VM up and running and when he has time to do some snooping, he may be able to devise a plan of attack to overcome this issue, at least until Synology release a fix for the issue.

In the meantime, monitor this thread:

For any updates.

I will be crafting some “Task Scheduler” scripts for you to use.

These will include:

  1. Start
  2. Stop
  3. Install
  4. Uninstall
  5. Claim (hopefully).

You’ll be seeing how things are done underneath the GUI.
It’s not pretty but it works.

I’ll do my best to keep it easy to understand and use.

1 Like

pardon my ignorance, but is there a way I can run those commands within Synology without having to open up SSH service? I tried looking for the terminal program but couldn’t locate it.

Yes. Chuck is going to come up with some tasks that will run in Synology DSM.

On Mac/Linux, use the built in terminal.
On Windows, run from the c: prompt.

c:\ssh user@ip_address.

Ex: Login as “tom” on NAS with IP address 10.1.2.3.
c:\ssh tom@10.1.2.3

1 Like

Thanks for your guidance so far. I was able to SSH into my NAS and shut down Plex. A bit of a moot point since I need to upgrade the DSM version to get Plex corrected, right? What commands should I run to uninstall Plex from my NAS? After I do so, should I attempt reinstall of Plex or will I run into the same issue of my metadata going missing?