• 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 Deleting phantom Library

     
    • 0 Vote(s) - 0 Average

    Deleting phantom Library

    System generated new Library Folder - Cant delete
    Lost_Ones
    Offline

    Junior Member

    Posts: 12
    Threads: 5
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #1
    2024-09-03, 08:48 PM (This post was last modified: 2024-09-03, 09:07 PM by TheDreadPirate. Edited 1 time in total.)
    Hello, 

    I was trying to troubleshoot a "Live TV recording" issues. 

    .. a bit of a back story.
        At first I was having a problem with creating a NFS share on my NAS.  I was able to correct that. 

        Then I was having another issue, that turned out to be easy, as it was simply an issue with the path  ( OLD: /mnt/media/tvshows/recording New: /mnt/media/recordings ) to the recordings.  That was solved.  But in the works of this, I had a second Recordings folder, called           "Recordings2" that was created.  

    When I went to Dashboard to delete the "Recordings2", the library remains...

    In the logs, I get messages of ----- logs below to body of the message keep clean   ------


    Here is a bit more of my system:
    Docker compose install 
    Folders for the media are NFS Mounts on a NAS
    JF ver: 10.9.10

    If I enter the docker container, I can confirm that the directory is not present in my /mnt/media. Additionally this is true with the NFS folders as well

    Any assistance of getting this non existent library removed would be much appreciated. 


    ...logs
    Code:
    [INF] [12] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.50.213" request
    [2024-09-03 14:23:28.564 -06:00] [INF] [27] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/mnt/media/music"
    [2024-09-03 14:23:28.564 -06:00] [INF] [27] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/mnt/media/recordings"
    [2024-09-03 14:23:28.565 -06:00] [INF] [27] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/mnt/media/movies/movies"
    [2024-09-03 14:23:28.565 -06:00] [INF] [27] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/mnt/media/shows"
    [2024-09-03 14:23:28.712 -06:00] [ERR] [27] Emby.Server.Implementations.Library.LibraryManager: Error in GetFilteredFileSystemEntries isPhysicalRoot: False IsVf: False
    System.IO.DirectoryNotFoundException: Could not find a part of the path '/mnt/media/tvshows/recordings'.
      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.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 f
    lattenFolderDepth, Boolean resolveShortcuts)
      at Emby.Server.Implementations.Library.LibraryManager.ResolvePath(FileSystemMetadata fileInfo, IDirectoryService directoryService, IItemResolver[] resolvers, Folder parent, Nullable`1 collectionType, LibraryOptions lib
    raryOptions)
    [2024-09-03 14:23:28.717 -06:00] [ERR] [27] Emby.Server.Implementations.Library.LibraryManager: Error in "PlaylistResolver" resolving "/mnt/media/tvshows/recordings"
    System.IO.DirectoryNotFoundException: Could not find a part of the path '/mnt/media/tvshows/recordings'.
      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.UserFiles(String directory, String expression, EnumerationOptions options)
      at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
      at Emby.Server.Implementations.Library.Resolvers.PlaylistResolver.Resolve(ItemResolveArgs args)
      at MediaBrowser.Controller.Resolvers.ItemResolver`1.ResolvePath(ItemResolveArgs args)
      at Emby.Server.Implementations.Library.LibraryManager.Resolve(ItemResolveArgs args, IItemResolver resolver)
    [2024-09-03 14:23:28.717 -06:00] [ERR] [27] Emby.Server.Implementations.IO.ManagedFileSystem: Failed to enumerate path "/mnt/media/tvshows/recordings"
    System.IO.DirectoryNotFoundException: Could not find a part of the path '/mnt/media/tvshows/recordings'.
      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.UserEntries(String directory, String expression, EnumerationOptions options)
      at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
      at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntryPaths(String path, Boolean recursive)
    [2024-09-03 14:23:28.717 -06:00] [WRN] [27] MediaBrowser.Controller.Entities.BaseItem: Library folder "/mnt/media/tvshows/recordings" is inaccessible or empty, skipping
    [2024-09-03 14:23:28.851 -06:00] [WRN] [27] MediaBrowser.Controller.Entities.BaseItem: Library folder "/config/data/data/playlists" is inaccessible or empty, skipping
    [2024-09-03 14:23:28.853 -06:00] [INF] [27] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "PlaylistsFolder", Name: "Playlists", Path: "/config/data/data/playlists", Id: 1071671e-7bff-a053-2e93-0
    debee501d2e
    [2024-09-03 14:23:28.890 -06:00] [ERR] [28] MediaBrowser.Providers.Folders.CollectionFolderMetadataService: Error validating images for "/config/data/root/default/Recordings2"
    System.IO.DirectoryNotFoundException: Could not find a part of the path '/mnt/media/tvshows/recordings'.
      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.FileInfos(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.EnumerateFiles(String searchPattern, EnumerationOptions enumerationOptions)
      at Emby.Server.Implementations.IO.ManagedFileSystem.GetFiles(String path, IReadOnlyList`1 extensions, Boolean enableCaseSensitiveExtensions, Boolean recursive)
      at MediaBrowser.LocalMetadata.Images.LocalImageProvider.<GetImages>b__15_0(String i)
      at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.ToArray()
      at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
      at System.Linq.OrderedEnumerable`1.ToList()
      at MediaBrowser.LocalMetadata.Images.LocalImageProvider.GetImages(BaseItem item, IEnumerable`1 paths, IDirectoryService directoryService)
      at MediaBrowser.LocalMetadata.Images.CollectionFolderLocalImageProvider.GetImages(BaseItem item, IDirectoryService directoryService)
      at MediaBrowser.Providers.Manager.ItemImageProvider.<>c__DisplayClass7_0.<ValidateImages>b__0(ILocalImageProvider i)
      at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.ToList()
      at MediaBrowser.Providers.Manager.ItemImageProvider.ValidateImages(BaseItem item, IEnumerable`1 providers, ImageRefreshOptions refreshOptions)
      at MediaBrowser.Providers.Manager.MetadataService`2.RefreshMetadata(BaseItem item, MetadataRefreshOptions refreshOptions, CancellationToken cancellationToken)
    [2024-09-03 14:23:28.909 -06:00] [ERR] [28] MediaBrowser.Providers.Folders.CollectionFolderMetadataService: Error validating images for "/config/data/root/default/Recordings2"
    System.IO.DirectoryNotFoundException: Could not find a part of the path '/mnt/media/tvshows/recordings'.
      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.FileInfos(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.EnumerateFiles(String searchPattern, EnumerationOptions enumerationOptions)
      at Emby.Server.Implementations.IO.ManagedFileSystem.GetFiles(String path, IReadOnlyList`1 extensions, Boolean enableCaseSensitiveExtensions, Boolean recursive)
      at MediaBrowser.LocalMetadata.Images.LocalImageProvider.<GetImages>b__15_0(String i)
      at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.ToArray()
      at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
      at System.Linq.OrderedEnumerable`1.ToList()
      at MediaBrowser.LocalMetadata.Images.LocalImageProvider.GetImages(BaseItem item, IEnumerable`1 paths, IDirectoryService directoryService)
      at MediaBrowser.LocalMetadata.Images.CollectionFolderLocalImageProvider.GetImages(BaseItem item, IDirectoryService directoryService)
      at MediaBrowser.Providers.Manager.ItemImageProvider.<>c__DisplayClass7_0.<ValidateImages>b__0(ILocalImageProvider i)
      at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.ToList()
      at MediaBrowser.Providers.Manager.ItemImageProvider.ValidateImages(BaseItem item, IEnumerable`1 providers, ImageRefreshOptions refreshOptions)
      at MediaBrowser.Providers.Manager.MetadataService`2.RefreshMetadata(BaseItem item, MetadataRefreshOptions refreshOptions, CancellationToken cancellationToken)
    [2024-09-03 14:23:28.912 -06:00] [INF] [3] Emby.Server.Implementations.Library.LibraryManager: Validating media library
    [2024-09-03 14:23:28.913 -06:00] [ERR] [28] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL "DELETE" "/Library/VirtualFolders".
    System.UnauthorizedAccessException: Access to the path '/config/data/root/default/Recordings2/options.xml' is denied.
    ---> System.IO.IOException: Permission denied
      --- End of inner exception stack trace ---
      at System.IO.FileSystem.RemoveDirectoryRecursive(String fullPath)
      at Emby.Server.Implementations.Library.LibraryManager.RemoveVirtualFolder(String name, Boolean refreshLibrary)
      at Emby.Server.Implementations.Library.LibraryManager.RemoveVirtualFolder(String name, Boolean refreshLibrary)
      at Jellyfin.Api.Controllers.LibraryStructureController.RemoveVirtualFolder(String name, Boolean refreshLibrary)
      at lambda_method1188(Closure, Object)
      at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[]
    arguments)
      at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
      at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted
    )
      at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
      at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
      at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
      at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
      at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
      at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
      at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
      at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
      at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
      at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
      at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
      at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
      at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
      at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
      at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
      at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
      at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
      at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
      at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
      at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
      at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
      at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
      at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
      at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
    [2024-09-03 14:23:28.916 -06:00] [ERR] [3] Emby.Server.Implementations.Library.LibraryManager: Error in GetFilteredFileSystemEntries isPhysicalRoot: False IsVf: False
    System.IO.DirectoryNotFoundException: Could not find a part of the path '/mnt/media/tvshows/recordings'.
      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.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 f
    lattenFolderDepth, Boolean resolveShortcuts)
      at Emby.Server.Implementations.Library.LibraryManager.ResolvePath(FileSystemMetadata fileInfo, IDirectoryService directoryService, IItemResolver[] resolvers, Folder parent, Nullable`1 collectionType, LibraryOptions lib
    raryOptions)
    [2024-09-03 14:23:28.916 -06:00] [ERR] [3] Emby.Server.Implementations.Library.LibraryManager: Error in "PlaylistResolver" resolving "/mnt/media/tvshows/recordings"
    System.IO.DirectoryNotFoundException: Could not find a part of the path '/mnt/media/tvshows/recordings'.
      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.UserFiles(String directory, String expression, EnumerationOptions options)
      at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
      at Emby.Server.Implementations.Library.Resolvers.PlaylistResolver.Resolve(ItemResolveArgs args)
      at MediaBrowser.Controller.Resolvers.ItemResolver`1.ResolvePath(ItemResolveArgs args)
      at Emby.Server.Implementations.Library.LibraryManager.Resolve(ItemResolveArgs args, IItemResolver resolver)
    [2024-09-03 14:23:28.916 -06:00] [ERR] [3] Emby.Server.Implementations.IO.ManagedFileSystem: Failed to enumerate path "/mnt/media/tvshows/recordings"
    System.IO.DirectoryNotFoundException: Could not find a part of the path '/mnt/media/tvshows/recordings'.
      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.UserEntries(String directory, String expression, EnumerationOptions options)
      at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
      at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntryPaths(String path, Boolean recursive)
    [2024-09-03 14:23:28.917 -06:00] [WRN] [3] MediaBrowser.Controller.Entities.BaseItem: Library folder "/mnt/media/tvshows/recordings" is inaccessible or empty, skipping
    [2024-09-03 14:23:28.924 -06:00] [WRN] [3] MediaBrowser.Controller.Entities.BaseItem: Library folder "/config/data/data/playlists" is inaccessible or empty, skipping
    [2024-09-03 14:23:28.932 -06:00] [ERR] [28] MediaBrowser.Providers.Folders.CollectionFolderMetadataService: Error validating images for "/config/data/root/default/Recordings2"
    System.IO.DirectoryNotFoundException: Could not find a part of the path '/mnt/media/tvshows/recordings'.
      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.FileInfos(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.EnumerateFiles(String searchPattern, EnumerationOptions enumerationOptions)
      at Emby.Server.Implementations.IO.ManagedFileSystem.GetFiles(String path, IReadOnlyList`1 extensions, Boolean enableCaseSensitiveExtensions, Boolean recursive)
      at MediaBrowser.LocalMetadata.Images.LocalImageProvider.<GetImages>b__15_0(String i)
      at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.ToArray()
      at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
      at System.Linq.OrderedEnumerable`1.ToList()
      at MediaBrowser.LocalMetadata.Images.LocalImageProvider.GetImages(BaseItem item, IEnumerable`1 paths, IDirectoryService directoryService)
      at MediaBrowser.LocalMetadata.Images.CollectionFolderLocalImageProvider.GetImages(BaseItem item, IDirectoryService directoryService)
      at MediaBrowser.Providers.Manager.ItemImageProvider.<>c__DisplayClass7_0.<ValidateImages>b__0(ILocalImageProvider i)
      at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.ToList()
      at MediaBrowser.Providers.Manager.ItemImageProvider.ValidateImages(BaseItem item, IEnumerable`1 providers, ImageRefreshOptions refreshOptions)
      at MediaBrowser.Providers.Manager.MetadataService`2.RefreshMetadata(BaseItem item, MetadataRefreshOptions refreshOptions, CancellationToken cancellationToken)
    [2024-09-03 14:23:28.938 -06:00] [ERR] [28] MediaBrowser.Providers.Folders.CollectionFolderMetadataService: Error validating images for "/config/data/root/default/Recordings2"
    System.IO.DirectoryNotFoundException: Could not find a part of the path '/mnt/media/tvshows/recordings'.
      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.FileInfos(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.EnumerateFiles(String searchPattern, EnumerationOptions enumerationOptions)
      at Emby.Server.Implementations.IO.ManagedFileSystem.GetFiles(String path, IReadOnlyList`1 extensions, Boolean enableCaseSensitiveExtensions, Boolean recursive)
      at MediaBrowser.LocalMetadata.Images.LocalImageProvider.<GetImages>b__15_0(String i)
      at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.ToArray()
      at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
      at System.Linq.OrderedEnumerable`1.ToList()
      at MediaBrowser.LocalMetadata.Images.LocalImageProvider.GetImages(BaseItem item, IEnumerable`1 paths, IDirectoryService directoryService)
      at MediaBrowser.LocalMetadata.Images.CollectionFolderLocalImageProvider.GetImages(BaseItem item, IDirectoryService directoryService)
      at MediaBrowser.Providers.Manager.ItemImageProvider.<>c__DisplayClass7_0.<ValidateImages>b__0(ILocalImageProvider i)
      at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.ToList()
      at MediaBrowser.Providers.Manager.ItemImageProvider.ValidateImages(BaseItem item, IEnumerable`1 providers, ImageRefreshOptions refreshOptions)
      at MediaBrowser.Providers.Manager.MetadataService`2.RefreshMetadata(BaseItem item, MetadataRefreshOptions refreshOptions, CancellationToken cancellationToken)
    [2024-09-03 14:23:28.944 -06:00] [ERR] [28] Emby.Server.Implementations.Library.LibraryManager: Error in GetFilteredFileSystemEntries isPhysicalRoot: False IsVf: False
    System.IO.DirectoryNotFoundException: Could not find a part of the path '/mnt/media/tvshows/recordings'.
      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.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 f
    lattenFolderDepth, Boolean resolveShortcuts)
      at Emby.Server.Implementations.Library.LibraryManager.ResolvePath(FileSystemMetadata fileInfo, IDirectoryService directoryService, IItemResolver[] resolvers, Folder parent, Nullable`1 collectionType, LibraryOptions lib
    raryOptions)
    [2024-09-03 14:23:28.945 -06:00] [ERR] [28] Emby.Server.Implementations.Library.LibraryManager: Error in "PlaylistResolver" resolving "/mnt/media/tvshows/recordings"
    System.IO.DirectoryNotFoundException: Could not find a part of the path '/mnt/media/tvshows/recordings'.
      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.UserFiles(String directory, String expression, EnumerationOptions options)
      at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
      at Emby.Server.Implementations.Library.Resolvers.PlaylistResolver.Resolve(ItemResolveArgs args)
      at MediaBrowser.Controller.Resolvers.ItemResolver`1.ResolvePath(ItemResolveArgs args)
      at Emby.Server.Implementations.Library.LibraryManager.Resolve(ItemResolveArgs args, IItemResolver resolver)
    [2024-09-03 14:23:28.945 -06:00] [ERR] [28] Emby.Server.Implementations.IO.ManagedFileSystem: Failed to enumerate path "/mnt/media/tvshows/recordings"
    System.IO.DirectoryNotFoundException: Could not find a part of the path '/mnt/media/tvshows/recordings'.
      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.UserEntries(String directory, String expression, EnumerationOptions options)
      at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
      at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntryPaths(String path, Boolean recursive)
    [2024-09-03 14:23:28.945 -06:00] [WRN] [28] MediaBrowser.Controller.Entities.BaseItem: Library folder "/mnt/media/tvshows/recordings" is inaccessible or empty, skipping
    [2024-09-03 14:23:28.951 -06:00] [WRN] [28] MediaBrowser.Controller.Entities.BaseItem: Library folder "/config/data/data/playlists" is inaccessible or empty, skipping
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-09-03, 09:08 PM
    Try this. Create an empty directory with the same path just to satisfy Jellyfin, create a new library with just that folder, delete the library.
    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]
    Lost_Ones
    Offline

    Junior Member

    Posts: 12
    Threads: 5
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #3
    2024-09-03, 09:26 PM (This post was last modified: 2024-09-03, 09:28 PM by Lost_Ones. Edited 1 time in total.)
    Thank you for your reply and insight. I too was thinking this may be a solution. I did create the directories, both the tvshows and the recordings in the txshows. I then tried to delete the L:ibrary. Next the owner and group to abc:abc like the other that are in the mounts ( after trying to delete with root as the owner).

    Still, the libraries remain.

    part of the logs
    [2024-09-03 15:15:59.413 -06:00] [WRN] [27] MediaBrowser.Controller.Entities.BaseItem: Library folder "/mnt/media/tvshows/recordings" is inaccessible or empty, skipping
    [2024-09-03 15:15:59.549 -06:00] [WRN] [27] MediaBrowser.Controller.Entities.BaseItem: Library folder "/config/data/data/playlists" is inaccessible or empty, skipping
    [2024-09-03 15:15:59.563 -06:00] [INF] [28] Emby.Server.Implementations.Library.LibraryManager: Validating media library
    [2024-09-03 15:15:59.564 -06:00] [ERR] [43] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL "DELETE" "/Library/VirtualFolders".
    System.UnauthorizedAccessException: Access to the path '/config/data/root/default/Recordings2/options.xml' is denied.
    ---> System.IO.IOException: Permission denied


    Is it odd that I am seeing a Permission denied in the docker?

    I do have a backup of my docker server from a couple days ago that my be an easy way out

    Thank you
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-09-03, 09:42 PM
    Code:
    [2024-09-03 15:15:59.564 -06:00] [ERR] [43] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL "DELETE" "/Library/VirtualFolders".
    System.UnauthorizedAccessException: Access to the path '/config/data/root/default/Recordings2/options.xml' is denied.

    options.xml would have all the library configs. It is probably trying to delete a file and folder that is no longer there. Can you verify whether /config/data/root/default/Recordings2/ exists? If it doesn't maybe try creating empty files and folders? IDK.

    Or just restore your backup.
    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]
    Lost_Ones
    Offline

    Junior Member

    Posts: 12
    Threads: 5
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #5
    2024-09-03, 09:57 PM
    Thank you again, The Folder did exist. I moved it to a different directory. It no longer shows in the Dashboard Library section, but will show on the client side under "My Media" Seems to be getting closer. Let me see if I can clean up some cache?

    Regards,
    « Next Oldest | Next Newest »

    Users browsing this thread: 2 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