Library stopped updating

Server Version#: 1.32.8.7639
Player Version#: Not relevant
<If providing server logs please do NOT turn on verbose logging, only debug logging should be enabled>

It suddenly stopped for no reason. I have restarted the container and the server, still the same issue. It updates when I do it manually. I’ve tried to optimize the library.

Sounds like you hit the max directory threshold.

The easy verification of this:

  1. With DEBUG server logging enabled,
  2. Restart PMS
  3. Wait 3 minutes (no activity)
  4. Download the logs ZIP file
  5. Open it and look at “Plex Media Server.log”
  6. Search for “No space left on device” as it attempts to setup the inotify service

If you don’t find anything, please share your logs ZIP file and we’ll look.

Otherwise –

What’s happening here -

  1. Linux has a table in the kernel for the file notification service (inode notify - inotify)
  2. When that table fills, New content additions won’t notify PMS to scan and add the new media files

The solution is simple – Increase the size of the table from its default to accommodate what you need (with a bit extra for growth)

On Synology, we have to increase the table size indirectly.

Here’s the How-To which will let you figure out what you need, round up to add room for growth, then update the kernel table.

You do this to DSM itself. PMS in the container uses that same table.

Plex Media Server Logs_2023-11-30_18-52-59.zip (2.7 MB)
Thanks for the support. Didn’t find any log with “No space left on device” though.

Thank you for the logs.

They confirm you haven’t overflowed the table.

Nov 30, 2023 18:51:52.213 [140584389086008] DEBUG - [Notify] Now watching "/data/media/tv/All the Light We Cannot See/Season 1"
Nov 30, 2023 18:51:52.213 [140584389086008] DEBUG - [Notify] Now watching "/data/media/tv/Wayne"
Nov 30, 2023 18:51:52.213 [140584389086008] DEBUG - [Notify] Now watching "/data/media/tv/Wayne/Season 1"
Nov 30, 2023 18:51:52.213 [140584452819768] DEBUG - Completed: [192.168.1.156:51333] 200 GET /activities (7 live) #38 TLS GZIP 0ms 621 bytes (pipelined: 4)
Nov 30, 2023 18:51:52.218 [140584436996920] DEBUG - Request: [127.0.0.1:44544 (Loopback)] GET /:/plugins/com.plexapp.system/resourceHashes (8 live) #3a GZIP Signed-in Token (joesoes)
Nov 30, 2023 18:51:52.218 [140584436996920] DEBUG - [Req#3a] [com.plexapp.system] Sending command over HTTP (GET): /:/plugins/com.plexapp.system/resourceHashes
Nov 30, 2023 18:51:52.218 [140584436996920] DEBUG - [Req#3a/HCl#1e] HTTP requesting GET http://127.0.0.1:36322/:/plugins/com.plexapp.system/resourceHashes
Nov 30, 2023 18:51:52.262 [140584418794296] DEBUG - [HttpClient/HCl#1d] HTTP/2.0 (0.1s) 200 response from GET https://plex.tv/updater/products/5/check.xml?build

The very next thing to check on Synology are file permissions (Synology is very strict).

A common issue with permissions is the scenario:

  1. You set permissions for the shared folder(s) containing media
  2. You “Apply to this folder , sub folders, and files” to propagate and set everything.
  3. You later come in with SMB to upload more media.

Those media files don’t inherit the parent permissions.
They retain the permissions of your SMB user.

If your SMB permissions don’t include Plex, these files will get skipped.

Might that be the case here ?

Next, being in a container, is the mapping (logical → physical) confirmed ?

Thank you for checking. As a non techy person, I’m not sure I’m following.

When I set up Plex, I was following this guide: Step 2: Setting up a restricted Docker user and group then obtaining IDs and when checking the permissions on the media folder, my docker user seems to have the correct permissions.

Click the “Apply to this folder, sub-folders and files” again and then click SAVE.

This will apply the permissions again recursively.

If this doesn’t work then we have to check the naming / matching.

Thanks! That seems to have solved the issue. By pulling and dragging downwards in the tv section in the iOS app, I might have triggered an update, not sure. But I’ll just wait and see if it’s resolved.

Edit: Yeah, that did the trick. My library had updated when I checked this morning :grinning:

1 Like

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