Jellyfin Forum
Cleanup collection task - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Cleanup collection task (/t-cleanup-collection-task)



Cleanup collection task - FrederikSchack - 2024-08-21

Hi,

I got most things to work in Jellyfin and thanks to this forum I got collections to get cover art, but now the other collections that I managed manually were emptied. One was a collection of IPTV channels, the other was a collection of my top movies.

It could be the scheduled task CleanupCollectionAndPlaylistPathsTask that is cleaning out items that it can't find for some reason, I have several lines of this:
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null

Anybody with experience in this? And any suggestions how to handle this?


RE: Cleanup collection task - TheDreadPirate - 2024-08-21

Can you share your full jellyfin log via pastebin?


RE: Cleanup collection task - FrederikSchack - 2024-08-21

(2024-08-21, 04:38 PM)TheDreadPirate Wrote: Can you share your full jellyfin log via pastebin?

I'm going to paste for the relevant period where the folders were emptied. We had a power outage, so there was a server restart, which triggered the container cleaning and I suspect that this caused the emptying.


[06:07:12] [INF] [41] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for Frederik. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[06:07:13] [WRN] [54] MediaBrowser.Controller.Entities.BaseItem: Library folder /config/data/data/playlists is inaccessible or empty, skipping
[06:07:13] [WRN] [6] MediaBrowser.Controller.Entities.BaseItem: Library folder /config/data/data/playlists is inaccessible or empty, skipping
[06:07:16] [INF] [60] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting /usr/lib/jellyfin-ffmpeg/ffprobe with args -analyzeduration 200M -probesize 1G -i file:"/data/movies/The Man with the Golden Gun (1974)/The Man with the Golden Gun 1974 1080p BluRay DD+ 5.1 x265-edge2020.mkv" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format
[06:07:34] [INF] [60] Emby.Server.Implementations.ScheduledTasks.TaskManager: Scan Media Library Completed after 0 minute(s) and 23 seconds
[06:07:34] [ERR] [42] Emby.Server.Implementations.IO.LibraryMonitor: Error in Directory watcher for: /data/movies
System.IO.IOException: The configured user limit (8192) on the number of inotify watches has been reached, or the operating system failed to allocate a required resource.
[06:07:34] [INF] [42] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path /data/movies
[06:07:34] [ERR] [41] Emby.Server.Implementations.IO.LibraryMonitor: Error in Directory watcher for: /data/tvshows
System.IO.IOException: The configured user limit (8192) on the number of inotify watches has been reached, or the operating system failed to allocate a required resource.
[06:07:34] [INF] [41] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path /data/tvshows
[06:07:34] [INF] [42] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /data/movies
[06:07:34] [INF] [41] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /data/tvshows
[06:07:35] [INF] [68] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app Jellyfin Web 10.9.9 playing DRTV. Stopped at 63897 ms
[06:07:35] [INF] [68] Emby.Server.Implementations.Library.MediaSourceManager: Live stream 00fc66f4f125c834db9f845c72cf36db consumer count is now 0
[06:07:35] [INF] [68] Emby.Server.Implementations.Library.MediaSourceManager: Closing live stream e2329f4997b378e64ccf8fa396deb76e_af999c25a00715699361240d4c6c7a53_00fc66f4f125c834db9f845c72cf36db
[06:07:35] [INF] [68] Jellyfin.LiveTv.TunerHosts.M3UTunerHost: Closing LiveStream
[06:07:35] [INF] [68] Emby.Server.Implementations.Library.MediaSourceManager: Live stream e2329f4997b378e64ccf8fa396deb76e_af999c25a00715699361240d4c6c7a53_00fc66f4f125c834db9f845c72cf36db closed successfully
[06:08:48] [WRN] [88] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS 192.168.1.180 error receiving data: The remote party closed the WebSocket connection without completing the close handshake.
[06:08:48] [INF] [88] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 192.168.1.180 closed
[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────
      ██╗    ███████╗██╗ ██████╗
      ██║    ██╔════╝██║██╔═══██╗
      ██║    ███████╗██║██║  ██║
      ██║    ╚════██║██║██║  ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝
  Brought to you by linuxserver.io
───────────────────────────────────────
To support the app dev(s) visit:
Jellyfin: https://opencollective.com/jellyfin
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    1000
User GID:    1000
───────────────────────────────────────
[custom-init] No custom files found, skipping...
[08:19:23] [INF] [1] Main: Jellyfin version: 10.9.9
[08:19:23] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_CONFIG_DIR, /config]", "[JELLYFIN_DATA_DIR, /config/data]", "[JELLYFIN_CACHE_DIR, /config/cache]", "[JELLYFIN_WEB_DIR, /usr/share/jellyfin/web]"]
[08:19:23] [INF] [1] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"]
[08:19:23] [INF] [1] Main: Operating system: Ubuntu 22.04.4 LTS
[08:19:23] [INF] [1] Main: Architecture: X64
[08:19:23] [INF] [1] Main: 64-Bit Process: True
[08:19:23] [INF] [1] Main: User Interactive: True
[08:19:23] [INF] [1] Main: Processor count: 4
[08:19:23] [INF] [1] Main: Program data path: /config/data
[08:19:23] [INF] [1] Main: Log directory path: /config/log
[08:19:23] [INF] [1] Main: Config directory path: /config
[08:19:23] [INF] [1] Main: Cache path: /config/cache
[08:19:23] [INF] [1] Main: Web resources path: /usr/share/jellyfin/web
[08:19:23] [INF] [1] Main: Application directory: /usr/lib/jellyfin/bin/
[08:19:23] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /config/cache
[08:19:24] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
[08:19:24] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.Opds, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/OPDS_5.0.0.0/Jellyfin.Plugin.Opds.dll
[08:19:24] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.OpenSubtitles, Version=20.0.0.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/Open Subtitles_20.0.0.0/Jellyfin.Plugin.OpenSubtitles.dll
[08:19:24] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.TMDbBoxSets, Version=11.0.0.0, Culture=neutral, PublicKeyToken=null from /config/data/plugins/TMDb Box Sets_11.0.0.0/Jellyfin.Plugin.TMDbBoxSets.dll
[08:19:24] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[08:19:24] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
[08:19:24] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Used LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[08:19:24] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered interface addresses: ["127.0.0.1", "172.18.0.6"]
[08:19:24] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Bind Addresses ["0.0.0.0"]
[08:19:24] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is Allowlist
[08:19:24] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered subnets: []
[08:19:33] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: OPDS Feed 5.0.0.0
[08:19:33] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Open Subtitles 20.0.0.0
[08:19:33] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: TMDb Box Sets 11.0.0.0
[08:19:33] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: TMDb 10.9.9.0
[08:19:33] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Studio Images 10.9.9.0
[08:19:33] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: OMDb 10.9.9.0
[08:19:33] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: MusicBrainz 10.9.9.0
[08:19:33] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AudioDB 10.9.9.0
[08:19:33] [WRN] [1] Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository: Using an in-memory repository. Keys will not be persisted to storage.
[08:19:33] [WRN] [1] Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager: Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits.
[08:19:33] [INF] [1] Main: Kestrel is listening on 0.0.0.0
[08:19:33] [WRN] [1] Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager: No XML encryptor configured. Key {1c04735c-f567-418a-a235-9370c4f7406f} may be persisted to storage in unencrypted form.
[08:19:34] [INF] [1] Jellyfin.Networking.PortForwardingHost: Starting NAT discovery
[08:19:34] [WRN] [1] Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware: The WebRootPath was not found: /run/s6-rc:s6-rc-init:hplbDK/servicedirs/svc-jellyfin/wwwroot. Static files may be unavailable.
[08:19:34] [INF] [1] Emby.Server.Implementations.ApplicationHost: Running startup tasks
[08:19:34] [ERR] [11] Emby.Server.Implementations.IO.LibraryMonitor: Error in Directory watcher for: /data/movies
System.IO.IOException: The configured user limit (8192) on the number of inotify watches has been reached, or the operating system failed to allocate a required resource.
[08:19:34] [ERR] [8] Emby.Server.Implementations.IO.LibraryMonitor: Error in Directory watcher for: /data/tvshows
System.IO.IOException: The configured user limit (8192) on the number of inotify watches has been reached, or the operating system failed to allocate a required resource.
[08:19:34] [INF] [11] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path /data/movies
[08:19:34] [INF] [8] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path /data/tvshows
[08:19:34] [INF] [11] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /data/movies
[08:19:34] [INF] [8] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /data/tvshows
[08:19:34] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for Generate Trickplay Images set to fire at 2024-08-22 03:00:00.000 -03:00, which is 18:40:25.1919001 from now.
[08:19:34] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for Extract Chapter Images set to fire at 2024-08-22 02:00:00.000 -03:00, which is 17:40:25.1878321 from now.
[08:19:34] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found ffmpeg version 6.0.1
[08:19:35] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available decoders: ["libdav1d", "av1", "av1_cuvid", "av1_qsv", "h264", "h264_qsv", "h264_cuvid", "hevc", "hevc_qsv", "hevc_cuvid", "mpeg2video", "mpeg2_qsv", "mpeg2_cuvid", "mpeg4", "mpeg4_cuvid", "msmpeg4", "vc1_qsv", "vc1_cuvid", "vp8", "libvpx", "vp8_cuvid", "vp8_qsv", "vp9", "libvpx-vp9", "vp9_cuvid", "vp9_qsv", "aac", "ac3", "dca", "flac", "mp3", "truehd"]
[08:19:35] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available encoders: ["libsvtav1", "av1_nvenc", "av1_qsv", "av1_amf", "av1_vaapi", "libx264", "h264_amf", "h264_nvenc", "h264_qsv", "h264_v4l2m2m", "h264_vaapi", "libx265", "hevc_amf", "hevc_nvenc", "hevc_qsv", "hevc_vaapi", "mjpeg_qsv", "mjpeg_vaapi", "mpeg4", "msmpeg4", "libvpx", "libvpx-vp9", "aac", "libfdk_aac", "ac3", "alac", "dca", "flac", "libmp3lame", "libopus", "truehd", "libvorbis", "srt"]
[08:19:35] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available filters: ["deinterlace_qsv", "deinterlace_vaapi", "hwupload_cuda", "hwupload_vaapi", "libplacebo", "overlay_opencl", "overlay_qsv", "overlay_vaapi", "overlay_vulkan", "overlay_cuda", "procamp_vaapi", "scale_cuda", "scale_opencl", "scale_qsv", "scale_vaapi", "scale_vulkan", "tonemap_cuda", "tonemap_opencl", "tonemap_vaapi", "vpp_qsv", "yadif_cuda", "zscale", "alphasrc"]
[08:19:35] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available hwaccel types: ["cuda", "vaapi", "qsv", "drm", "opencl", "vulkan"]
[08:19:35] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: /usr/lib/jellyfin-ffmpeg/ffmpeg
[08:19:35] [INF] [1] Emby.Server.Implementations.ApplicationHost: ServerId: 3ff9bf0d20284dae89b8ffa8a3fb83a9
[08:19:35] [INF] [1] Emby.Server.Implementations.ApplicationHost: Core startup complete
[08:19:35] [INF] [1] Main: Startup complete 0:00:21.2180996
[ls.io-init] done.
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in TV Channels cannot be found at null
[08:19:38] [INF] [8] Emby.Server.Implementations.ScheduledTasks.TaskManager: Clean up collections and playlists Completed after 0 minute(s) and 0 seconds
[08:19:42] [INF] [14] Emby.Server.Implementations.ScheduledTasks.TaskManager: Update Plugins Completed after 0 minute(s) and 4 seconds
[09:56:24] [INF] [75] Emby.Server.Implementations.ScheduledTasks.TaskManager: Audio Normalization Completed after 0 minute(s) and 0 seconds
[09:56:25] [INF] [77] Emby.Server.Implementations.ScheduledTasks.TaskManager: TasksRefreshChannels Completed after 0 minute(s) and 0 seconds
[12:39:03] [INF] [28] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 192.168.1.162 request
[12:44:27] [INF] [30] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[12:47:15] [INF] [42] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[12:50:03] [INF] [49] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[12:53:27] [INF] [48] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[12:56:15] [INF] [56] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[12:59:03] [INF] [59] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[13:05:09] [ERR] [56] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL GET /Items/71e0bde5194795b09bcd33560fc37a34/Images/Primary.
System.InvalidOperationException: Unable to convert any images to local


RE: Cleanup collection task - TheDreadPirate - 2024-08-21

Is your collection for live TV channels?

You can disable this in Dashboard > Scheduled tasks. Open the playlist cleanup job and delete the trigger to run it on startup.


RE: Cleanup collection task - FrederikSchack - 2024-08-22

(2024-08-21, 09:21 PM)TheDreadPirate Wrote: Is your collection for live TV channels?

You can disable this in Dashboard > Scheduled tasks.  Open the playlist cleanup job and delete the trigger to run it on startup.

They are IPTV channels and favorite movies, they all got cleaned out. I guess I can live with not having the cleanup job running Smiling-face


RE: Cleanup collection task - TheDreadPirate - 2024-08-22

I just noticed this part.

Code:
[08:19:34] [ERR] [8] Emby.Server.Implementations.IO.LibraryMonitor: Error in Directory watcher for: /data/tvshows
System.IO.IOException: The configured user limit (8192) on the number of inotify watches has been reached, or the operating system failed to allocate a required resource.

Are these network shares? Do you have real time monitoring enabled for these libraries? If yes to both, disable real time monitoring. NFS and SMB do not support that. NFS does, in theory. In practice it doesn't.


RE: Cleanup collection task - FrederikSchack - 2024-08-23

(2024-08-22, 05:23 PM)TheDreadPirate Wrote: I just noticed this part.

Code:
[08:19:34] [ERR] [8] Emby.Server.Implementations.IO.LibraryMonitor: Error in Directory watcher for: /data/tvshows
System.IO.IOException: The configured user limit (8192) on the number of inotify watches has been reached, or the operating system failed to allocate a required resource.

Are these network shares?  Do you have real time monitoring enabled for these libraries?  If yes to both, disable real time monitoring.  NFS and SMB do not support that.  NFS does, in theory.  In practice it doesn't.

Oh, thanks a lot, I didn't know that. 

Yes, they are network shares, although on a virtual network.

My configuration:
Windows 2022 Server
-SMB Shares
-Hyper V
--Alpine Linux
---Docker
----Jellyfin

The SMB Shares are mounted as CIFS volumes in Docker

From my experience, this is the nicest setup for me. I don't like to nerd excessively Smiling-face