Cannot install PMS after upgrade to DSM 7


Still No Custom Checkbox

Don’t know what qualifies as very old but 2 and 3 don’t apply.

  1. When was this HDD array created ? DSM 4, 5, or 6 ?

  2. Was encryption ever used ?

  3. Was manual chmod every used at the /volume2 level ?

@mikedutch

Would you mind creating a scheduled task / user-script, running as root, sending you the output to your email, which does the following?

Please create a Scheduled Task - User-script

  1. Run as ‘root’ user
  2. Email you the output
  3. Run the following (you may copy/paste this)
#!/bin/sh
for i in /volume?/[Pp][Ll][Ee][Xx]*
do 
   echo === $i === 
   synoacltool -get "$i"
   ls -la "$i"
done
  1. Whatever DSM was current when DS218+ was introduced

  2. No

  3. No

Had to leave … back in a few hours

Task Scheduler has completed a scheduled task.

Task: Task 3
Start time: Wed, 01 Sep 2021 16:30:35 GMT Stop time: Wed, 01 Sep 2021 16:30:35 GMT Current status: 0 (Normal) Standard output/error:
=== /volume2/Plex ===
(synoacltool.c, 489)It’s Linux mode
total 20
drwx------ 2 root root 4096 Sep 1 10:10 #recycle drwxrwxrwx 4 root root 4096 Sep 1 10:10 .
drwxr-xr-x 31 root root 4096 Sep 1 10:10 …
drwxrwxrwx 3 root root 4096 Sep 1 10:10 @eaDir === /volume2/Plex-old === (synoacltool.c, 489)It’s Linux mode total 24 drwxrwxrwx 5 root root 4096 May 9 2019 .
drwxr-xr-x 31 root root 4096 Sep 1 10:10 …
drwxrwxrwx 4 plex users 4096 Sep 1 10:10 @eaDir
-rw-r–r-- 1 root root 0 Aug 25 05:25 Bitte legen Sie hier keine Mediendateien ab.
drwxr-xr-x 3 plex users 4096 May 8 2019 Library
-rw-r–r-- 1 root root 0 Aug 25 05:25 Please do not place any media files here.
-rw-r–r-- 1 root root 0 Aug 25 05:25 Por favor, no coloque ningún archivo multimedia aquí.
-rw-r–r-- 1 root root 0 Aug 25 05:25 Veuillez ne placer aucun fichier multimédia ici.
drwxr-xr-x 18 plex users 4096 Aug 31 08:48 tmp_transcoding
-rw-r–r-- 1 root root 0 Aug 25 05:25 ここにメディアファイルを置かないでください。
-rw-r–r-- 1 root root 0 Aug 25 05:25 请不要在此处放置任何媒体文件。

From dutch-nas

Thank you.

This is what I was expecting.

=== /volume2/Plex ===
(synoacltool.c, 489)It’s Linux mode
total 20

Somewhere along the way, you manually ran a chmod 755 /volume2/Plex and broke the ACL.

I can give you the additional commands to restore it (via SSH command line or the script) if you wish. but this needs to be fixed in order to get things working

Well, something must have resulted in the change though it definitely wasn’t me as I don’t know how to do it. Anyway, yes, please tell me how to fix it.

@mikedutch

yes, we can fix it.

This script is specifically for you.

  1. Another scheduled task, user script “Fix Plex Share” , run as root user
  2. Email results
  3. please paste output when it’s done. (it will set ownership for all files in /volume2/Plex so it might take a bit to complete )
#!/bin/sh

# Clear ACL
synoacltool -del /volume2/Plex

# Add admin and PlexMediaServer full ACL to top level
synoacltool -add /volume2/Plex group:administrators:allow:rwxpdDaARWcCo:fd--
synoacltool -add /volume2/Plex user:admin:allow:rwxpdDaARWcCo:fd--
synoacltool -add /volume2/Plex user:PlexMediaServer:allow:rwxpdDaARWcCo:fd--

# Verify ACLs
synoacltool -get /volume2/Plex

# Set ownership
chown -R PlexMediaServer:PlexMediaServer /volume2/Plex

Your output should show:

bash-4.4# synoacltool -get /volume2/Plex
ACL version: 1 
Archive: has_ACL,is_support_ACL 
Owner: [root(user)] 
--------------------- 
	 [0] group:administrators:allow:rwxpdDaARWcCo:fd-- (level:0)
	 [1] user:PlexMediaServer:allow:rwxpdDaARWcCo:fd-- (level:0)
	 [2] user:admin:allow:rwxpdDaARWcCo:fd-- (level:0)
bash-4.4# 

Now please verify you have ‘Custom’ in the Plex share,
And can give “PlexMediaServer” Full Control (Custom) ACL permissions.

Run from root:

Task Scheduler has completed a scheduled task.

Task: Fix Plex Share

Start time: Wed, 01 Sep 2021 18:45:04 GMT Stop time: Wed, 01 Sep 2021 18:45:04 GMT Current status: 0 (Normal) Standard output/error:

(synoacltool.c, 588)Unknown error

(synoacltool.c, 268)It’s Linux mode

(synoacltool.c, 268)It’s Linux mode

(synoacltool.c, 268)It’s Linux mode

(synoacltool.c, 489)It’s Linux mode

From dutch-nas

this is run as root ?

If so, your DSM 7 installation is bad. I have no idea why either.

Best I can advise you at this point, short of reinstalling DSM.

  1. Control Panel
  2. Shared Folders
  3. Rename the Plex share to be Plex-old
  4. Create a new shared folder named Plex
  5. Add the permissions for yourself, administrator, and, while you are there System Internal User PlexMediaServer (who gets Custom - Full Control … the Administrative, Read, and write checkboxes)
  6. Save that and exit
  7. Come back into Shared Folders
  8. EDIT the new Plex share
  9. Verify PlexMediaServer still has “Custom” permissions.

If it does,

  1. Exit from Control Panel
  2. File Station
  3. Move the contents of Plex-old → Plex
  4. When completed, start the installation.

This is hit or miss. I have never seen a NAS not comply with my commands.

SOMETHING screwed up your volume and the Plex share.

I know this because I apply the ACLs every time DSM 6 PMS updates.

Synology said ACLs (and DSM7) aren’t supported by ext3. I need to change the filesystem to btrfs – which means I have to move TBs of data elsewhere first :frowning: Thanks for your help.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.