Synology DS918+ - Plex not scanning libraries on change or periodically

Server Version#: 1.13.9.5439
Player Version#:

Hello,

Synology DS918+ owner here (F/W DSM 6.2.1-23824 Update 1). I have a strange issue whereby my Synology DS918+ is no longer scanning the library for changes, either when it notices new files or periodically as per the settings.

If I run a manual scan, all the newly added files appear fine in the library.

I tried restarting PMS, restarted the Synology, optimised database and cleaned bundles. No luck.

Any idea before I trash it and reinstall?

Thanks,
Simon.

There is a well know “quirk” with Synology.

DSM loves to drop/forget permissions to shares.

Go to Shared Folders -> Permissions tab -> make certain user Plex can read the share.

2 Likes

Thanks, I’ll check. But wouldn’t those missing permissions stop the manual scan from working also?

There are actually a few things that come into play.

First,
If you have set to automatically detect changes but have more than 8192 directories (because you have music), and haven’t increased the default table size, … it will stop detecting changes at some point until the table size is increased (easily done).

Second,
Share permissions and individual file permissions come into play.

If file permissions don’t give Plex permission to read, then it will use Share permissions.
If share permissions got dropped, and the file permissions don’t allow it, then it won’t be seen.

Chuck,

Thanks for the pointers. I’ve dialled down on this issue and have found out it in relation to couchpotato renaming and moving the files into the library that Plex monitors. There seems to be a permissions issue.

If I SSH into the NAS and run a permissions check on a working file (seen in plex) and also a check on a non-working file I can see a discrepancy.

Not working file, not seen in Plex

Working file, seen in plex

The difference being the permissions and owner group. I’m not sure how I’m going to change this as couchpotato doesn’t seem to have any settings for setting effective permissions at during rename/move process.

Can I get plex to solve this issue? Afterall, just clicking to manually scan seems to add them to the library, so why aren’t the periodic or automatically (understandable) not working?

I have checked the amount of directories in the Plex share and it is below 2000.

Thanks,

It is my understanding CP has the same permissions setting options as Sonarr does but this is not something PMS can effect any change of. I specifically run PMS as a non-privileged user per Synology’s guide so, in case something goes horribly wrong, it has no way of changing or deleting your media without you authorizing it via Share permissions.

I do ask you not use an image in dark colors like that. I can’t read it. :slight_smile:
Copy/paste of the text here, using triple-grave (tilde) on the line before and the line after, will make it readable here as “Code”

The “Plex” share is for PMS, not for your media.
If you’re putting media in there, kindly move it ASAP. This also explains why you’re having diffculty. The Plex share is visible only to allow access to the Log files (in case of major fault) and add Plug-ins to PMS.
By putting media in the Plex share, you create an infinite loop as well as waste valuable “watch” slots (8192 is the Linux default).

What happens is:

  1. You put in media,
  2. PMS scans it
  3. PMS creates metadata bundles (more directories)
  4. Linux, because it doesn’t know not to, tells PMS to scan again.
  5. PMS rescans
  6. PMS updates its data files modifying the bundles again. Infinite loop begins. Scanning never stops.

I can help you, with using one of the Linux tips about setting up directory inheritance in your media directories, control permissions should you not be able to find in CP where they are.

Hi,

I’m new to this whole Plex/Nas thing. I’m considering buying the DS218+. It’s on the compatibility list similar to your DS918+.

Is there a difference between the DS218+ compared to your DS918+?

How many people can watch movies simultaneously on your DS918+ and does it slow down pretty badly?

Last, when your movies are on the DS918+, do movies stay on your NAS or does it gets uploaded to Plex servers?

Thanks.

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