Jellyfin Forum
Library Scan Failing - 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: Library Scan Failing (/t-library-scan-failing--14089)



Library Scan Failing - m11 - 2025-10-15

Hi! When I try to update my library, the scan fails. The most common error in the log file is failure due to inability to compute the blurhash. 

Any suggestions on troubleshooting steps? 


Log: 
[2025-10-15 08:25:18.263 -07:00] [ERR] [49] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: "Could not find file '/data/movies/Mission Impossible 8 (2025) [imdbid-tt9603208]/folder.jpg'". URL "GET" "/Items/da43dcbc970a01ffe0d157cc47cc3da7/Images/Primary".
[2025-10-15 08:25:36.927 -07:00] [INF] [50] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/data/tvshows"
[2025-10-15 08:25:36.927 -07:00] [INF] [50] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/data/movies"
[2025-10-15 08:25:36.929 -07:00] [INF] [50] Emby.Server.Implementations.Library.LibraryManager: Validating media library
[2025-10-15 08:25:37.090 -07:00] [WRN] [50] MediaBrowser.Controller.Entities.BaseItem: Library folder "/config/data/data/playlists" is inaccessible or empty, skipping
[2025-10-15 08:25:37.137 -07:00] [WRN] [35] MediaBrowser.Controller.Entities.BaseItem: Library folder "/config/data/data/playlists" is inaccessible or empty, skipping
[2025-10-15 08:25:37.284 -07:00] [ERR] [49] Emby.Server.Implementations.Library.LibraryManager: Cannot compute blurhash for "/config/data/metadata/library/10/10203f498ca3a43c449239536a1293cc/poster.jpg"
System.IO.DirectoryNotFoundException: Could not find a part of the path '/config/data/metadata/library/10/10203f498ca3a43c449239536a1293cc/poster.jpg'.
  at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
  at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func4 createOpenException)
  at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable
1 unixCreateMode)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
  at Jellyfin.Drawing.Skia.SkiaEncoder.GetImageBlurHash(Int32 xComp, Int32 yComp, String path)
  at Jellyfin.Drawing.ImageProcessor.GetImageBlurHash(String path, ImageDimensions imageDimensions)
  at Emby.Server.Implementations.Library.LibraryManager.UpdateImagesAsync(BaseItem item, Boolean forceUpdate)
[2025-10-15 08:25:37.290 -07:00] [ERR] [49] Emby.Server.Implementations.Library.LibraryManager: Cannot compute blurhash for "/config/data/metadata/library/10/10203f498ca3a43c449239536a1293cc/logo.png"
System.IO.DirectoryNotFoundException: Could not find a part of the path '/config/data/metadata/library/10/10203f498ca3a43c449239536a1293cc/logo.png'.
  at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
  at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func4 createOpenException)
  at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable
1 unixCreateMode)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
  at Jellyfin.Drawing.Skia.SkiaEncoder.GetImageBlurHash(Int32 xComp, Int32 yComp, String path)
  at Jellyfin.Drawing.ImageProcessor.GetImageBlurHash(String path, ImageDimensions imageDimensions)
  at Emby.Server.Implementations.Library.LibraryManager.UpdateImagesAsync(BaseItem item, Boolean forceUpdate)
[2025-10-15 08:25:37.290 -07:00] [ERR] [49] Emby.Server.Implementations.Library.LibraryManager: Cannot compute blurhash for "/config/data/metadata/library/10/10203f498ca3a43c449239536a1293cc/backdrop.jpg"
System.IO.DirectoryNotFoundException: Could not find a part of the path '/config/data/metadata/library/10/10203f498ca3a43c449239536a1293cc/backdrop.jpg'.
  at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
  at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func4 createOpenException)
  at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable
1 unixCreateMode)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
  at Jellyfin.Drawing.Skia.SkiaEncoder.GetImageBlurHash(Int32 xComp, Int32 yComp, String path)
  at Jellyfin.Drawing.ImageProcessor.GetImageBlurHash(String path, ImageDimensions imageDimensions)
  at Emby.Server.Implementations.Library.LibraryManager.UpdateImagesAsync(BaseItem item, Boolean forceUpdate)
[2025-10-15 08:25:37.632 -07:00] [ERR] [49] Emby.Server.Implementations.Library.LibraryManager: Cannot compute blurhash for "/config/data/metadata/library/a3/a318d221cd870db08b533d75dc474e7f/poster.jpg"
System.IO.DirectoryNotFoundException: Could not find a part of the path '/config/data/metadata/library/a3/a318d221cd870db08b533d75dc474e7f/poster.jpg'.
  at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
  at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func4 createOpenException)
  at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable
1 unixCreateMode)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
  at Jellyfin.Drawing.Skia.SkiaEncoder.GetImageBlurHash(Int32 xComp, Int32 yComp, String path)
  at Jellyfin.Drawing.ImageProcessor.GetImageBlurHash(String path, ImageDimensions imageDimensions)
  at Emby.Server.Implementations.Library.LibraryManager.UpdateImagesAsync(BaseItem item, Boolean forceUpdate)
[2025-10-15 08:25:37.633 -07:00] [ERR] [49] Emby.Server.Implementations.Library.LibraryManager: Cannot compute blurhash for "/config/data/metadata/library/a3/a318d221cd870db08b533d75dc474e7f/logo.png"
System.IO.DirectoryNotFoundException: Could not find a part of the path '/config/data/metadata/library/a3/a318d221cd870db08b533d75dc474e7f/logo.png'.
  at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
  at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func4 createOpenException)
  at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable
1 unixCreateMode)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
  at Jellyfin.Drawing.Skia.SkiaEncoder.GetImageBlurHash(Int32 xComp, Int32 yComp, String path)
  at Jellyfin.Drawing.ImageProcessor.GetImageBlurHash(String path, ImageDimensions imageDimensions)
  at Emby.Server.Implementations.Library.LibraryManager.UpdateImagesAsync(BaseItem item, Boolean forceUpdate)
[2025-10-15 08:25:37.633 -07:00] [ERR] [49] Emby.Server.Implementations.Library.LibraryManager: Cannot compute blurhash for "/config/data/metadata/library/a3/a318d221cd870db08b533d75dc474e7f/landscape.jpg"
System.IO.DirectoryNotFoundException: Could not find a part of the path '/config/data/metadata/library/a3/a318d221cd870db08b533d75dc474e7f/landscape.jpg'.
  at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
  at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func4 createOpenException)
  at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable
1 unixCreateMode)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
  at Jellyfin.Drawing.Skia.SkiaEncoder.GetImageBlurHash(Int32 xComp, Int32 yComp, String path)
  at Jellyfin.Drawing.ImageProcessor.GetImageBlurHash(String path, ImageDimensions imageDimensions)
  at Emby.Server.Implementations.Library.LibraryManager.UpdateImagesAsync(BaseItem item, Boolean forceUpdate)
[2025-10-15 08:25:37.634 -07:00] [ERR] [49] Emby.Server.Implementations.Library.LibraryManager: Cannot compute blurhash for "/config/data/metadata/library/a3/a318d221cd870db08b533d75dc474e7f/backdrop.jpg"
System.IO.DirectoryNotFoundException: Could not find a part of the path '/config/data/metadata/library/a3/a318d221cd870db08b533d75dc474e7f/backdrop.jpg'.
  at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
  at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func4 createOpenException)
  at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable
1 unixCreateMode)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
  at Jellyfin.Drawing.Skia.SkiaEncoder.GetImageBlurHash(Int32 xComp, Int32 yComp, String path)
  at Jellyfin.Drawing.ImageProcessor.GetImageBlurHash(String path, ImageDimensions imageDimensions)
  at Emby.Server.Implementations.Library.LibraryManager.UpdateImagesAsync(BaseItem item, Boolean forceUpdate)
[2025-10-15 08:25:48.442 -07:00] [INF] [49] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Movie", Name: "The Muppet Movie", Path: "/data/movies/The Muppet Movie (1979) [imdbid-tt0079588]/The Muppet Movie (1979) [imdbid-tt0079588] - [Remux-1080p][DTS-HD MA 5.1][AVC]-S3R.mkv", Id: 337b5316-9c82-5817-fbee-1a64ef3f2ef6
[2025-10-15 08:25:48.445 -07:00] [ERR] [49] Emby.Server.Implementations.ScheduledTasks.TaskManager: Error executing Scheduled Task
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 11: 'database disk image is malformed'.
  at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
  at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
  at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
  at Emby.Server.Implementations.Data.SqliteItemRepository.ExecuteWithSingleParam(ManagedConnection db, String query, Guid value)
  at Emby.Server.Implementations.Data.SqliteItemRepository.DeleteItem(Guid id)
  at Emby.Server.Implementations.Library.LibraryManager.DeleteItem(BaseItem item, DeleteOptions options, BaseItem parent, Boolean notifyParentItem)
  at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal2(IProgress1 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.Folder.<>c__DisplayClass69_01.<<RunTasks>b__1>d.MoveNext()
--- End of stack trace from previous location ---
  at MediaBrowser.Controller.Entities.Folder.RunTasks[T](Func
3 task, IList1 children, IProgress1 progress, CancellationToken cancellationToken)
  at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal2(IProgress1 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.AggregateFolder.ValidateChildrenInternal(IProgress1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
  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)
[2025-10-15 08:25:48.447 -07:00] [INF] [49] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Scan Media Library" Failed after 0 minute(s) and 11 seconds
[2025-10-15 08:25:48.488 -07:00] [INF] [20] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/data/movies"
[2025-10-15 08:25:48.502 -07:00] [INF] [33] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/data/tvshows"