# Libraries not auto-updating

**URL:** <https://forums.plex.tv/t/libraries-not-auto-updating/689357>\
**Category:** Metadata & Adding Files\
**Tags:** server-docker, library-management\
**Created:** [February 11, 2021, 7:48pm UTC](https://forums.plex.tv/t/libraries-not-auto-updating/689357 "2021-02-11T19:48:57Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![tge101](https://avatars.discourse-cdn.com/v4/letter/t/edb3f5/32.png) [@tge101](https://forums.plex.tv/u/tge101)\
**Post date:** [February 11, 2021, 7:48pm UTC](https://forums.plex.tv/t/libraries-not-auto-updating/689357/1 "2021-02-11T19:48:58Z")

</div>

Server Version#: 1.21.3.4021  
Player Version#:

I am running as a docker container on OMV. The media drive is an external USB drive and worked up until recently. The automatic library updates stopped around the time I noticed that pictures weren’t being tagged.

---

<div class="post-metadata">

**Author:** ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)\
**Post date:** [February 11, 2021, 8:26pm UTC](https://forums.plex.tv/t/libraries-not-auto-updating/689357/2 "2021-02-11T20:26:33Z")

</div>

I suppose you could experience this if the host OMV is monitoring too many folders

> [@Linux Tips](https://forums.plex.tv/t/linux-tips/276247/9):
>
> Increase the number of directories Linux can monitor (inotify) for PMS The default size of the Linux inotify table is 8192 directories (\*1). When PMS is configured to update automatically when media is added, with properly organized media, especially music, this table rapidly fills and exceeds the default allocation requiring you to increase it. The solution to this is straight forward. Increasing the table size is easy. The first step is to determine how many directories to alloca…

---

<div class="post-metadata">

**Author:** ![tge101](https://avatars.discourse-cdn.com/v4/letter/t/edb3f5/32.png) [@tge101](https://forums.plex.tv/u/tge101)\
**Post date:** [February 11, 2021, 8:29pm UTC](https://forums.plex.tv/t/libraries-not-auto-updating/689357/3 "2021-02-11T20:29:03Z")

</div>

Can’t be that, I’m at 4312

---

<div class="post-metadata">

**Author:** ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)\
**Post date:** [February 11, 2021, 8:43pm UTC](https://forums.plex.tv/t/libraries-not-auto-updating/689357/4 "2021-02-11T20:43:42Z")

</div>

Can you verify the max allowed watches?  
Not a docker expert… might be interesting if there’s a difference running this on the host vs. inside the container…

```auto
sysctl fs.inotify.max_user_watches

```

---

<div class="post-metadata">

**Author:** ![tge101](https://avatars.discourse-cdn.com/v4/letter/t/edb3f5/32.png) [@tge101](https://forums.plex.tv/u/tge101)\
**Post date:** [February 11, 2021, 8:45pm UTC](https://forums.plex.tv/t/libraries-not-auto-updating/689357/5 "2021-02-11T20:45:25Z")

</div>

It’s the 8192 from the article you posted. I’ve even spun up a separate instance and only added my Music folder as a library, testing it still isn’t auto-updating. I have all the scan options selected in the Settings so I’m not sure what is going on here.

---

<div class="post-metadata">

**Author:** ![tge101](https://avatars.discourse-cdn.com/v4/letter/t/edb3f5/32.png) [@tge101](https://forums.plex.tv/u/tge101)\
**Post date:** [February 12, 2021, 9:58pm UTC](https://forums.plex.tv/t/libraries-not-auto-updating/689357/6 "2021-02-12T21:58:23Z")

</div>

Would logs help at all?

---

<div class="post-metadata">

**Author:** ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)\
**Post date:** [February 12, 2021, 10:10pm UTC](https://forums.plex.tv/t/libraries-not-auto-updating/689357/7 "2021-02-12T22:10:19Z")

</div>

not sure; do you get those updates by triggering a manual library scan?

---

<div class="post-metadata">

**Author:** ![tge101](https://avatars.discourse-cdn.com/v4/letter/t/edb3f5/32.png) [@tge101](https://forums.plex.tv/u/tge101)\
**Post date:** [February 12, 2021, 10:10pm UTC](https://forums.plex.tv/t/libraries-not-auto-updating/689357/8 "2021-02-12T22:10:52Z")

</div>

Yea, manual scans work fine. I just don’t understand what changed.

---

<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:** [May 13, 2021, 10:11pm UTC](https://forums.plex.tv/t/libraries-not-auto-updating/689357/9 "2021-05-13T22:11:08Z")

</div>

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