Jump to content

"Scan Library Files" on any single library does nothing


Recommended Posts

Nabukodonosor
Posted (edited)

The same thing happens to me. I have several libraries, and one was a folder with some theater shows. I was a mess, never got a chance to sort them. Now, I've put every show in it folder with year etc. And now I want to rescan the thing...I have also added a couple of new shows. Nothing happens. The same thing TheBlueSpirit described. When I go to the web player to play some of the shows it says "No compatible streams are currently available. Please try again later or contact your system administrator for details." Of course. It's not there anymore. I've changed the path to it. But Emby for some reason doesn't want to scan it and change it. It's a bug. I will just have to delete the whole library and do it all over from the scratch.

 

Error ProviderManager: Error validating children for Predstave 30967 /mnt/media/Predstave

Edited by Nabukodonosor
Nabukodonosor
Posted

OK. Here's my library:

https://prnt.sc/6KRwCzaqhXGd

The marked one is the problematic one. In that folder I had some files, all in one main folder called Predstave, with a few subfolders. Now I sorted all out, places all files within their own subfolders with a year in the titles. For example "Predstave/Show 1 (2025)/". Also added couple of news shows. Now I go to 3 dots in my Predstave library, click Scan Library Files, I get that popup saying it started scaning but nothing happens. There's no that green circle with %. I've attached debug log file.

embyserver.txt

  • 4 weeks later...
Nabukodonosor
Posted

So, this is unsolvable?

Neminem
Posted

Well it looks like its not there or emby does not have permissions to it.

Error validating children for Predstave 30967 /mnt/media/Predstave    *** Error Report ***
    Version: 4.9.1.90
    Command line: /app/emby/system/EmbyServer.dll -programdata /config -ffdetect /app/emby/bin/ffdetect -ffmpeg /app/emby/bin/ffmpeg -ffprobe /app/emby/bin/ffprobe -restartexitcode 3
    Operating system: Linux version 6.8.12-17-pve (build@proxmox) (gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC PMX
    OS/Process: x64/x64
    Framework: .NET 8.0.11
    Runtime: app/emby/system/System.Private.CoreLib.dll
    Processor count: 4
    Data path: /config
    Application path: /app/emby/system
    System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path '/mnt/media/Predstave'.
       at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
       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 Emby.Server.Implementations.IO.ManagedFileSystem.EnumerateFileSystemInfos(DirectoryInfo dir, Boolean recursive)
       at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries(String path, Boolean recursive, FileSystemCredentials credentials)
       at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntriesInternal(String path)
       at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
       at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path, Boolean clearCache)
       at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path)
       at MediaBrowser.Controller.Entities.BaseItem.GetFileSystemChildren(IDirectoryService directoryService)
       at MediaBrowser.Controller.Entities.Folder.GetNonCachedChildren(IDirectoryService directoryService, BaseItem[] collectionFolders, LibraryOptions libraryOptions)
       at MediaBrowser.Controller.Entities.BaseItem.ValidateChildrenInternal(IProgress`1 progress, CancellationToken cancellationToken, Boolean recursive, Boolean refreshChildMetadata, BaseItem[] collectionFolders, LibraryOptions libraryOptions, Dictionary`2 newItemIds, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService)
       at Emby.Providers.Manager.ProviderManager.RefreshCollectionFolderChildren(MetadataRefreshOptions options, CollectionFolder collectionFolder, CancellationToken cancellationToken)
    Source: System.Private.CoreLib
    TargetSite: IntPtr CreateDirectoryHandle(System.String, Boolean)
    
 

  • Like 1
Nabukodonosor
Posted

Yeah, the moment I posted the post I found out that for some reason my path was removed from the docker compose file. I added it again and everything worked again. Thanks.

Neminem
Posted

Nice to hear that 👍

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...