• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Media Scanner does not scan Library

     
    • 0 Vote(s) - 0 Average

    Media Scanner does not scan Library

    Brummi
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2024 Feb
    Reputation: 0
    Country:Germany
    #1
    2024-02-29, 03:32 PM (This post was last modified: 2024-02-29, 03:34 PM by Brummi. Edited 1 time in total.)
    Hi team,

    could you please help me out?

    I am running Jellyfin 10.8.13 on a Synology DS918+ NAS running under DSM 7.1.1 - 42962 Update 6. I did use the SynoCommunity package from Steven for installation. I am using Jellfin with libraries for movies, photos, serials and video (home video). All of that worked out fine for several month.

    Now suddenly Jellyfin does no longer scan my libraries even if I directly tell it to do so. Out of the Log I believe to recognize some kind of path issue. But me being a Unix Newbie having troubles deciphering those messages.
    Does anyone of you guys have an idea where to look?
    Or even how I could access these strange paths to look up what is there to be found?

    Any help appreciated.

    regards
    Brummi

    Here a part out of the Log:

    [2024-02-28 21:15:52.387 +01:00] [INF] [252] Emby.Server.Implementations.Library.LibraryManager: Validating media library
    [2024-02-28 21:15:52.426 +01:00] [ERR] [135] Emby.Server.Implementations.Library.LibraryManager: Cannot compute blurhash for "/volume1/@appstore/jellyfin/var/data/root/default/Fotos/folder.jpg"
    System.NullReferenceException: Object reference not set to an instance of an object.
      at BlurHashSharp.SkiaSharp.BlurHashEncoder.Encode(Int32 xComponent, Int32 yComponent, String filename, Int32 maxWidth, Int32 maxHeight)
      at Jellyfin.Drawing.Skia.SkiaEncoder.GetImageBlurHash(Int32 xComp, Int32 yComp, String path)
      at Emby.Drawing.ImageProcessor.GetImageBlurHash(String path, ImageDimensions imageDimensions)
      at Emby.Server.Implementations.Library.LibraryManager.UpdateImagesAsync(BaseItem item, Boolean forceUpdate)
    [2024-02-28 21:15:52.430 +01:00] [ERR] [135] MediaBrowser.Controller.Entities.BaseItem: Error refreshing owned items for "/volume1/@appstore/jellyfin/var/data/root/default/Sammlungen"
    System.IO.DirectoryNotFoundException: Could not find a part of the path '/volume1/@appstore/jellyfin/var/data/root/default/Sammlungen'.
      at System.IO.Enumeration.FileSystemEnumerator1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
      at System.IO.Enumeration.FileSystemEnumerator
    1.Init()
      at System.IO.Enumeration.FileSystemEnumerable1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
      at System.IO.Enumeration.FileSystemEnumerableFactory.FileSystemInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized)
      at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
      at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries(String path, Boolean recursive)
      at MediaBrowser.Controller.Providers.DirectoryService.<>c.<GetFileSystemEntries>b__5_0(String p, IFileSystem fileSystem)
      at System.Collections.Concurrent.ConcurrentDictionary
    2.GetOrAdd[TArg](TKey key, Func3 valueFactory, TArg factoryArgument)
      at MediaBrowser.Controller.IO.FileData.GetFilteredFileSystemEntries(IDirectoryService directoryService, String path, IFileSystem fileSystem, IServerApplicationHost appHost, ILogger logger, ItemResolveArgs args, Int32 flattenFolderDepth, Boolean resolveShortcuts)
      at MediaBrowser.Controller.Entities.CollectionFolder.CreateResolveArgs(IDirectoryService directoryService, Boolean setPhysicalLocations)
      at MediaBrowser.Controller.Entities.CollectionFolder.GetFileSystemChildren(IDirectoryService directoryService)
      at MediaBrowser.Controller.Entities.BaseItem.RefreshMetadata(MetadataRefreshOptions options, CancellationToken cancellationToken)
    [2024-02-28 21:15:52.430 +01:00] [ERR] [275] MediaBrowser.Controller.Entities.BaseItem: Error refreshing owned items for "/volume1/@appstore/jellyfin/var/data/root/default/Serien"
    System.IO.DirectoryNotFoundException: Could not find a part of the path '/volume1/@appstore/jellyfin/var/data/root/default/Serien'.
      at System.IO.Enumeration.FileSystemEnumerator
    1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
      at System.IO.Enumeration.FileSystemEnumerator1.Init()
      at System.IO.Enumeration.FileSystemEnumerable
    1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
      at System.IO.Enumeration.FileSystemEnumerableFactory.FileSystemInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized)
      at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
      at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries(String path, Boolean recursive)
      at MediaBrowser.Controller.Providers.DirectoryService.<>c.<GetFileSystemEntries>b__5_0(String p, IFileSystem fileSystem)
      at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd[TArg](TKey key, Func3 valueFactory, TArg factoryArgument)
      at MediaBrowser.Controller.IO.FileData.GetFilteredFileSystemEntries(IDirectoryService directoryService, String path, IFileSystem fileSystem, IServerApplicationHost appHost, ILogger logger, ItemResolveArgs args, Int32 flattenFolderDepth, Boolean resolveShortcuts)
      at MediaBrowser.Controller.Entities.CollectionFolder.CreateResolveArgs(IDirectoryService directoryService, Boolean setPhysicalLocations)
      at MediaBrowser.Controller.Entities.CollectionFolder.GetFileSystemChildren(IDirectoryService directoryService)
      at MediaBrowser.Controller.Entities.BaseItem.RefreshMetadata(MetadataRefreshOptions options, CancellationToken cancellationToken)
    [2024-02-28 21:15:52.430 +01:00] [ERR] [252] MediaBrowser.Controller.Entities.BaseItem: Error refreshing owned items for "/volume1/@appstore/jellyfin/var/data/root/default/Fotos"
    System.IO.DirectoryNotFoundException: Could not find a part of the path '/volume1/@appstore/jellyfin/var/data/root/default/Fotos'.
      at System.IO.Enumeration.FileSystemEnumerator1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
      at System.IO.Enumeration.FileSystemEnumerator
    1.Init()
      at System.IO.Enumeration.FileSystemEnumerable1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
      at System.IO.Enumeration.FileSystemEnumerableFactory.FileSystemInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized)
      at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
      at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries(String path, Boolean recursive)
      at MediaBrowser.Controller.Providers.DirectoryService.<>c.<GetFileSystemEntries>b__5_0(String p, IFileSystem fileSystem)
      at System.Collections.Concurrent.ConcurrentDictionary
    2.GetOrAdd[TArg](TKey key, Func3 valueFactory, TArg factoryArgument)
      at MediaBrowser.Controller.IO.FileData.GetFilteredFileSystemEntries(IDirectoryService directoryService, String path, IFileSystem fileSystem, IServerApplicationHost appHost, ILogger logger, ItemResolveArgs args, Int32 flattenFolderDepth, Boolean resolveShortcuts)
      at MediaBrowser.Controller.Entities.CollectionFolder.CreateResolveArgs(IDirectoryService directoryService, Boolean setPhysicalLocations)
      at MediaBrowser.Controller.Entities.CollectionFolder.GetFileSystemChildren(IDirectoryService directoryService)
      at MediaBrowser.Controller.Entities.BaseItem.RefreshMetadata(MetadataRefreshOptions options, CancellationToken cancellationToken)
    [2024-02-28 21:15:52.430 +01:00] [ERR] [189] MediaBrowser.Controller.Entities.BaseItem: Error refreshing owned items for "/volume1/@appstore/jellyfin/var/data/root/default/Filme"
    System.IO.DirectoryNotFoundException: Could not find a part of the path '/volume1/@appstore/jellyfin/var/data/root/default/Filme'.
      at System.IO.Enumeration.FileSystemEnumerator
    1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
      at System.IO.Enumeration.FileSystemEnumerator1.Init()
      at System.IO.Enumeration.FileSystemEnumerable
    1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
      at System.IO.Enumeration.FileSystemEnumerableFactory.FileSystemInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized)
      at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
      at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries(String path, Boolean recursive)
      at MediaBrowser.Controller.Providers.DirectoryService.<>c.<GetFileSystemEntries>b__5_0(String p, IFileSystem fileSystem)
      at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd[TArg](TKey key, Func3 valueFactory, TArg factoryArgument)
      at MediaBrowser.Controller.IO.FileData.GetFilteredFileSystemEntries(IDirectoryService directoryService, String path, IFileSystem fileSystem, IServerApplicationHost appHost, ILogger logger, ItemResolveArgs args, Int32 flattenFolderDepth, Boolean resolveShortcuts)
      at MediaBrowser.Controller.Entities.CollectionFolder.CreateResolveArgs(IDirectoryService directoryService, Boolean setPhysicalLocations)
      at MediaBrowser.Controller.Entities.CollectionFolder.GetFileSystemChildren(IDirectoryService directoryService)
      at MediaBrowser.Controller.Entities.BaseItem.RefreshMetadata(MetadataRefreshOptions options, CancellationToken cancellationToken)
    [2024-02-28 21:15:52.434 +01:00] [ERR] [275] Emby.Server.Implementations.IO.LibraryMonitor: Error watching path: "/volume1/@appdata/jellyfin/data/data/collections"
    System.IO.IOException: The configured user limit (12Nerd-face on the number of inotify instances has been reached, or the per-process limit on the number of open file descriptors has been reached.
      at System.IO.FileSystemWatcher.StartRaisingEvents()
      at Emby.Server.Implementations.IO.LibraryMonitor.<>c__DisplayClass19_0.<StartWatchingPath>b__0()
    [2024-02-28 21:15:52.434 +01:00] [ERR] [252] Emby.Server.Implementations.IO.LibraryMonitor: Error watching path: "/volume1/movie"
    System.IO.IOException: The configured user limit (12Nerd-face on the number of inotify instances has been reached, or the per-process limit on the number of open file descriptors has been reached.
      at System.IO.FileSystemWatcher.StartRaisingEvents()
      at Emby.Server.Implementations.IO.LibraryMonitor.<>c__DisplayClass19_0.<StartWatchingPath>b__0()
    [2024-02-28 21:15:52.435 +01:00] [ERR] [275] Emby.Server.Implementations.IO.LibraryMonitor: Error watching path: "/volume1/photo"
    System.IO.IOException: The configured user limit (12Nerd-face on the number of inotify instances has been reached, or the per-process limit on the number of open file descriptors has been reached.
      at System.IO.FileSystemWatcher.StartRaisingEvents()
      at Emby.Server.Implementations.IO.LibraryMonitor.<>c__DisplayClass19_0.<StartWatchingPath>b__0()
    [2024-02-28 21:15:52.435 +01:00] [ERR] [252] Emby.Server.Implementations.IO.LibraryMonitor: Error watching path: "/volume1/serial"
    System.IO.IOException: The configured user limit (12Nerd-face on the number of inotify instances has been reached, or the per-process limit on the number of open file descriptors has been reached.
      at System.IO.FileSystemWatcher.StartRaisingEvents()
      at Emby.Server.Implementations.IO.LibraryMonitor.<>c__DisplayClass19_0.<StartWatchingPath>b__0()
    [2024-02-28 21:15:52.435 +01:00] [ERR] [135] Emby.Server.Implementations.IO.LibraryMonitor: Error watching path: "/volume1/video"
    System.IO.IOException: The configured user limit (12Nerd-face on the number of inotify instances has been reached, or the per-process limit on the number of open file descriptors has been reached.
      at System.IO.FileSystemWatcher.StartRaisingEvents()
      at Emby.Server.Implementations.IO.LibraryMonitor.<>c__DisplayClass19_0.<StartWatchingPath>b__0()
    [2024-02-28 21:15:52.434 +01:00] [ERR] [189] Emby.Server.Implementations.ScheduledTasks.TaskManager: Error
    System.IO.DirectoryNotFoundException: Could not find a part of the path '/volume1/@appstore/jellyfin/var/data/root/default/Sammlungen'.
      at System.IO.Enumeration.FileSystemEnumerator1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
      at System.IO.Enumeration.FileSystemEnumerator
    1.Init()
      at System.IO.Enumeration.FileSystemEnumerable1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
      at System.IO.Enumeration.FileSystemEnumerableFactory.FileSystemInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized)
      at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
      at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries(String path, Boolean recursive)
      at MediaBrowser.Controller.Providers.DirectoryService.<>c.<GetFileSystemEntries>b__5_0(String p, IFileSystem fileSystem)
      at System.Collections.Concurrent.ConcurrentDictionary
    2.GetOrAdd[TArg](TKey key, Func3 valueFactory, TArg factoryArgument)
      at MediaBrowser.Controller.IO.FileData.GetFilteredFileSystemEntries(IDirectoryService directoryService, String path, IFileSystem fileSystem, IServerApplicationHost appHost, ILogger logger, ItemResolveArgs args, Int32 flattenFolderDepth, Boolean resolveShortcuts)
      at MediaBrowser.Controller.Entities.CollectionFolder.CreateResolveArgs(IDirectoryService directoryService, Boolean setPhysicalLocations)
      at MediaBrowser.Controller.Entities.CollectionFolder.RequiresRefresh()
      at MediaBrowser.Providers.Manager.MetadataService
    2.RefreshMetadata(BaseItem item, MetadataRefreshOptions refreshOptions, CancellationToken cancellationToken)
      at MediaBrowser.Controller.Entities.BaseItem.RefreshMetadata(MetadataRefreshOptions options, CancellationToken cancellationToken)
      at MediaBrowser.Controller.Entities.Folder.<>c__DisplayClass68_0.<<RefreshChildMetadata>b__0>d.MoveNext()
    --- End of stack trace from previous location ---
      at MediaBrowser.Providers.Manager.ProviderManager.RunMetadataRefresh(Func1 action, CancellationToken cancellationToken)
      at MediaBrowser.Controller.Entities.Folder.RefreshChildMetadata(BaseItem child, MetadataRefreshOptions refreshOptions, Boolean recursive, IProgress
    1 progress, CancellationToken cancellationToken)
      at MediaBrowser.Controller.Entities.Folder.<>c__DisplayClass70_01.<<RunTasks>b__1>d.MoveNext()
    --- End of stack trace from previous location ---
      at MediaBrowser.Controller.Entities.Folder.RunTasks[T](Func
    3 task, IList1 children, IProgress1 progress, CancellationToken cancellationToken)
      at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal2(IProgress1 progress, Boolean recursive, Boolean refreshChildMetadata, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
      at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal(IProgress
    1 progress, Boolean recursive, Boolean refreshChildMetadata, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
      at MediaBrowser.Controller.Entities.UserRootFolder.ValidateChildrenInternal(IProgress1 progress, Boolean recursive, Boolean refreshChildMetadata, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
      at Emby.Server.Implementations.Library.LibraryManager.ValidateTopLibraryFolders(CancellationToken cancellationToken)
      at Emby.Server.Implementations.Library.LibraryManager.PerformLibraryValidation(IProgress
    1 progress, CancellationToken cancellationToken)
      at Emby.Server.Implementations.Library.LibraryManager.ValidateMediaLibraryInternal(IProgress`1 progress, CancellationToken cancellationToken)
      at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
    [2024-02-28 21:15:52.438 +01:00] [INF] [189] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Scanne Medien-Bibliothek" Failed after 0 minute(s) and 0 seconds
    [2024-02-28 21:15:52.441 +01:00] [INF] [189] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-02-29, 04:01 PM
    jellyfin is having trouble finding the library root at /volume1/@appstore/jellyfin/var/data/root/default/. And I'm also seeing these messages.

    Code:
    the number of inotify instances has been reached, or the per-process limit on the number of open file descriptors has been reached.

    You might have better luck asking on the synocommunity forum. From the looks of it, Jellyfin is having trouble accessing volume1 for some reason but the root of the problem is Synology related, IMO. There aren't a lot of Synology experts here.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode