Jellyfin Forum
Scan library fails because of collections - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Scan library fails because of collections (/t-scan-library-fails-because-of-collections)



Scan library fails because of collections - jellyyllej - 2025-04-21

Those names are in Chinese and I don't have Chinese on my machine

Code:
  at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
[10:25:13] [INF] [18] Emby.Server.Implementations.ScheduledTasks.TaskManager: Scan Media Library Failed after 0 minute(s) and 0 seconds
[10:25:14] [INF] [32] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /Multimedia/Movies
[10:26:03] [ERR] [32] Jellyfin.Api.Controllers.DisplayPreferencesController: Invalid ViewType:
[10:26:03] [ERR] [32] Jellyfin.Api.Controllers.DisplayPreferencesController: Invalid ViewType:
[10:26:19] [ERR] [28] MediaBrowser.Controller.Entities.BaseItem: Error refreshing owned items for /config/data/collections/xxxx(系列) [boxset]
System.IO.DirectoryNotFoundException: Could not find a part of the path '/config/data/collections/xxxxx(系列) [boxset]'.
  at System.IO.Enumeration.FileSystemEnumerator`1.Init()
  at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
  at MediaBrowser.Controller.Providers.DirectoryService.<>c.<GetFileSystemEntries>b__5_0(String p, IFileSystem fileSystem)
  at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path)
  at MediaBrowser.Controller.Entities.BaseItem.GetFileSystemChildren(IDirectoryService directoryService)
  at MediaBrowser.Controller.Entities.BaseItem.RefreshMetadata(MetadataRefreshOptions options, CancellationToken cancellationToken)
[10:26:23] [ERR] [28] MediaBrowser.Controller.Entities.BaseItem: Error refreshing owned items for /config/data/collections/xxxx(系列) [boxset]
System.IO.DirectoryNotFoundException: Could not find a part of the path '/config/data/collections/xxxx(系列) [boxset]'.
  at System.IO.Enumeration.FileSystemEnumerator`1.Init()
  at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
  at MediaBrowser.Controller.Providers.DirectoryService.<>c.<GetFileSystemEntries>b__5_0(String p, IFileSystem fileSystem)
  at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path)
  at MediaBrowser.Controller.Entities.BaseItem.GetFileSystemChildren(IDirectoryService directoryService)
  at MediaBrowser.Controller.Entities.BaseItem.RefreshMetadata(MetadataRefreshOptions options, CancellationToken cancellationToken)
[10:26:26] [ERR] [12] MediaBrowser.Controller.Entities.BaseItem: Error refreshing owned items for /config/data/collections/xxxx(系列) [boxset]
System.IO.DirectoryNotFoundException: Could not find a part of the path '/config/data/collections/xxxx(系列) [boxset]'.
  at System.IO.Enumeration.FileSystemEnumerator`1.Init()
  at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
  at MediaBrowser.Controller.Providers.DirectoryService.<>c.<GetFileSystemEntries>b__5_0(String p, IFileSystem fileSystem)
  at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path)
  at MediaBrowser.Controller.Entities.BaseItem.GetFileSystemChildren(IDirectoryService directoryService)
  at MediaBrowser.Controller.Entities.BaseItem.RefreshMetadata(MetadataRefreshOptions options, CancellationToken cancellationToken)
[10:26:28] [INF] [28] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 172.16.0.0.5 closed
[10:26:28] [INF] [28] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 172.16.0.0.5 request
[10:27:42] [INF] [28] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 172.16.0.0.5 closed
[10:27:42] [INF] [26] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 172.16.0.0.5 request
[10:31:06] [INF] [43] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.

the collection looks like this
[Image: image.png]

How can I fix this?


RE: Scan library fails because of collections - TheDreadPirate - 2025-04-21

Can you share your full jellyfin log? Do you know what the value is for this docker environment variable?

Code:
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT