• 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

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    Library scan not working

    Library scan not working - Possible permission issue
    alike
    Offline

    Member

    Posts: 52
    Threads: 7
    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]
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,052
    Threads: 0
    Joined: 2024 Jun
    Reputation: 57
    #2
    2024-10-27, 06:59 PM (This post was last modified: 2024-10-27, 07:00 PM by theguymadmax. Edited 1 time in total.)
    Quote: This all started suddenly after changes to things i dont know if related or not to how Jellyfin Server operate.
    What changes?
    Quote:[Image: 1ms49vs.png]
    "There was an error with adding the file path to Jellyfin. Please ensure that the file path is valid and that Jellyfin has access to the file path."

    Situations like these usually involves editing the database.
    dougsbrat
    Offline

    Junior Member

    Posts: 4
    Threads: 0
    Joined: 2024 Nov
    Reputation: 0
    Country:United States
    #3
    2024-11-08, 01:45 PM
    Same problem here
    Tv shows and movies
    Are not adding when places in folders
    Some music play lists are empty and can’t add to them or delete play list

    Been getting strange a week or so pre 10.10

    Looked at every setting for problem

    Only found
    Audio normalization failed
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-11-08, 02:35 PM
    (2024-11-08, 01:45 PM)dougsbrat Wrote: Same problem here
    Tv shows and movies
    Are not adding when places in folders
    Some music play lists are empty and can’t add to them or delete play list

    Been getting strange a week or so pre 10.10

    Looked at every setting for problem

    Only found
    Audio normalization failed

    Can you share your logs via pastebin?
    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]
    alike
    Offline

    Member

    Posts: 52
    Threads: 7
    Joined: 2024 Feb
    Reputation: 0
    Country:Norway
    #5
    2024-11-11, 02:05 PM (This post was last modified: 2024-11-11, 02:05 PM by alike.)
    [2024-11-11 14:55:26.681 +01:00] [INF] [1] Main: Jellyfin version: "10.10.0"
    [2024-11-11 14:55:26.705 +01:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, C:\ProgramData\Jellyfin\log]"]
    [2024-11-11 14:55:26.707 +01:00] [INF] [1] Main: Arguments: ["C:\Program Files\Jellyfin\Server\jellyfin.dll", "--datadir", "C:\ProgramData\Jellyfin"]
    [2024-11-11 14:55:26.709 +01:00] [INF] [1] Main: Operating system: "Microsoft Windows 10.0.22631"
    [2024-11-11 14:55:26.710 +01:00] [INF] [1] Main: Architecture: X64
    [2024-11-11 14:55:26.711 +01:00] [INF] [1] Main: 64-Bit Process: True
    [2024-11-11 14:55:26.712 +01:00] [INF] [1] Main: User Interactive: True
    [2024-11-11 14:55:26.713 +01:00] [INF] [1] Main: Processor count: 16
    [2024-11-11 14:55:26.714 +01:00] [INF] [1] Main: Program data path: "C:\ProgramData\Jellyfin"
    [2024-11-11 14:55:26.715 +01:00] [INF] [1] Main: Log directory path: "C:\ProgramData\Jellyfin\log"
    [2024-11-11 14:55:26.716 +01:00] [INF] [1] Main: Config directory path: "C:\ProgramData\Jellyfin\config"
    [2024-11-11 14:55:26.717 +01:00] [INF] [1] Main: Cache path: "C:\ProgramData\Jellyfin\cache"
    [2024-11-11 14:55:26.718 +01:00] [INF] [1] Main: Temp directory path: "C:\Users\maise\AppData\Local\Temp\jellyfin"
    [2024-11-11 14:55:26.719 +01:00] [INF] [1] Main: Web resources path: "C:\Program Files\Jellyfin\Server\jellyfin-web"
    [2024-11-11 14:55:26.720 +01:00] [INF] [1] Main: Application directory: "C:\Program Files\Jellyfin\Server\"
    [2024-11-11 14:55:26.815 +01:00] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "C:\ProgramData\Jellyfin\Server\cache"

    Where do i change these paths? From the GUI i could only change some of them.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-11-11, 03:07 PM
    Those paths are set during the install process. You can't easily change them after install.
    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]
    alike
    Offline

    Member

    Posts: 52
    Threads: 7
    Joined: 2024 Feb
    Reputation: 0
    Country:Norway
    #7
    2024-11-18, 12:44 PM
    I think i need to reinstall the server. Its just messed up now and i dont know how to fix it as it is.
    How can i do that in a way to keep most or all of the setup i already have? I found this one, any experience using it? https://github.com/MMMZZZZ/Jellyfin-Migrator
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-11-18, 03:19 PM
    That migrator is for migrating a Windows install to a Docker install.

    Backup C:\ProgramData\Jellyfin. That contains all your permanent data.
    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]
    alike
    Offline

    Member

    Posts: 52
    Threads: 7
    Joined: 2024 Feb
    Reputation: 0
    Country:Norway
    #9
    2024-11-20, 08:55 AM
    Ok i did this. It looks like everything is inside C:\Users\xxxxx\AppData\Local\Jellyfin on the newer versions.
    It looks like my database is messed up, since the dirs are moved. So it looks like i have to rebuild the whole database.
    Another weird thing, now that i reinstalled and put the backup folders back into C:\Users\xxxx\AppData\Local\Jellyfin is that most of the plugins lack icons. And when i check in the log, they are not activated. But the plugins are moved to the folder it is looking for plugin, so i don't know what to do.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2024-11-20, 03:43 PM
    The permanent files being in C:\Users means that Jellyfin was run without admin privileges, which is fine.

    Can you share your logs via pastebin?
    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]
    Pages (2): 1 2 Next »

    « 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