Skip to content

[Issue]: Unable to reliably remove Libraries #11269

Closed
@gnattu

Description

Please describe your bug

Library is still accessible and show on homepage, in the access control after removal of the Library

Reproduction Steps

  • Add a Show Library

  • Add another Show Library

  • Delete one of them

  • Both libraries still show on homepage, still show "Latest In" sections, are still accessible, etc - but they do not show in the library admin page.

Jellyfin Version

Unstable (master branch)

if other:

No response

Environment

- OS: Everywhere
- Linux Kernel: Everywhere
- Virtualization: Everywhere
- Clients: Everywhere
- Browser: Everywhere
- FFmpeg Version: Not used
- Playback Method: Not used
- Hardware Acceleration: Not used
- GPU Model: Not used
- Plugins: Not used
- Reverse Proxy: Not used
- Base URL: Not used
- Networking: Localhost
- Storage: Local

Jellyfin logs

[ERR] [40] MediaBrowser.Controller.Entities.BaseItem: Error refreshing owned items for /Users/gnattu/Library/Application Support/jellyfin/root/default/Shows
System.IO.DirectoryNotFoundException: Could not find a part of the path '/Users/gnattu/Library/Application Support/jellyfin/root/default/Shows'.
   at System.IO.Enumeration.FileSystemEnumerator`1.Init()
   at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries(String path, Boolean recursive) in /Users/gnattu/src/jellyfin/Emby.Server.Implementations/IO/ManagedFileSystem.cs:line 593
   at MediaBrowser.Controller.Providers.DirectoryService.<>c.<GetFileSystemEntries>b__5_0(String p, IFileSystem fileSystem) in /Users/gnattu/src/jellyfin/MediaBrowser.Controller/Providers/DirectoryService.cs:line 28
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd[TArg](TKey key, Func`3 valueFactory, TArg factoryArgument)
   at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path) in /Users/gnattu/src/jellyfin/MediaBrowser.Controller/Providers/DirectoryService.cs:line 28
   at MediaBrowser.Controller.IO.FileData.GetFilteredFileSystemEntries(IDirectoryService directoryService, String path, IFileSystem fileSystem, IServerApplicationHost appHost, ILogger logger, ItemResolveArgs args, Int32 flattenFolderDepth, Boolean resolveShortcuts) in /Users/gnattu/src/jellyfin/MediaBrowser.Controller/IO/FileData.cs:line 42
   at MediaBrowser.Controller.Entities.CollectionFolder.CreateResolveArgs(IDirectoryService directoryService, Boolean setPhysicalLocations) in /Users/gnattu/src/jellyfin/MediaBrowser.Controller/Entities/CollectionFolder.cs:line 297
   at MediaBrowser.Controller.Entities.CollectionFolder.GetFileSystemChildren(IDirectoryService directoryService) in /Users/gnattu/src/jellyfin/MediaBrowser.Controller/Entities/CollectionFolder.cs:line 183
   at MediaBrowser.Controller.Entities.BaseItem.RefreshMetadata(MetadataRefreshOptions options, CancellationToken cancellationToken) in /Users/gnattu/src/jellyfin/MediaBrowser.Controller/Entities/BaseItem.cs:line 1269
[ERR] [40] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: Could not find a part of the path '/Users/gnattu/Library/Application Support/jellyfin/root/default/Shows'. URL DELETE /Library/VirtualFolders.

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingconfirmedThis issue has been reviewed and confirmed

    Type

    No type

    Projects

    • Status

      In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions