2025-09-03, 09:22 AM
I often get errors like those in the log:
I checked and those files don't exist, I've been using Jellyfin since forever so I guess my databbase contains a bunch of "old" items that no longer exist. Is there any way to "clean" those up? I tried deleting the entries manually in jelyfin.db from he BaseItemImageInfos but that just results in other errors.
Code:
System.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\JellyCache\Metadata\library\a3\a3cec2f907d07399149a9e59673816c5\poster.jpg'.
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
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)
I checked and those files don't exist, I've been using Jellyfin since forever so I guess my databbase contains a bunch of "old" items that no longer exist. Is there any way to "clean" those up? I tried deleting the entries manually in jelyfin.db from he BaseItemImageInfos but that just results in other errors.