• 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 Scanning & Identification Library scan not working

     
    • 0 Vote(s) - 0 Average

    Library scan not working

    Library scan not working - Possible permission issue
    alike
    Offline

    Member

    Posts: 57
    Threads: 8
    Joined: 2024 Feb
    Reputation: 0
    Country:Norway
    #1
    2024-10-27, 04:56 PM
    Hello there. I cant update my library anymore. I get these messages in my jellyfin server log.
    Server v10.10.0 I recently updated but had the same issue with last version. This all started suddenly after changes to things i dont know if related or not to how Jellyfin Server operate.

    Code:
    [2024-10-27 16:28:33.829 +01:00] [ERR] [33] Emby.Server.Implementations.ScheduledTasks.TaskManager: Error executing Scheduled Task
    System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\ProgramData\Jellyfin\Server\root\default\Musikk - Flac'.
      at System.IO.Enumeration.FileSystemEnumerator`1.Init()
      at System.IO.DirectoryInfo.InternalEnumerateInfos(String


    And then i checked the folder  C:\ProgramData\Jellyfin\ and gave my user read, write, executable and everything else manually.
    Still get the same issue. My user had access through administrators group anyway so what i tested shouldnt have any say.

     
    Code:
    System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\ProgramData\Jellyfin\Server\root\default\Filmer'.
      at System.IO.Enumeration.FileSystemEnumerator`1.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 System.IO.DirectoryInfo.EnumerateFileSystemInfos(String searchPattern, EnumerationOptions enumerationOptions)
      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, Func`3 valueFactory, TArg factoryArgument)
      at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path)
      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.RefreshChildMetadata(BaseItem child, MetadataRefreshOptions refreshOptions, Boolean recursive, IProgress`1 progress, CancellationToken cancellationToken)
      at MediaBrowser.Controller.Entities.Folder.<>c__DisplayClass69_0`1.<<RunTasks>b__1>d.MoveNext()
    --- End of stack trace from previous location ---
      at MediaBrowser.Controller.Entities.Folder.RunTasks[T](Func`3 task, IList`1 children, IProgress`1 progress, CancellationToken cancellationToken)
      at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal2(IProgress`1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
      at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal(IProgress`1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
      at MediaBrowser.Controller.Entities.UserRootFolder.ValidateChildrenInternal(IProgress`1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
      at Emby.Server.Implementations.Library.LibraryManager.ValidateTopLibraryFolders(CancellationToken cancellationToken, Boolean removeRoot)
      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-10-27 17:49:25.848 +01:00] [INF] [25] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Scan Media Library" Failed after 0 minute(s) and 0 seconds

    For me it seems to be a permission issue. Dunno why it started. The app is looking for config folders and files, and its there.
    I also get error trying to add new stuff into the library.
    [Image: 1ms49vs.png]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Library scan not working - by alike - 2024-10-27, 04:56 PM
    RE: Library scan not working - by theguymadmax - 2024-10-27, 06:59 PM
    RE: Library scan not working - by dougsbrat - 2024-11-08, 01:45 PM
    RE: Library scan not working - by TheDreadPirate - 2024-11-08, 02:35 PM
    RE: Library scan not working - by alike - 2024-11-11, 02:05 PM
    RE: Library scan not working - by TheDreadPirate - 2024-11-11, 03:07 PM
    RE: Library scan not working - by alike - 2024-11-18, 12:44 PM
    RE: Library scan not working - by TheDreadPirate - 2024-11-18, 03:19 PM
    RE: Library scan not working - by alike - 2024-11-20, 08:55 AM
    RE: Library scan not working - by TheDreadPirate - 2024-11-20, 03:43 PM
    RE: Library scan not working - by alike - 2024-11-21, 07:45 AM
    RE: Library scan not working - by alike - 2024-11-22, 10:20 AM

    • 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