Unhandled exception. System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'LoggerFactory'.
at Microsoft.Extensions.Logging.LoggerFactory.CreateLogger(String categoryName)
at Jellyfin.Server.Migrations.JellyfinMigrationService.MigrateStepAsync(JellyfinMigrationStageTypes stage, IServiceProvider serviceProvider)
at Jellyfin.Server.Migrations.JellyfinMigrationService.MigrateStepAsync(JellyfinMigrationStageTypes stage, IServiceProvider serviceProvider)
at Jellyfin.Server.Program.ApplyStartupMigrationAsync(ServerApplicationPaths appPaths, IConfiguration startupConfig)
at Jellyfin.Server.Program.StartApp(StartupOptions options)
at Jellyfin.Server.Program.
and
[FTL] [9] Main: Error while starting server
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: ActivityLog'.
at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements()+MoveNext()
at Microsoft.Data.Sqlite.SqliteCommand.GetStatements()+MoveNext()
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader()
at Emby.Server.Implementations.Data.SqliteExtensions.Query(SqliteConnection sqliteConnection, String commandText)+MoveNext()
at Jellyfin.Server.Migrations.Routines.MigrateActivityLogDb.Perform()
at Jellyfin.Server.Migrations.Stages.CodeMigration.Perform(IServiceProvider serviceProvider, IStartupLogger logger, CancellationToken cancellationToken)
at Jellyfin.Server.Migrations.JellyfinMigrationService.InternalCodeMigration.PerformAsync(IStartupLogger logger)
at Jellyfin.Server.Migrations.JellyfinMigrationService.MigrateStepAsync(JellyfinMigrationStageTypes stage, IServiceProvider serviceProvider)
at Jellyfin.Server.Migrations.JellyfinMigrationService.MigrateStepAsync(JellyfinMigrationStageTypes stage, IServiceProvider serviceProvider)
at Jellyfin.Server.Migrations.JellyfinMigrationService.MigrateStepAsync(JellyfinMigrationStageTypes stage, IServiceProvider serviceProvider)
at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
Back to 10.10.7 and waiting for a solution. I tried a clean install to test everything and it's amazing, I hope to be able to update my current installation soon. Thanks team!
RE: New Jellyfin Server/Web release: 10.11.0 - hugefinfan - 2025-10-20
I've been staring at the 'Jellyfin Server still starting. Please wait.' screen for 10+ hours on a 10th gen i5 with 64G RAM. CPU and RAM load are minimal. Is there any way to tell if this is hung or if I should keep waiting? The logs keep repeating:
.........
2025-10-20 18:48:27.300 -04:00] [WRN] [24] Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService: Health check "StartupCheck" with status Degraded completed after 0.0001ms with message '"Server is still starting up."'
[2025-10-20 18:48:57.339 -04:00] [WRN] [24] Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService: Health check "StartupCheck" with status Degraded completed after 0.0001ms with message '"Server is still starting up."'
..........
The last log before that repeated for 10 hours was:
[2025-10-20 08:47:36.720 -04:00] [INF] [7] InternalDatabaseMigration: Perform migration "20241112232041_FixMediaStreams"
library is about 50TB music movies and TV, initially built 5 + years ago. running docker container on linux.
Thanks!
I just stopped it and restored the db.old and restarted it to see if it would tell me anything different and the status is the same:
[2025-10-20 19:32:22.475 -04:00] [INF] [7] Jellyfin.Database.Implementations.Locking.NoLockBehavior: The database locking mode has been set to: NoLock.
[2025-10-20 19:32:22.478 -04:00] [INF] [7] Main: Prepare system for possible migrations
[2025-10-20 19:32:22.505 -04:00] [INF] [7] Main: A migration will attempt to modify the library.db, will attempt to backup the file now.
[2025-10-20 19:32:22.505 -04:00] [INF] [7] Main: Backing up "library.db" to "/config/data/library.db.bak6"
[2025-10-20 19:32:23.283 -04:00] [INF] [7] Main: "library.db" backed up to "/config/data/library.db.bak6"
[2025-10-20 19:32:23.283 -04:00] [INF] [7] Main: "library.db" has been backed up as "/config/data/library.db.bak6"
[2025-10-20 19:32:23.283 -04:00] [INF] [7] Main: A migration will attempt to modify the jellyfin.db, will attempt to backup the file now.
[2025-10-20 19:32:24.027 -04:00] [INF] [7] Main: Jellyfin database has been backed up as "20251020113223"
[2025-10-20 19:32:24.033 -04:00] [INF] [7] Jellyfin.Server.Migrations.JellyfinMigrationService: There are 0 migrations for stage CoreInitialisation.
[2025-10-20 19:32:24.035 -04:00] [INF] [7] InternalDatabaseMigration: Perform migration "20241112232041_FixMediaStreams"
[2025-10-20 19:32:25.841 -04:00] [WRN] [9] Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService: Health check "StartupCheck" with status Degraded completed after 0.6549ms with message '"Server is still starting up."'
I guess I have to run this for more than 11 hours?
RE: New Jellyfin Server/Web release: 10.11.0 - dreamon - 2025-10-20
did a fresh install from start by using the windows build but scan for my music library gets stuck at 15% and then the server shuts down itself. no matter how many times i restarted the app, the result is still the same.
and the log doesn't tell any errors for me:
Code:
[2025-10-21 02:18:18.409 +03:00] [INF] [9] Main: Startup complete 0:00:08.4758816
[2025-10-21 02:18:21.738 +03:00] [INF] [9] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Update Plugins" Completed after 0 minute(s) and 3 seconds
[2025-10-21 02:18:23.046 +03:00] [INF] [10] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "127.x.x.x" request
[2025-10-21 02:18:30.831 +03:00] [INF] [21] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[2025-10-21 02:18:30.834 +03:00] [INF] [21] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "C:\ProgramData\Jellyfin\Server\cache"
[2025-10-21 02:18:55.948 +03:00] [INF] [23] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "E:\server\music asian"
[2025-10-21 02:18:55.951 +03:00] [INF] [23] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "E:\server\music"
[2025-10-21 02:18:55.955 +03:00] [INF] [23] Emby.Server.Implementations.Library.LibraryManager: Validating media library
[2025-10-21 02:18:56.489 +03:00] [WRN] [23] MediaBrowser.Controller.Entities.BaseItem: Library folder "C:\ProgramData\Jellyfin\Server\data\playlists" is inaccessible or empty, skipping
[2025-10-21 02:18:56.647 +03:00] [WRN] [16] MediaBrowser.Controller.Entities.BaseItem: Library folder "C:\ProgramData\Jellyfin\Server\data\playlists" is inaccessible or empty, skipping
the log ends there.