Starting a "partial scan" when a change is detected DOES NOT WORK

Server Version#: 1.14.1.5488
Player Version#:Plex for Samsung 3.72.1 / Tizen 4.0

I send a media file on my Synology 918+ to a Plex library folder. When I do this, Plex does not run its automatic routine to scan this new media despite the settings correctly set in the Plex settings!

Once done that if I just do a simple manual refresh in Plex he finds me the new media.

What should I do to make my library update work correctly automatically ?

Do you have more than 8000 directories (folders and subfolders in total) ?
FileStation will count them for you.

If you do have more than 8192, you must increase the Linux default table size.

The procedure is here.

On Synology, you must SSH as admin then sudo -su root to gain the required privilege level.

Thank you very much for your answer.
I do not have subfolders in my plex video folder.
On the other hand I have 487 multimedia files.

Do you have another idea to unlock my problem?

Note, that other apps running on your Syno box also might use the iNotify table, like any sync app etc.

I do not understand your answer.
I only want the update of my media files to be done as normally allowed by plex. I do not want to use other external plex applications.

Thank you for your help.

I mean, that the iNotify tables is an OS (Synology) thing, that is shared among apps running on your Syno Box.
So if you have others apps running, that are using iNotify also, then that could explain it

May I ask you to:

  1. Verify you have DEBUG logging enabled, and VERBOSE disabled
  2. Restart PMS
  3. Wait 30 seconds
  4. Scan Files.
  5. Set it complete
  6. Settings - Server - Troubleshooting - Download Logs
  7. Attach the ZIP file it gives you here.

I will see what PMS is not liking.

Dane22 :
I have tried to look at what is running and having disabled the use of all my other installed packages does not solve the problem.

ChuckPA :
Can you tell me which option I have to activate or deactivate in the list I have below so that I can perform the test that you indicate to me?

I send you my LOGS with the configuration that I indicated above.
Plex Media Server Logs_2018-12-30_10-58-41.zip (2.9 MB)

On the other hand when I update the list of my multimedia files nothing happens because I did not add files. You will tell me if I have to add a new file before sending you the logs.

Thank you for your help.
The permissions are already correctly defined in my video folder :

By cons how is it that I have only 13 files that can not be read in the LOGS file?
Is it possible that some files do not have the same permission as my " Films " folder ?

Hello,

I meticulously executed all your tutorials: Q18, Q19 and Q5.
Only the line in SSH find ./Media_folder_name_here -type f -exec chmod 644 {} \; could not be executed for some reason, but the top line was running. I have checked several times all the rights of the folders and they are as indicated in all the tutorials. When I add a media file it is still not automatically integrated into the library.

Noted that my file system on my hard drives is in Btrfs format. Maybe that comes from there?

I give you my logs again in case, maybe something new appears?
Plex Media Server Logs_2018-12-31_16-05-04.zip (3,4 Mo)

I have a Plex Pass. Given my problem that I can not solve, can a member of the Plex team put their nose directly in my server to understand where the problem comes from?

First of all thank you very much for your help on this 31st of December.

If it is producing an error, then make sure you have typed the command correctly and you have not forgotten, or typed in an incorrect character.
The command may take a long time to complete, depending on how many files you have.
You do realise that you have to replace Media_folder_name_here with the actual name of your media folder, right?

I executed the command, this time there was no error, but that does not solve my problem the update is still not done automatically when I add a media

Your logs do NOT show that you have followed Q5 at all. In fact they show that you are still using volume1/video. Please make sure your response is accurate.

My problem may be from there?
I used this folder for video content /volume1/video/Films :


Do you see an inconsistency in my configuration?

If I do not talk to you again by then, I wish you a very happy new year 2019.

Of course Trumpy,

Before proceeding, the error “Permission Denied” which Notify prints has nothing to do with actual file permissions. It simply means that user plex does not have the needed permission to add more directories to the directory list because the default table is already FULL. We need to tune (customize) the Linux kernel’s default table size to be suitable for our use case.

In reviewing the logs and examining the screenshots, several steps to correct this have been omitted.

Trumpy and I are working now to provide an updated procedure for everyone which will remove all the “Permission Denied” errors for Notify .

Other File permissions will still report normally

If you have any questions, Please also feel free to call on me.

I wrote this new procedure at Trumpy’s request. I hope it will alleviate any future difficulties and keep the distinction between Notify and regular file permissions from becoming confusing.

1 Like

Hello,

Finally the next action, when I executed it again correctly, solved my problem:
SSH
find ./Media_folder_name_here -type f -exec chmod 644 {} \;

What is strange is that my files are in CHMOD 644 but the new ones that I add by FTP are in CHMOD 700

A little strange that 2 different permissions are present in my files, but it works now so I will not look further.

Thanks a lot to trumpy81 for his patience as well as ChuckPA for his decisive intervention.

FileZilla, last I looked, has the ability to set permissions when it creates files. I would recommend looking into this.

trumpy81 =>
I use the FTP transfer because :

  • It manages the interruption of transfer
  • It seems to me a little faster
  • Also because I have a transfer history
  • I also find that the risk of deletion or movement by mistake and less important by FTP than by browser windows.

ChuckPA =>
I did not find the option in FileZilla. On the other hand, the file playback works normally with the CHMOD 700, can this cause me problems in the future?

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