# Auto-Scan doesn't work

**URL:** <https://forums.plex.tv/t/auto-scan-doesnt-work/895537>\
**Category:** Metadata & Adding Files\
**Tags:** server-synology\
**Created:** [November 15, 2024, 11:32am UTC](https://forums.plex.tv/t/auto-scan-doesnt-work/895537 "2024-11-15T11:32:45Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Funkmaster](https://avatars.discourse-cdn.com/v4/letter/f/a5b964/32.png) [@Funkmaster](https://forums.plex.tv/u/Funkmaster)\
**Post date:** [November 15, 2024, 11:32am UTC](https://forums.plex.tv/t/auto-scan-doesnt-work/895537/1 "2024-11-15T11:32:45Z")

</div>

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.

 ![image](https://global.discourse-cdn.com/plex/original/4X/5/9/e/59e3a5e2b036060d33c2dc7c3caa5c37a4560eb8.png)

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

---

<div class="post-metadata">

**Author:** ![dbirch](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@dbirch](https://forums.plex.tv/u/dbirch)\
**Post date:** [November 15, 2024, 1:38pm UTC](https://forums.plex.tv/t/auto-scan-doesnt-work/895537/2 "2024-11-15T13:38:24Z")

</div>

Post a copy of your [server logs](https://support.plex.tv/articles/200250417-plex-media-server-log-files/)

---

<div class="post-metadata">

**Author:** ![Funkmaster](https://avatars.discourse-cdn.com/v4/letter/f/a5b964/32.png) [@Funkmaster](https://forums.plex.tv/u/Funkmaster)\
**Post date:** [November 15, 2024, 1:50pm UTC](https://forums.plex.tv/t/auto-scan-doesnt-work/895537/3 "2024-11-15T13:50:56Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dbirch](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@dbirch](https://forums.plex.tv/u/dbirch)\
**Post date:** [November 15, 2024, 2:01pm UTC](https://forums.plex.tv/t/auto-scan-doesnt-work/895537/4 "2024-11-15T14:01:26Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [November 15, 2024, 3:42pm UTC](https://forums.plex.tv/t/auto-scan-doesnt-work/895537/5 "2024-11-15T15:42:36Z")

</div>

Consider this:

> [@Synology FAQ - Questions, Answers, and How-To's](https://forums.plex.tv/t/490215/22):
>
> FAQ 16: Increase the number of folders Plex can monitor Applicable to all supported versions of DSM. When the Linux ‘inotify’ table fills up, this will cause when Plex to stop automatically detecting new media you add to the server. It will also manifest when there are transcoder problems with Dolby audio codecs. Linux has a default table size which is static. We can increase this at will. On some versions it’s 8192. On newer kernels, the default is 65536 folders. This is easy to incr…

---

<div class="post-metadata">

**Author:** ![Funkmaster](https://avatars.discourse-cdn.com/v4/letter/f/a5b964/32.png) [@Funkmaster](https://forums.plex.tv/u/Funkmaster)\
**Post date:** [November 15, 2024, 5:27pm UTC](https://forums.plex.tv/t/auto-scan-doesnt-work/895537/6 "2024-11-15T17:27:23Z")

</div>

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?

 ![image](https://global.discourse-cdn.com/plex/original/4X/5/0/1/50173581195630da2d4f541d70429156fea5d97d.png)

---

<div class="post-metadata">

**Author:** ![Funkmaster](https://avatars.discourse-cdn.com/v4/letter/f/a5b964/32.png) [@Funkmaster](https://forums.plex.tv/u/Funkmaster)\
**Post date:** [November 15, 2024, 6:11pm UTC](https://forums.plex.tv/t/auto-scan-doesnt-work/895537/7 "2024-11-15T18:11:23Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [November 15, 2024, 6:24pm UTC](https://forums.plex.tv/t/auto-scan-doesnt-work/895537/8 "2024-11-15T18:24:53Z")

</div>

The inotify table is small on Synology.

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

---

<div class="post-metadata">

**Author:** ![Funkmaster](https://avatars.discourse-cdn.com/v4/letter/f/a5b964/32.png) [@Funkmaster](https://forums.plex.tv/u/Funkmaster)\
**Post date:** [November 16, 2024, 5:31am UTC](https://forums.plex.tv/t/auto-scan-doesnt-work/895537/9 "2024-11-16T05:31:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [November 16, 2024, 6:13am UTC](https://forums.plex.tv/t/auto-scan-doesnt-work/895537/10 "2024-11-16T06:13:33Z")

</div>

@Funkmaster

The way to verify it works –

1. Make certain PMS [DEBUG logging](https://support.plex.tv/articles/201643703-reporting-issues-with-plex-media-server/#toc-1) 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)

---

<div class="post-metadata">

**Author:** ![Funkmaster](https://avatars.discourse-cdn.com/v4/letter/f/a5b964/32.png) [@Funkmaster](https://forums.plex.tv/u/Funkmaster)\
**Post date:** [November 16, 2024, 6:43am UTC](https://forums.plex.tv/t/auto-scan-doesnt-work/895537/11 "2024-11-16T06:43:17Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [November 16, 2024, 7:07am UTC](https://forums.plex.tv/t/auto-scan-doesnt-work/895537/12 "2024-11-16T07:07:34Z")

</div>

then it’s resoved

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [February 14, 2025, 7:07am UTC](https://forums.plex.tv/t/auto-scan-doesnt-work/895537/13 "2025-02-14T07:07:58Z")

</div>

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