Automatic/Partial Scanning has stopped

In Control Panel - Shared folders, you assign the normal R/W permission. It doesn’t need to be “Custom” for Plex to read the media.

What often happens is a case of split ownership on the files in the sub-folders.

  1. The share is owned by DSM
  2. You grant permission for Plex to read it.
  3. You later put more files there.
  4. If DSM has dropped permission for anything along the way, the problem starts to spread.

The remedy is to apply the permssions you show there.

In FileStation

  1. Open the shared folder.'s properties (left panel) - Right click to get properies
  2. Permissions tab
  3. Set the permissions to include Plex (they probably already are set)
  4. Check the box - “Apply to this folder, sub-folders, and files”
  5. Now OK it.

That’ll sort out the ACLs very quickly.

I wish I could circumvent all the permissions issues but DSM has gotten very strict.
We don’t have “administrator” rights like we used to have.

“Plex” is a normal, unprivileged, user just like anyone else on DSM. That’s why we need to give “Plex” permission to read the files

I’m pretty certain I’ve done that.
No matter how far down I go in the folder tree of Reekris-Media, I see inherited RW permissions for Plex from the top level.

I even did bit of poking around with ls -el to see ACL permission and all look correct as far as I can tell (not an expert clearly).

I will add that every time I do the Apply to this folder, sub-folders and files operation, a different single file shows up as having its permissions changed but it never finishes and eventually dissapears.

Ugh, I dislike DSM being stubborn. shakes fist

I don’t like forcing ACLs from the Shared Folder applet but will if we need to.

  1. Control Panel - Shared folders - Edit the share
  2. Permissions tab
  3. Click Custom
  4. The popup will open
  5. Click “Apply to this folder, sub folders, and files”
  6. Now set the R & W permissions as you expressed before.
  7. OK
  8. OK
  9. OK

This will ripple the ACLs (reset and re-apply them) down through all the media

I’m beginning to wonder if you don’t have one of those cases where the UserID on the file itself is causing problems.

Whatever it is, I’d really like to get it resolved before DSM 7 comes because it’s tougher under DSM 7 (more restrictive)

We can, if you want, force the permissions at the Linux level but that’s a very drastic step I don’t want to take unless we need to.

In a bout of frustration last night I just caved and decided to go with a new Shared Folder.
I expanded Test-Media with folders called Shows and Movies and added them to the Plex Media Directory. Disabled automatic scanning and trash emptying. Then just used File Station to Move To all the files from the old directories to the new ones.

After moving, I had plex manually rescan to see their new locations in under the new Shared Folder. Then I removed the old media locations from Plex Library.

After this I just deleted the old Shared Folder, restarted, stopped Plex, renamed the Test-Media to the original name (for SMB share purposes and laziness), started Plex and added the new media name, manual scan again. Plex located everything successfully again, deleted Test-Media from Plex Directory.

All is right with the world again. Auto scanning, adding, removing all works.
I think whatever process I used to migrate volumes made something somewhere in the DSM system very unhappy.

Thanks for all your assistance through this, I think for now I will consider this fixed as I do not plan on adding more volumes again soon.

Wow!

That is one of the more strange things I’ve seen DSM do but, as they always say:

"When all else fails, get a bigger :bomb: "

Or was that :hammer: ? :thinking:

1 Like

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