2025-06-10, 06:09 PM
(This post was last modified: 2025-06-11, 01:58 AM by Jamie Chapman. Edited 3 times in total.)
Maybe a bug?
Scan Media Library keeps failing. Not sure if it has anything to do with the nfo metadata stored with the media, or seemingly less likely, the images and trickplays stored with the media. The logs seem to indicate that the issues are database related.
Everything is from a clean install of 10.11 RC1 in docker using the preview tag, from the ground up. New database, freshly added libraries (just movies and shows for now, to test it out), but the media scan keeps failing. The only data that could be interfering is the metadata in the nfo files, which I store with all media, and images. Neither of these seem likely, but worth mentioning in case.
Here are the logs:
[2025-06-10 12:34:03.239 -04:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/cache"
[2025-06-10 12:34:41.481 -04:00] [INF] [4] Jellyfin.Server.ServerSetupApp.SetupServer: Kestrel is listening on "0.0.0.0"
[2025-06-10 12:34:41.507 -04:00] [INF] [4] Main: Jellyfin version: "10.11.0"
[2025-06-10 12:34:41.509 -04:00] [INF] [4] Main: Environment Variables: ["[JELLYFIN_DATA_DIR, /config]", "[JELLYFIN_CACHE_DIR, /cache]", "[JELLYFIN_WEB_DIR, /jellyfin/jellyfin-web]", "[JELLYFIN_FFMPEG, /usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_CONFIG_DIR, /config/config]"]
[2025-06-10 12:34:41.510 -04:00] [INF] [4] Main: Arguments: ["/jellyfin/jellyfin.dll"]
[2025-06-10 12:34:41.510 -04:00] [INF] [4] Main: Operating system: "Debian GNU/Linux 12 (bookworm)"
[2025-06-10 12:34:41.510 -04:00] [INF] [4] Main: Architecture: X64
[2025-06-10 12:34:41.511 -04:00] [INF] [4] Main: 64-Bit Process: True
[2025-06-10 12:34:41.511 -04:00] [INF] [4] Main: User Interactive: True
[2025-06-10 12:34:41.511 -04:00] [INF] [4] Main: Processor count: 32
[2025-06-10 12:34:41.511 -04:00] [INF] [4] Main: Program data path: "/config"
[2025-06-10 12:34:41.511 -04:00] [INF] [4] Main: Log directory path: "/config/log"
[2025-06-10 12:34:41.511 -04:00] [INF] [4] Main: Config directory path: "/config/config"
[2025-06-10 12:34:41.511 -04:00] [INF] [4] Main: Cache path: "/cache"
[2025-06-10 12:34:41.511 -04:00] [INF] [4] Main: Temp directory path: "/tmp/jellyfin"
[2025-06-10 12:34:41.511 -04:00] [INF] [4] Main: Web resources path: "/jellyfin/jellyfin-web"
[2025-06-10 12:34:41.511 -04:00] [INF] [4] Main: Application directory: "/jellyfin/"
[2025-06-10 12:34:41.556 -04:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/cache"
[2025-06-10 12:34:41.617 -04:00] [INF] [4] Jellyfin.Database.Implementations.Locking.NoLockBehavior: The database locking mode has been set to: NoLock.
[2025-06-10 12:34:42.670 -04:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/cache"
[2025-06-10 12:34:42.691 -04:00] [INF] [4] Emby.Server.Implementations.ApplicationHost: Loading assemblies
[2025-06-10 12:34:42.723 -04:00] [INF] [4] Jellyfin.Networking.Manager.NetworkManager: Defined LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[2025-06-10 12:34:42.724 -04:00] [INF] [4] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
[2025-06-10 12:34:42.724 -04:00] [INF] [4] Jellyfin.Networking.Manager.NetworkManager: Used LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[2025-06-10 12:34:42.725 -04:00] [INF] [4] Jellyfin.Networking.Manager.NetworkManager: Filtered interface addresses: ["127.0.0.1", "172.17.0.2"]
[2025-06-10 12:34:42.725 -04:00] [INF] [4] Jellyfin.Networking.Manager.NetworkManager: Bind Addresses ["0.0.0.0"]
[2025-06-10 12:34:42.725 -04:00] [INF] [4] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is "Allowlist"
[2025-06-10 12:34:42.725 -04:00] [INF] [4] Jellyfin.Networking.Manager.NetworkManager: Filtered subnets: []
[2025-06-10 12:34:42.874 -04:00] [INF] [4] Jellyfin.Database.Implementations.Locking.NoLockBehavior: The database locking mode has been set to: NoLock.
[2025-06-10 12:34:42.877 -04:00] [INF] [4] Main: Prepare system for possible migrations
[2025-06-10 12:34:42.917 -04:00] [INF] [4] Main: A migration will attempt to modify the jellyfin.db, will attempt to backup the file now.
[2025-06-10 12:34:42.923 -04:00] [INF] [4] Main: Jellyfin database has been backed up as "20250610043442"
[2025-06-10 12:34:43.394 -04:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"ImageInfos"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2025-06-10 12:34:43.394 -04:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"ImageInfos"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2025-06-10 12:34:43.395 -04:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"Permissions"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2025-06-10 12:34:43.396 -04:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"Permissions"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2025-06-10 12:34:43.396 -04:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"Preferences"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2025-06-10 12:34:43.396 -04:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"Preferences"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2025-06-10 12:34:43.396 -04:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"Users"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2025-06-10 12:34:43.397 -04:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"Users"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2025-06-10 12:34:45.718 -04:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[2025-06-10 12:34:45.723 -04:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/cache"
[2025-06-10 12:34:45.728 -04:00] [INF] [4] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "TMDb" "10.11.0.0"
[2025-06-10 12:34:45.728 -04:00] [INF] [4] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "Studio Images" "10.11.0.0"
[2025-06-10 12:34:45.729 -04:00] [INF] [4] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "OMDb" "10.11.0.0"
[2025-06-10 12:34:45.742 -04:00] [INF] [4] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "MusicBrainz" "10.11.0.0"
[2025-06-10 12:34:45.742 -04:00] [INF] [4] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "AudioDB" "10.11.0.0"
[2025-06-10 12:34:45.881 -04:00] [INF] [4] Main: Kestrel is listening on "0.0.0.0"
[2025-06-10 12:34:46.004 -04:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[2025-06-10 12:34:46.010 -04:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/cache"
[2025-06-10 12:34:46.054 -04:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[2025-06-10 12:34:46.060 -04:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/cache"
[2025-06-10 12:34:46.079 -04:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[2025-06-10 12:34:46.084 -04:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/cache"
[2025-06-10 12:34:46.243 -04:00] [INF] [4] Main: Attempt to cleanup JellyfinDb backup.
[2025-06-10 12:34:46.571 -04:00] [WRN] [4] Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware: The WebRootPath was not found: "/wwwroot". Static files may be unavailable.
[2025-06-10 12:34:46.908 -04:00] [INF] [4] Emby.Server.Implementations.ApplicationHost: Running startup tasks
[2025-06-10 12:34:46.917 -04:00] [INF] [4] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for "Generate Trickplay Images" set to fire at 2025-06-11 03:00:00.000 -04:00, which is 14:25:13.0826064 from now.
[2025-06-10 12:34:46.924 -04:00] [INF] [4] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for "Extract Chapter Images" set to fire at 2025-06-11 02:00:00.000 -04:00, which is 13:25:13.0756094 from now.
[2025-06-10 12:34:47.027 -04:00] [INF] [4] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found ffmpeg version "7.1.1"
[2025-06-10 12:34:47.076 -04:00] [INF] [4] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available "decoders": ["libdav1d", "av1", "av1_cuvid", "av1_qsv", "h264", "h264_qsv", "h264_cuvid", "hevc", "hevc_qsv", "hevc_cuvid", "mpeg2video", "mpeg2_qsv", "mpeg2_cuvid", "mpeg4", "mpeg4_cuvid", "msmpeg4", "vc1_qsv", "vc1_cuvid", "vp8", "libvpx", "vp8_cuvid", "vp8_qsv", "vp9", "libvpx-vp9", "vp9_cuvid", "vp9_qsv", "aac", "ac3", "ac4", "dca", "flac", "mp3", "truehd"]
[2025-06-10 12:34:47.094 -04:00] [INF] [4] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available "encoders": ["libsvtav1", "av1_nvenc", "av1_qsv", "av1_amf", "av1_vaapi", "libx264", "h264_amf", "h264_nvenc", "h264_qsv", "h264_v4l2m2m", "h264_vaapi", "libx265", "hevc_amf", "hevc_nvenc", "hevc_qsv", "hevc_vaapi", "mjpeg_qsv", "mjpeg_vaapi", "aac", "libfdk_aac", "ac3", "alac", "dca", "flac", "libmp3lame", "libopus", "truehd", "libvorbis", "srt"]
[2025-06-10 12:34:47.115 -04:00] [INF] [4] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available filters: ["bwdif_cuda", "bwdif_opencl", "deinterlace_qsv", "deinterlace_vaapi", "flip_vulkan", "hwupload_cuda", "hwupload_vaapi", "libplacebo", "overlay_opencl", "overlay_qsv", "overlay_vaapi", "overlay_vulkan", "overlay_cuda", "procamp_vaapi", "scale_cuda", "scale_opencl", "scale_qsv", "scale_vaapi", "scale_vulkan", "tonemapx", "tonemap_cuda", "tonemap_opencl", "tonemap_vaapi", "transpose_cuda", "transpose_opencl", "transpose_vaapi", "transpose_vulkan", "vpp_qsv", "yadif_cuda", "yadif_opencl", "zscale", "alphasrc"]
[2025-06-10 12:34:47.359 -04:00] [INF] [4] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available hwaccel types: ["cuda", "vaapi", "qsv", "drm", "opencl", "vulkan"]
[2025-06-10 12:34:49.944 -04:00] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Clean Transcode Directory" Completed after 0 minute(s) and 0 seconds
[2025-06-10 12:34:49.945 -04:00] [INF] [18] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Clean up collections and playlists" Completed after 0 minute(s) and 0 seconds
[2025-06-10 12:34:50.303 -04:00] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Update Plugins" Completed after 0 minute(s) and 0 seconds
[2025-06-10 12:34:57.260 -04:00] [INF] [4] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: "/usr/lib/jellyfin-ffmpeg/ffmpeg"
[2025-06-10 12:34:57.266 -04:00] [INF] [4] Emby.Server.Implementations.ApplicationHost: ServerId: "f50a00e9145d48e189affacf18d2e1e6"
[2025-06-10 12:34:57.266 -04:00] [INF] [4] Emby.Server.Implementations.ApplicationHost: Core startup complete
[2025-06-10 12:34:57.266 -04:00] [INF] [4] Main: Startup complete 0:00:54.3044197
[2025-06-10 12:35:36.890 -04:00] [INF] [26] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[2025-06-10 12:35:36.896 -04:00] [INF] [26] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/cache"
[2025-06-10 12:35:36.925 -04:00] [WRN] [4] Jellyfin.Server.Implementations.Users.UserManager: No users, creating one with username "root"
[2025-06-10 12:40:22.242 -04:00] [INF] [39] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[2025-06-10 12:40:22.247 -04:00] [INF] [39] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/cache"
[2025-06-10 12:40:25.847 -04:00] [INF] [37] Jellyfin.Networking.Manager.NetworkManager: Defined LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[2025-06-10 12:40:25.847 -04:00] [INF] [37] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
[2025-06-10 12:40:25.847 -04:00] [INF] [37] Jellyfin.Networking.Manager.NetworkManager: Used LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[2025-06-10 12:40:25.847 -04:00] [INF] [37] Jellyfin.Networking.Manager.NetworkManager: Filtered interface addresses: ["127.0.0.1", "172.17.0.2"]
[2025-06-10 12:40:25.847 -04:00] [INF] [37] Jellyfin.Networking.Manager.NetworkManager: Bind Addresses ["0.0.0.0"]
[2025-06-10 12:40:25.847 -04:00] [INF] [37] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is "Allowlist"
[2025-06-10 12:40:25.847 -04:00] [INF] [37] Jellyfin.Networking.Manager.NetworkManager: Filtered subnets: []
[2025-06-10 12:40:27.879 -04:00] [INF] [39] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[2025-06-10 12:40:27.885 -04:00] [INF] [39] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/cache"
[2025-06-10 12:40:27.889 -04:00] [INF] [39] Emby.Server.Implementations.Library.LibraryManager: Validating media library
[2025-06-10 12:40:28.951 -04:00] [WRN] [39] MediaBrowser.Controller.Entities.BaseItem: Library folder "/config/data/playlists" is inaccessible or empty, skipping
[2025-06-10 12:40:30.513 -04:00] [WRN] [39] MediaBrowser.Controller.Entities.BaseItem: Library folder "/config/data/playlists" is inaccessible or empty, skipping
[2025-06-10 12:40:30.864 -04:00] [INF] [39] Jellyfin.Server.Implementations.Users.UserManager: Authentication request for "root" has succeeded.
[2025-06-10 12:40:30.864 -04:00] [INF] [39] Emby.Server.Implementations.Session.SessionManager: Current/Max sessions for user "root": 0/0
[2025-06-10 12:40:30.866 -04:00] [INF] [39] Emby.Server.Implementations.Session.SessionManager: Creating new access token for user 0feeab97-e6d3-4f29-af01-67059b0999fd
[2025-06-10 12:40:31.059 -04:00] [INF] [37] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "172.17.0.1" request
[2025-06-10 12:41:51.622 -04:00] [ERR] [89] Emby.Server.Implementations.ScheduledTasks.TaskManager: Error executing Scheduled Task
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 5: 'database is locked'.
at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteConnectionExtensions.ExecuteNonQuery(SqliteConnection connection, String commandText, SqliteParameter[] parameters)
at Microsoft.Data.Sqlite.SqliteConnection.BeginTransaction(IsolationLevel isolationLevel, Boolean deferred)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ConnectionBeginTransaction(IsolationLevel isolationLevel)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransaction(IsolationLevel isolationLevel)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransaction()
at Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade.BeginTransaction()
at Jellyfin.Server.Implementations.Item.BaseItemRepository.UpdateOrInsertItems(IReadOnlyList1 items, CancellationToken cancellationToken)
at Jellyfin.Server.Implementations.Item.BaseItemRepository.SaveItems(IReadOnlyList1 items, CancellationToken cancellationToken)
at Emby.Server.Implementations.Library.LibraryManager.CreateItems(IReadOnlyList1 items, BaseItem parent, 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(IProgress1 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](Func3 task, IList1 children, IProgress1 progress, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.ValidateSubFolders(IList1 children, IDirectoryService directoryService, 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(IProgress1 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](Func3 task, IList1 children, IProgress1 progress, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.ValidateSubFolders(IList1 children, IDirectoryService directoryService, 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(IProgress1 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](Func3 task, IList1 children, IProgress1 progress, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.ValidateSubFolders(IList1 children, IDirectoryService directoryService, 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(IProgress1 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(IProgress1 progress, CancellationToken cancellationToken)
at Emby.Server.Implementations.Library.LibraryManager.ValidateMediaLibraryInternal(IProgress1 progress, CancellationToken cancellationToken)
at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
[2025-06-10 12:41:51.625 -04:00] [INF] [89] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Scan Media Library" Failed after 1 minute(s) and 23 seconds
[2025-06-10 12:42:00.305 -04:00] [INF] [29] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/movies"
[2025-06-10 12:42:11.909 -04:00] [INF] [47] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/tv_shows"
[2025-06-10 12:42:48.411 -04:00] [WRN] [78] Microsoft.EntityFrameworkCore.Query: Compiling a query which loads related collections for more than one collection navigation, either via 'Include' or through projection, but no 'QuerySplittingBehavior' has been configured. By default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can potentially result in slow query performance. See https://go.microsoft.com/fwlink/?linkid=2134277 for more information. To identify the query that's triggering this warning call 'ConfigureWarnings(w => w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
[2025-06-10 12:45:26.477 -04:00] [INF] [68] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/tv_shows"
[2025-06-10 12:45:26.503 -04:00] [INF] [68] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/movies"
[2025-06-10 12:45:26.513 -04:00] [INF] [68] Emby.Server.Implementations.Library.LibraryManager: Validating media library
[2025-06-10 12:45:27.480 -04:00] [WRN] [68] MediaBrowser.Controller.Entities.BaseItem: Library folder "/config/data/playlists" is inaccessible or empty, skipping
[2025-06-10 12:45:28.662 -04:00] [WRN] [80] MediaBrowser.Controller.Entities.BaseItem: Library folder "/config/data/playlists" is inaccessible or empty, skipping
[2025-06-10 12:46:26.883 -04:00] [ERR] [80] Emby.Server.Implementations.ScheduledTasks.TaskManager: Error executing Scheduled Task
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 5: 'database is locked'.
at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteConnectionExtensions.ExecuteNonQuery(SqliteConnection connection, String commandText, SqliteParameter[] parameters)
at Microsoft.Data.Sqlite.SqliteConnection.BeginTransaction(IsolationLevel isolationLevel, Boolean deferred)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransaction(IsolationLevel isolationLevel)
at Jellyfin.Server.Implementations.Item.BaseItemRepository.UpdateOrInsertItems(IReadOnlyList1 items, CancellationToken cancellationToken)
at Jellyfin.Server.Implementations.Item.BaseItemRepository.SaveItems(IReadOnlyList1 items, CancellationToken cancellationToken)
at Emby.Server.Implementations.Library.LibraryManager.CreateItems(IReadOnlyList1 items, BaseItem parent, 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(IProgress1 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](Func3 task, IList1 children, IProgress1 progress, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.ValidateSubFolders(IList1 children, IDirectoryService directoryService, 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(IProgress1 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](Func3 task, IList1 children, IProgress1 progress, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.ValidateSubFolders(IList1 children, IDirectoryService directoryService, 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(IProgress1 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](Func3 task, IList1 children, IProgress1 progress, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.ValidateSubFolders(IList1 children, IDirectoryService directoryService, 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(IProgress1 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(IProgress1 progress, CancellationToken cancellationToken)
at Emby.Server.Implementations.Library.LibraryManager.ValidateMediaLibraryInternal(IProgress1 progress, CancellationToken cancellationToken)
at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
[2025-06-10 12:46:26.885 -04:00] [INF] [80] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Scan Media Library" Failed after 1 minute(s) and 0 seconds
[2025-06-10 12:46:35.483 -04:00] [INF] [56] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/movies"
[2025-06-10 12:46:47.049 -04:00] [INF] [14] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/tv_shows"
[2025-06-10 12:50:43.046 -04:00] [INF] [93] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2025-06-10 12:54:31.036 -04:00] [INF] [79] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
Scan Media Library keeps failing. Not sure if it has anything to do with the nfo metadata stored with the media, or seemingly less likely, the images and trickplays stored with the media. The logs seem to indicate that the issues are database related.
Everything is from a clean install of 10.11 RC1 in docker using the preview tag, from the ground up. New database, freshly added libraries (just movies and shows for now, to test it out), but the media scan keeps failing. The only data that could be interfering is the metadata in the nfo files, which I store with all media, and images. Neither of these seem likely, but worth mentioning in case.
Here are the logs:
[2025-06-10 12:34:03.239 -04:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/cache"
[2025-06-10 12:34:41.481 -04:00] [INF] [4] Jellyfin.Server.ServerSetupApp.SetupServer: Kestrel is listening on "0.0.0.0"
[2025-06-10 12:34:41.507 -04:00] [INF] [4] Main: Jellyfin version: "10.11.0"
[2025-06-10 12:34:41.509 -04:00] [INF] [4] Main: Environment Variables: ["[JELLYFIN_DATA_DIR, /config]", "[JELLYFIN_CACHE_DIR, /cache]", "[JELLYFIN_WEB_DIR, /jellyfin/jellyfin-web]", "[JELLYFIN_FFMPEG, /usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_CONFIG_DIR, /config/config]"]
[2025-06-10 12:34:41.510 -04:00] [INF] [4] Main: Arguments: ["/jellyfin/jellyfin.dll"]
[2025-06-10 12:34:41.510 -04:00] [INF] [4] Main: Operating system: "Debian GNU/Linux 12 (bookworm)"
[2025-06-10 12:34:41.510 -04:00] [INF] [4] Main: Architecture: X64
[2025-06-10 12:34:41.511 -04:00] [INF] [4] Main: 64-Bit Process: True
[2025-06-10 12:34:41.511 -04:00] [INF] [4] Main: User Interactive: True
[2025-06-10 12:34:41.511 -04:00] [INF] [4] Main: Processor count: 32
[2025-06-10 12:34:41.511 -04:00] [INF] [4] Main: Program data path: "/config"
[2025-06-10 12:34:41.511 -04:00] [INF] [4] Main: Log directory path: "/config/log"
[2025-06-10 12:34:41.511 -04:00] [INF] [4] Main: Config directory path: "/config/config"
[2025-06-10 12:34:41.511 -04:00] [INF] [4] Main: Cache path: "/cache"
[2025-06-10 12:34:41.511 -04:00] [INF] [4] Main: Temp directory path: "/tmp/jellyfin"
[2025-06-10 12:34:41.511 -04:00] [INF] [4] Main: Web resources path: "/jellyfin/jellyfin-web"
[2025-06-10 12:34:41.511 -04:00] [INF] [4] Main: Application directory: "/jellyfin/"
[2025-06-10 12:34:41.556 -04:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/cache"
[2025-06-10 12:34:41.617 -04:00] [INF] [4] Jellyfin.Database.Implementations.Locking.NoLockBehavior: The database locking mode has been set to: NoLock.
[2025-06-10 12:34:42.670 -04:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/cache"
[2025-06-10 12:34:42.691 -04:00] [INF] [4] Emby.Server.Implementations.ApplicationHost: Loading assemblies
[2025-06-10 12:34:42.723 -04:00] [INF] [4] Jellyfin.Networking.Manager.NetworkManager: Defined LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[2025-06-10 12:34:42.724 -04:00] [INF] [4] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
[2025-06-10 12:34:42.724 -04:00] [INF] [4] Jellyfin.Networking.Manager.NetworkManager: Used LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[2025-06-10 12:34:42.725 -04:00] [INF] [4] Jellyfin.Networking.Manager.NetworkManager: Filtered interface addresses: ["127.0.0.1", "172.17.0.2"]
[2025-06-10 12:34:42.725 -04:00] [INF] [4] Jellyfin.Networking.Manager.NetworkManager: Bind Addresses ["0.0.0.0"]
[2025-06-10 12:34:42.725 -04:00] [INF] [4] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is "Allowlist"
[2025-06-10 12:34:42.725 -04:00] [INF] [4] Jellyfin.Networking.Manager.NetworkManager: Filtered subnets: []
[2025-06-10 12:34:42.874 -04:00] [INF] [4] Jellyfin.Database.Implementations.Locking.NoLockBehavior: The database locking mode has been set to: NoLock.
[2025-06-10 12:34:42.877 -04:00] [INF] [4] Main: Prepare system for possible migrations
[2025-06-10 12:34:42.917 -04:00] [INF] [4] Main: A migration will attempt to modify the jellyfin.db, will attempt to backup the file now.
[2025-06-10 12:34:42.923 -04:00] [INF] [4] Main: Jellyfin database has been backed up as "20250610043442"
[2025-06-10 12:34:43.394 -04:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"ImageInfos"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2025-06-10 12:34:43.394 -04:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"ImageInfos"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2025-06-10 12:34:43.395 -04:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"Permissions"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2025-06-10 12:34:43.396 -04:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"Permissions"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2025-06-10 12:34:43.396 -04:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"Preferences"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2025-06-10 12:34:43.396 -04:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"Preferences"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2025-06-10 12:34:43.396 -04:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"Users"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2025-06-10 12:34:43.397 -04:00] [WRN] [4] Microsoft.EntityFrameworkCore.Migrations: An operation of type '"SqlOperation"' will be attempted while a rebuild of table '"Users"' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[2025-06-10 12:34:45.718 -04:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[2025-06-10 12:34:45.723 -04:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/cache"
[2025-06-10 12:34:45.728 -04:00] [INF] [4] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "TMDb" "10.11.0.0"
[2025-06-10 12:34:45.728 -04:00] [INF] [4] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "Studio Images" "10.11.0.0"
[2025-06-10 12:34:45.729 -04:00] [INF] [4] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "OMDb" "10.11.0.0"
[2025-06-10 12:34:45.742 -04:00] [INF] [4] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "MusicBrainz" "10.11.0.0"
[2025-06-10 12:34:45.742 -04:00] [INF] [4] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "AudioDB" "10.11.0.0"
[2025-06-10 12:34:45.881 -04:00] [INF] [4] Main: Kestrel is listening on "0.0.0.0"
[2025-06-10 12:34:46.004 -04:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[2025-06-10 12:34:46.010 -04:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/cache"
[2025-06-10 12:34:46.054 -04:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[2025-06-10 12:34:46.060 -04:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/cache"
[2025-06-10 12:34:46.079 -04:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[2025-06-10 12:34:46.084 -04:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/cache"
[2025-06-10 12:34:46.243 -04:00] [INF] [4] Main: Attempt to cleanup JellyfinDb backup.
[2025-06-10 12:34:46.571 -04:00] [WRN] [4] Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware: The WebRootPath was not found: "/wwwroot". Static files may be unavailable.
[2025-06-10 12:34:46.908 -04:00] [INF] [4] Emby.Server.Implementations.ApplicationHost: Running startup tasks
[2025-06-10 12:34:46.917 -04:00] [INF] [4] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for "Generate Trickplay Images" set to fire at 2025-06-11 03:00:00.000 -04:00, which is 14:25:13.0826064 from now.
[2025-06-10 12:34:46.924 -04:00] [INF] [4] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for "Extract Chapter Images" set to fire at 2025-06-11 02:00:00.000 -04:00, which is 13:25:13.0756094 from now.
[2025-06-10 12:34:47.027 -04:00] [INF] [4] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found ffmpeg version "7.1.1"
[2025-06-10 12:34:47.076 -04:00] [INF] [4] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available "decoders": ["libdav1d", "av1", "av1_cuvid", "av1_qsv", "h264", "h264_qsv", "h264_cuvid", "hevc", "hevc_qsv", "hevc_cuvid", "mpeg2video", "mpeg2_qsv", "mpeg2_cuvid", "mpeg4", "mpeg4_cuvid", "msmpeg4", "vc1_qsv", "vc1_cuvid", "vp8", "libvpx", "vp8_cuvid", "vp8_qsv", "vp9", "libvpx-vp9", "vp9_cuvid", "vp9_qsv", "aac", "ac3", "ac4", "dca", "flac", "mp3", "truehd"]
[2025-06-10 12:34:47.094 -04:00] [INF] [4] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available "encoders": ["libsvtav1", "av1_nvenc", "av1_qsv", "av1_amf", "av1_vaapi", "libx264", "h264_amf", "h264_nvenc", "h264_qsv", "h264_v4l2m2m", "h264_vaapi", "libx265", "hevc_amf", "hevc_nvenc", "hevc_qsv", "hevc_vaapi", "mjpeg_qsv", "mjpeg_vaapi", "aac", "libfdk_aac", "ac3", "alac", "dca", "flac", "libmp3lame", "libopus", "truehd", "libvorbis", "srt"]
[2025-06-10 12:34:47.115 -04:00] [INF] [4] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available filters: ["bwdif_cuda", "bwdif_opencl", "deinterlace_qsv", "deinterlace_vaapi", "flip_vulkan", "hwupload_cuda", "hwupload_vaapi", "libplacebo", "overlay_opencl", "overlay_qsv", "overlay_vaapi", "overlay_vulkan", "overlay_cuda", "procamp_vaapi", "scale_cuda", "scale_opencl", "scale_qsv", "scale_vaapi", "scale_vulkan", "tonemapx", "tonemap_cuda", "tonemap_opencl", "tonemap_vaapi", "transpose_cuda", "transpose_opencl", "transpose_vaapi", "transpose_vulkan", "vpp_qsv", "yadif_cuda", "yadif_opencl", "zscale", "alphasrc"]
[2025-06-10 12:34:47.359 -04:00] [INF] [4] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available hwaccel types: ["cuda", "vaapi", "qsv", "drm", "opencl", "vulkan"]
[2025-06-10 12:34:49.944 -04:00] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Clean Transcode Directory" Completed after 0 minute(s) and 0 seconds
[2025-06-10 12:34:49.945 -04:00] [INF] [18] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Clean up collections and playlists" Completed after 0 minute(s) and 0 seconds
[2025-06-10 12:34:50.303 -04:00] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Update Plugins" Completed after 0 minute(s) and 0 seconds
[2025-06-10 12:34:57.260 -04:00] [INF] [4] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: "/usr/lib/jellyfin-ffmpeg/ffmpeg"
[2025-06-10 12:34:57.266 -04:00] [INF] [4] Emby.Server.Implementations.ApplicationHost: ServerId: "f50a00e9145d48e189affacf18d2e1e6"
[2025-06-10 12:34:57.266 -04:00] [INF] [4] Emby.Server.Implementations.ApplicationHost: Core startup complete
[2025-06-10 12:34:57.266 -04:00] [INF] [4] Main: Startup complete 0:00:54.3044197
[2025-06-10 12:35:36.890 -04:00] [INF] [26] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[2025-06-10 12:35:36.896 -04:00] [INF] [26] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/cache"
[2025-06-10 12:35:36.925 -04:00] [WRN] [4] Jellyfin.Server.Implementations.Users.UserManager: No users, creating one with username "root"
[2025-06-10 12:40:22.242 -04:00] [INF] [39] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[2025-06-10 12:40:22.247 -04:00] [INF] [39] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/cache"
[2025-06-10 12:40:25.847 -04:00] [INF] [37] Jellyfin.Networking.Manager.NetworkManager: Defined LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[2025-06-10 12:40:25.847 -04:00] [INF] [37] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
[2025-06-10 12:40:25.847 -04:00] [INF] [37] Jellyfin.Networking.Manager.NetworkManager: Used LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[2025-06-10 12:40:25.847 -04:00] [INF] [37] Jellyfin.Networking.Manager.NetworkManager: Filtered interface addresses: ["127.0.0.1", "172.17.0.2"]
[2025-06-10 12:40:25.847 -04:00] [INF] [37] Jellyfin.Networking.Manager.NetworkManager: Bind Addresses ["0.0.0.0"]
[2025-06-10 12:40:25.847 -04:00] [INF] [37] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is "Allowlist"
[2025-06-10 12:40:25.847 -04:00] [INF] [37] Jellyfin.Networking.Manager.NetworkManager: Filtered subnets: []
[2025-06-10 12:40:27.879 -04:00] [INF] [39] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[2025-06-10 12:40:27.885 -04:00] [INF] [39] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/cache"
[2025-06-10 12:40:27.889 -04:00] [INF] [39] Emby.Server.Implementations.Library.LibraryManager: Validating media library
[2025-06-10 12:40:28.951 -04:00] [WRN] [39] MediaBrowser.Controller.Entities.BaseItem: Library folder "/config/data/playlists" is inaccessible or empty, skipping
[2025-06-10 12:40:30.513 -04:00] [WRN] [39] MediaBrowser.Controller.Entities.BaseItem: Library folder "/config/data/playlists" is inaccessible or empty, skipping
[2025-06-10 12:40:30.864 -04:00] [INF] [39] Jellyfin.Server.Implementations.Users.UserManager: Authentication request for "root" has succeeded.
[2025-06-10 12:40:30.864 -04:00] [INF] [39] Emby.Server.Implementations.Session.SessionManager: Current/Max sessions for user "root": 0/0
[2025-06-10 12:40:30.866 -04:00] [INF] [39] Emby.Server.Implementations.Session.SessionManager: Creating new access token for user 0feeab97-e6d3-4f29-af01-67059b0999fd
[2025-06-10 12:40:31.059 -04:00] [INF] [37] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "172.17.0.1" request
[2025-06-10 12:41:51.622 -04:00] [ERR] [89] Emby.Server.Implementations.ScheduledTasks.TaskManager: Error executing Scheduled Task
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 5: 'database is locked'.
at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteConnectionExtensions.ExecuteNonQuery(SqliteConnection connection, String commandText, SqliteParameter[] parameters)
at Microsoft.Data.Sqlite.SqliteConnection.BeginTransaction(IsolationLevel isolationLevel, Boolean deferred)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ConnectionBeginTransaction(IsolationLevel isolationLevel)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransaction(IsolationLevel isolationLevel)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransaction()
at Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade.BeginTransaction()
at Jellyfin.Server.Implementations.Item.BaseItemRepository.UpdateOrInsertItems(IReadOnlyList1 items, CancellationToken cancellationToken)
at Jellyfin.Server.Implementations.Item.BaseItemRepository.SaveItems(IReadOnlyList1 items, CancellationToken cancellationToken)
at Emby.Server.Implementations.Library.LibraryManager.CreateItems(IReadOnlyList1 items, BaseItem parent, 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(IProgress1 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](Func3 task, IList1 children, IProgress1 progress, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.ValidateSubFolders(IList1 children, IDirectoryService directoryService, 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(IProgress1 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](Func3 task, IList1 children, IProgress1 progress, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.ValidateSubFolders(IList1 children, IDirectoryService directoryService, 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(IProgress1 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](Func3 task, IList1 children, IProgress1 progress, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.ValidateSubFolders(IList1 children, IDirectoryService directoryService, 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(IProgress1 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(IProgress1 progress, CancellationToken cancellationToken)
at Emby.Server.Implementations.Library.LibraryManager.ValidateMediaLibraryInternal(IProgress1 progress, CancellationToken cancellationToken)
at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
[2025-06-10 12:41:51.625 -04:00] [INF] [89] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Scan Media Library" Failed after 1 minute(s) and 23 seconds
[2025-06-10 12:42:00.305 -04:00] [INF] [29] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/movies"
[2025-06-10 12:42:11.909 -04:00] [INF] [47] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/tv_shows"
[2025-06-10 12:42:48.411 -04:00] [WRN] [78] Microsoft.EntityFrameworkCore.Query: Compiling a query which loads related collections for more than one collection navigation, either via 'Include' or through projection, but no 'QuerySplittingBehavior' has been configured. By default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can potentially result in slow query performance. See https://go.microsoft.com/fwlink/?linkid=2134277 for more information. To identify the query that's triggering this warning call 'ConfigureWarnings(w => w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
[2025-06-10 12:45:26.477 -04:00] [INF] [68] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/tv_shows"
[2025-06-10 12:45:26.503 -04:00] [INF] [68] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/movies"
[2025-06-10 12:45:26.513 -04:00] [INF] [68] Emby.Server.Implementations.Library.LibraryManager: Validating media library
[2025-06-10 12:45:27.480 -04:00] [WRN] [68] MediaBrowser.Controller.Entities.BaseItem: Library folder "/config/data/playlists" is inaccessible or empty, skipping
[2025-06-10 12:45:28.662 -04:00] [WRN] [80] MediaBrowser.Controller.Entities.BaseItem: Library folder "/config/data/playlists" is inaccessible or empty, skipping
[2025-06-10 12:46:26.883 -04:00] [ERR] [80] Emby.Server.Implementations.ScheduledTasks.TaskManager: Error executing Scheduled Task
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 5: 'database is locked'.
at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteConnectionExtensions.ExecuteNonQuery(SqliteConnection connection, String commandText, SqliteParameter[] parameters)
at Microsoft.Data.Sqlite.SqliteConnection.BeginTransaction(IsolationLevel isolationLevel, Boolean deferred)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransaction(IsolationLevel isolationLevel)
at Jellyfin.Server.Implementations.Item.BaseItemRepository.UpdateOrInsertItems(IReadOnlyList1 items, CancellationToken cancellationToken)
at Jellyfin.Server.Implementations.Item.BaseItemRepository.SaveItems(IReadOnlyList1 items, CancellationToken cancellationToken)
at Emby.Server.Implementations.Library.LibraryManager.CreateItems(IReadOnlyList1 items, BaseItem parent, 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(IProgress1 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](Func3 task, IList1 children, IProgress1 progress, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.ValidateSubFolders(IList1 children, IDirectoryService directoryService, 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(IProgress1 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](Func3 task, IList1 children, IProgress1 progress, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.ValidateSubFolders(IList1 children, IDirectoryService directoryService, 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(IProgress1 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](Func3 task, IList1 children, IProgress1 progress, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.ValidateSubFolders(IList1 children, IDirectoryService directoryService, 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(IProgress1 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(IProgress1 progress, CancellationToken cancellationToken)
at Emby.Server.Implementations.Library.LibraryManager.ValidateMediaLibraryInternal(IProgress1 progress, CancellationToken cancellationToken)
at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
[2025-06-10 12:46:26.885 -04:00] [INF] [80] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Scan Media Library" Failed after 1 minute(s) and 0 seconds
[2025-06-10 12:46:35.483 -04:00] [INF] [56] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/movies"
[2025-06-10 12:46:47.049 -04:00] [INF] [14] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/tv_shows"
[2025-06-10 12:50:43.046 -04:00] [INF] [93] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2025-06-10 12:54:31.036 -04:00] [INF] [79] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
Jellyfin 10.11.0 RC2
docker desktop using WSL2 on Windows 11 with jellyfin/jellyfin:preview
AMD Ryzen 9 7950X
64GB DDR5-3600 RAM
NVIDIA RTX 3060 12GB
OS Drive: Samsung 990 Pro 2TB
Media & Config Drive (all): QNAP TS-932PX NAS with 5 x Seagate Ironwolf Pro 16TB in RAID5 connected with 10Gbps iSCSI link
docker desktop using WSL2 on Windows 11 with jellyfin/jellyfin:preview
AMD Ryzen 9 7950X
64GB DDR5-3600 RAM
NVIDIA RTX 3060 12GB
OS Drive: Samsung 990 Pro 2TB
Media & Config Drive (all): QNAP TS-932PX NAS with 5 x Seagate Ironwolf Pro 16TB in RAID5 connected with 10Gbps iSCSI link