Unable to manually install Plex package on Synology 918+

After I upgraded my Synology to DSM 7 I had to reinstall Plex from Package center. That installed PMS 1.21.0-3744 and I get it working.
Now I have downloaded the latest Intel 64-bit version for Synology and when I try to install it gives me a blank “Operation failed. Please sign in to DSM and retry” Whats going on? I am logged in to my Synology already?
No matter what file I try it says the same. Not only Plex package, but plex is the only thing I have installed manually. Install from Package center works fine
Thanks for help.

Server Version#:1.25.
Player Version#:

That error message is the default DSM security interfering (but it’s not really interfering)

Have you restarted DSM ? If not, don’t restart it yet.

Please help me understand where you’re at with things?

  1. Did you have a DSM 6 installation of Plex ?
  2. You are stating PMS 1.25.0 but also refer to 1.21.0.3744 (the BETA DSM package)

If you’re upgrading from 1.21.0.3744 → 1.25.0 , the delay is normal and, with default DSM 7 security settings – It WILL give you the error message you see.

Fill me in please. where’s it at ?

Hi.

  1. Yes I had a previous DSM 6 installation of Plex.
  2. After upgrading i uninstalled the Plex PMS I had under DSM 6. Then I tried to install the downloaded latest version but the mentioned error came up instantly. Then I installed the version from Synology package center which is 1.21.0.3744 and that went just fine.

I have done the permissions stuff from the instructions here on the plex forum also.
The old 1.21.0.3744 version works now but no matter what I do I cannot manually install any package.
Also restarted several times
image

Go to Control Panel - Security - Increase the DSM idle timeout to 65535 and save that.
(that’s the problem)

Before taking further action, we need to see if any actual data moving was done.

Do you have a “PlexMediaServer” shared folder with

  • AppData/
  • AppData/Plex Media Server/
  • and files in "Plex Media Server

I have no changed this in security and logged in again.
image

and this is how my plexmediaserver folder looks like
Plexmediaserver has full control permissions for the entire Plex share in this hierarchy

I found this in my Synology notifications now. How do you want me to proceed?
image

Thank you. That tells me everything I need to know.

It confirms you made a mistake when you attempted to upgrade from DSM 6 → DSM 7.

The most common error is forgetting the check the “Apply to this folder, sub-folders and files” box when you give “PlexMediaServer” Full Control of the shared folder.

We can easily recover from this.

  1. You still have all your Plex server in the “Plex” shared folder. :white_check_mark:
  2. We will now erase the broken DSM 7 installation which was created.
  • Package Center
  • Uninstall the Plex app
  • ERASE option (the red one) to remove the empty DSM 7 data.
  1. Now we give “PlexMediaServer” Full Control of the Plex shared folder
  • this can take a long time. It depends entirely on how much media you have indexed. Time is usually 2-3 minutes per 1000 items (videos, music, or photos) Plex has in your libraries
  1. When this is complete, install any version higher than 1.24.2.4973 . Do not install from the Synology Package Center (1.21.0.3744) as it is incompatible.

I have done exactly what you wrote here but this error still pops up as soon as I try to install the 1.25.0… spk package.
What do you suggest I do?
image

Restart DSM

I have done that 4 times and still the same.

Are you good with the SSH command line ?

YEs a litte I havent Putty installed at the moment though. I can install it

no problem. stand by a moment while I write up a quick script to survey the system .

You will run this as a Scheduled Task - User Script - run as root and have it email you the results.

Script to run

#!/bin/sh

ls -la /volume*/@apphome/PlexMediaServer

ls -la /volume*/[Pp][Ll][Ee][Xx]*

The first should be an error or empty.

The second will tell us what’s going on.

I tried to create a scheduled task but nothing happens.
image
image

Did you get the email return?

Oh yes it did

Task Scheduler has completed a scheduled task.

Task: Task 7
Start time: Tue, 30 Nov 2021 20:57:01 GMT
Stop time: Tue, 30 Nov 2021 20:57:01 GMT
Current status: 0 (Normal)
Standard output/error:
total 0
drwx------ 1 PlexMediaServer PlexMediaServer 0 Nov 30 20:38 .
drwxr-xr-x 1 root root 366 Nov 30 18:29 …
total 0
d---------+ 1 root root 656 Apr 1 2020 .
drwxr-xr-x 1 root root 838 Nov 30 19:27 …
drwxrwxrwx+ 1 plex users 8 Nov 30 19:15 @eaDir
-rwx------+ 1 plex users 0 Nov 3 22:02 Bitte legen Sie hier keine Mediendateien ab.
drwx------+ 1 plex users 38 Apr 1 2020 Library
-rwx------+ 1 plex users 0 Nov 3 22:02 Please do not place any media files here.
-rwx------+ 1 plex users 0 Nov 3 22:02 Por favor, no coloque ningún archivo multimedia aquí.
-rwx------+ 1 plex users 0 Nov 3 22:02 Veuillez ne placer aucun fichier multimédia ici.
drwx------+ 1 plex users 45918 Nov 30 17:07 tmp_transcoding
-rwx------+ 1 plex users 0 Nov 3 22:02 ここにメディアファイルを置かないでください。
-rwx------+ 1 plex users 0 Nov 3 22:02 请不要在此处放置任何媒体文件。

Go apply this procedure.

Then re-run the scheduled task.

PlexMediaServer exists there as a user and have full control already and has had it from the beginning, see this small image

But there is a Plex user also, should I delete that one?