Auto-Scan doesn't work

Server Version#: docker container linuxserver/plex v.1.41.2
Player Version#: Sony XH95 Plex version 10.24.0.2257 (c53b3e71)

Hello,

weirdly, the auto-scan function has suddenly stopped working for me. New media are not recognized in the media library. They are only recognized after a manual scan.

The relevant options are activated in Plex.

I also noticed that the first episode of a series, for example, is recognized, but all further episodes are only recognized after a manual scan.

The permissions on my Synology are also fine.

Can anyone help?

Best regards

Post a copy of your server logs

Which file do you need exactly. I don‘t want to post the whole .zip because sensitive data.

The data I need could be in one of about 20 files. Feel free to send it via PM and ill take a look later today.

Consider this:

When done collecting the number of folders in use:

a. Add 32768 to the value
b. Divide by 32768
c. Add 1 to the the Integer result (No fractions here)
e. Multiply by 32768
f. Use this final result. (integer part only)
g. If the number of folders you are using is less than 8192, stop here unless you are about to add a lot more media.

Because of point g. i guess it is not the problem?

I did it anyway and stored the new value. Now it works again, thank you very much :wink:

The inotify table is small on Synology.

If you’re using fewer than 8192 folders then the problem is elsewhere.
(database damage issues?)

As I said, I enlarged the inotify table anyway. The Auto Scan function then worked again as usual. I don’t know why either.

@Funkmaster

The way to verify it works –

  1. Make certain PMS DEBUG logging is enabled.
  2. Restart PMS
  3. Let it sit idle for 3 minutes
  4. Download the logs ZIP file
  5. Edit / View the “Plex Media Server.log” file
  6. Observe “[Notify] Now watching” for each directory
  7. When the table fills, you’ll see a “(no space left on device)”.
    – the inotify table is a table in the kernel and the kernel returns ‘device’ error codes. (Weird, but that’s how it’s done)

I have a log from yesterday. There are many „no space left“ entries. I just download the current logs and there are no entries like this.

then it’s resoved

1 Like

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