# Libraries Not Detecting Changes

**URL:** <https://forums.plex.tv/t/libraries-not-detecting-changes/780655>\
**Category:** Plex Media Server\
**Tags:** server-synology, scanner-agent-dev\
**Created:** [March 15, 2022, 12:15am UTC](https://forums.plex.tv/t/libraries-not-detecting-changes/780655 "2022-03-15T00:15:06Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![rpmurph83](https://avatars.discourse-cdn.com/v4/letter/r/d07c76/32.png) [@rpmurph83](https://forums.plex.tv/u/rpmurph83)\
**Post date:** [March 15, 2022, 12:15am UTC](https://forums.plex.tv/t/libraries-not-detecting-changes/780655/1 "2022-03-15T00:15:06Z")

</div>

I recently moved from my Synology DS916+ to a DS1621xs+ (both DSM 7) and while all my media is showing up and plays when I add/remove files to the libraries, Plex is not detecting the changes. It does seem to recognize them during the scheduled scans though. Confirmed all shared folders where the media resides have the Plex Media Server permissions. Some of the folders are movies, some tv shows, and others just media files.

I’ve tried restarting the Plex package and checking/unchecking the “Run a partial scan when changes are detected .”

Did notice this in the console logs. Not sure if it’s related though. PubSub: Received notifyConnectivity event with incorrect async identifier (16b81656-7938-46b4-b7e7-30c10e0c99ed, expected 30163456-3b77-45be-8ef4-d95378e3a8de)

Any help would be appreciated. Thanks in advance.

Server Version#: 1.25.6.5577  
Player Version#: 4.76.1

---

<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:** [March 15, 2022, 1:32am UTC](https://forums.plex.tv/t/libraries-not-detecting-changes/780655/2 "2022-03-15T01:32:26Z")

</div>

When you restart Plex, after it settles and you pull the logs, do you see “No space left on device” errors ?

---

<div class="post-metadata">

**Author:** ![rpmurph83](https://avatars.discourse-cdn.com/v4/letter/r/d07c76/32.png) [@rpmurph83](https://forums.plex.tv/u/rpmurph83)\
**Post date:** [March 15, 2022, 1:54am UTC](https://forums.plex.tv/t/libraries-not-detecting-changes/780655/3 "2022-03-15T01:54:56Z")

</div>

No i don’t. Did a search for that text in the logs as well and nothing comes back. The volume has about 7TB of free space if this is relating to actual free space on the volume.

It’s weird that the scheduled scans work, but not it’s recognizing when something is added or deleted from the folder. A manual scan of the library works as well…

---

<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:** [March 15, 2022, 3:22am UTC](https://forums.plex.tv/t/libraries-not-detecting-changes/780655/4 "2022-03-15T03:22:26Z")

</div>

No Space left on device does not refer to the volume.  
It refers to the kernel’s inotify table space.

If you have more directories to monitor (automatically) than it can hold, you get notified it’s full (no more slots)

The list is loaded at PMS start. Because of activity, the logs will quickly roll over so promptness is needed

---

<div class="post-metadata">

**Author:** ![rpmurph83](https://avatars.discourse-cdn.com/v4/letter/r/d07c76/32.png) [@rpmurph83](https://forums.plex.tv/u/rpmurph83)\
**Post date:** [March 15, 2022, 1:48pm UTC](https://forums.plex.tv/t/libraries-not-detecting-changes/780655/5 "2022-03-15T13:48:53Z")

</div>

I just stopped and started Plex again and you’re right, when quickly looking at the logs i do see a logs with (28: “no space left”)

Based on this information, how would I go about resolving the issue?

---

<div class="post-metadata">

**Author:** ![rpmurph83](https://avatars.discourse-cdn.com/v4/letter/r/d07c76/32.png) [@rpmurph83](https://forums.plex.tv/u/rpmurph83)\
**Post date:** [March 15, 2022, 2:38pm UTC](https://forums.plex.tv/t/libraries-not-detecting-changes/780655/6 "2022-03-15T14:38:52Z")

</div>

Actually, may have resolved the issue. …I modified my music library to include a smaller number of directories and then optimized database and cleaned the bundles and it seems to be recognizing changes to the folders now.

I’m curious though how you would resolve this if I didn’t modify the music library to included less directories.

---

<div class="post-metadata">

**Author:** ![rpmurph83](https://avatars.discourse-cdn.com/v4/letter/r/d07c76/32.png) [@rpmurph83](https://forums.plex.tv/u/rpmurph83)\
**Post date:** [March 17, 2022, 9:27pm UTC](https://forums.plex.tv/t/libraries-not-detecting-changes/780655/7 "2022-03-17T21:27:17Z")

</div>

Just curious if you had an update on how to fix this if I hadn’t modified that music library to include less folders? Thank you.

---

<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:** [March 17, 2022, 10:16pm UTC](https://forums.plex.tv/t/libraries-not-detecting-changes/780655/8 "2022-03-17T22:16:00Z")

</div>

It’s a very simple procedure to increase the system-wide total.

> [@Synology FAQ - Questions, Answers, and How-To's](https://forums.plex.tv/t/synology-faq-questions-answers-and-a-few-how-tos/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:** ![rpmurph83](https://avatars.discourse-cdn.com/v4/letter/r/d07c76/32.png) [@rpmurph83](https://forums.plex.tv/u/rpmurph83)\
**Post date:** [March 18, 2022, 12:39am UTC](https://forums.plex.tv/t/libraries-not-detecting-changes/780655/9 "2022-03-18T00:39:38Z")

</div>

Thank you very much for the detailed instructions! This procedure is a new one for me, but I plan to test it out on a copy of my library running in a virtual DSM.

---

<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:** [March 18, 2022, 2:15am UTC](https://forums.plex.tv/t/libraries-not-detecting-changes/780655/10 "2022-03-18T02:15:34Z")

</div>

That procedure has been around since early DSM 6.

If you do the counting and the math correctly  
then edit the Scheduled Task as written (with edited values), it’ll be fne.  
No virtual DSM required because it doesn’t insulate. Virtual DSM isn’t really a VM; it’s a container on top of DSM.

---

<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:** [June 16, 2022, 2:15am UTC](https://forums.plex.tv/t/libraries-not-detecting-changes/780655/11 "2022-06-16T02:15:59Z")

</div>

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