Today, 12:41 AM
Ran updates for Jellyfin for the newest version and I saw that Continue Watching for my user is not being displayed on the home screen (works fine with other users). Items that I started, but don't finish disappear from the Next Up section like normal, but have to be manually located in my library to continue watching. Attempted to perform the migration again by deleting jellyfin.db and renaming library.db.old back to library.db. When I start the server, this error appears in the log and will repeat itself until I stop the service. Not using docker or anything, just straight apt. Any suggestions? I have this user account integrated with Symfonium so I'd like to resolve it without creating a new user profile for myself. I tried moving UserDatas from library.db to jellyfin.db, but that object doesn't exist in jellyfin.db.
Log:
[2025-10-21 19:11:59.341 -04:00] [INF] The database locking mode has been set to: NoLock.
[2025-10-21 19:11:59.382 -04:00] [INF] Initialise Migration service.
[2025-10-21 19:12:00.690 -04:00] [INF] There are 5 migrations for stage PreInitialisation.
[2025-10-21 19:12:00.693 -04:00] [INF] Perform migration "20250420000000_CreateNetworkConfiguration"
[2025-10-21 19:12:00.727 -04:00] [ERR] Failed executing DbCommand ("2"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""INSERT INTO \"__EFMigrationsHistory\" (\"MigrationId\", \"ProductVersion\")
VALUES ('20250420000000_CreateNetworkConfiguration', '10.11.0.0');"
[2025-10-21 19:12:00.728 -04:00] [FTL] Error: "SQLite Error 1: 'no such table: __EFMigrationsHistory'."
[2025-10-21 19:12:00.728 -04:00] [ERR] Migration "20250420000000_CreateNetworkConfiguration" failed
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: __EFMigrationsHistory'.
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 Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
at System.Data.Common.DbCommand.ExecuteNonQueryAsync(CancellationToken cancellationToken)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.ExecuteSqlRawAsync(DatabaseFacade databaseFacade, String sql, IEnumerable
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.ApplyStartupMigrationAsync(ServerApplicationPaths appPaths, IConfiguration startupConfig)
at Jellyfin.Server.Program.StartApp(StartupOptions options)
at Jellyfin.Server.Program.<Main>(String[] args)
[2025-10-21 19:12:01.689 -04:00] [INF] Setting cache path: "/var/cache/jellyfin"
[2025-10-21 19:12:01.945 -04:00] [INF] Kestrel is listening on "0.0.0.0"
[2025-10-21 19:12:01.979 -04:00] [INF] Jellyfin version: "10.11.0"
[2025-10-21 19:12:01.983 -04:00] [INF] Environment Variables: ["[JELLYFIN_ARGS, $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLFIN_ADDITIONAL_OPTS --datadir $JELLYFIN_DATA_DIR --configdir $JELLYFIN_CONFIG_DIR --logdir $JELLYFIN_LOG_DIR --cachedir $JELLYFIN_CACHE_DIR]", "[JELLYFIN_FFMPEG_OPT, --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_DATA_DIR, /var/lib/jellyfin]", "[JELLYFIN_ADDITIONAL_OPTS, ]", "[JELLYFIN_CONFIG_DIR, /etc/jellyfin]", "[JELLYFIN_USER, jellyfin]", "[JELLYFIN_WEB_OPT, --webdir=/usr/share/jellyfin/web]", "[JELLYFIN_LOG_DIR, /var/log/jellyfin]", "[JELLYFIN_CACHE_DIR, /var/cache/jellyfin]"]
[2025-10-21 19:12:01.985 -04:00] [INF] Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--webdir=/usr/share/jellyfin/web", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"]
[2025-10-21 19:12:01.986 -04:00] [INF] Operating system: "Ubuntu 22.04.5 LTS"
[2025-10-21 19:12:01.986 -04:00] [INF] Architecture: X64
[2025-10-21 19:12:01.986 -04:00] [INF] 64-Bit Process: True
[2025-10-21 19:12:01.987 -04:00] [INF] User Interactive: True
[2025-10-21 19:12:01.987 -04:00] [INF] Processor count: 4
[2025-10-21 19:12:01.987 -04:00] [INF] Program data path: "/var/lib/jellyfin"
[2025-10-21 19:12:01.987 -04:00] [INF] Log directory path: "/var/log/jellyfin"
[2025-10-21 19:12:01.987 -04:00] [INF] Config directory path: "/etc/jellyfin"
[2025-10-21 19:12:01.987 -04:00] [INF] Cache path: "/var/cache/jellyfin"
[2025-10-21 19:12:01.987 -04:00] [INF] Temp directory path: "/tmp/jellyfin"
[2025-10-21 19:12:01.987 -04:00] [INF] Web resources path: "/usr/share/jellyfin/web"
[2025-10-21 19:12:01.987 -04:00] [INF] Application directory: "/usr/lib/jellyfin/bin/"
[2025-10-21 19:12:02.004 -04:00] [INF] Storage path
[2025-10-21 19:12:02.006 -04:00] [INF] Storage path
[2025-10-21 19:12:02.006 -04:00] [INF] Storage path
[2025-10-21 19:12:02.006 -04:00] [INF] Storage path
[2025-10-21 19:12:02.006 -04:00] [INF] Storage path
[2025-10-21 19:12:02.010 -04:00] [INF] Setting cache path: "/var/cache/jellyfin"
[2025-10-21 19:12:02.081 -04:00] [INF] SQLite connection string: "Data Source=/var/lib/jellyfin/data/jellyfin.db;Cache=Default;Pooling=True"
[2025-10-21 19:12:02.089 -04:00] [INF] SQLITE connection pragma command set to:
"PRAGMA locking_mode=NORMAL;
PRAGMA journal_size_limit=134217728;
PRAGMA synchronous=1;
PRAGMA temp_store=2;
"
Log:
[2025-10-21 19:11:59.341 -04:00] [INF] The database locking mode has been set to: NoLock.
[2025-10-21 19:11:59.382 -04:00] [INF] Initialise Migration service.
[2025-10-21 19:12:00.690 -04:00] [INF] There are 5 migrations for stage PreInitialisation.
[2025-10-21 19:12:00.693 -04:00] [INF] Perform migration "20250420000000_CreateNetworkConfiguration"
[2025-10-21 19:12:00.727 -04:00] [ERR] Failed executing DbCommand ("2"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""INSERT INTO \"__EFMigrationsHistory\" (\"MigrationId\", \"ProductVersion\")
VALUES ('20250420000000_CreateNetworkConfiguration', '10.11.0.0');"
[2025-10-21 19:12:00.728 -04:00] [FTL] Error: "SQLite Error 1: 'no such table: __EFMigrationsHistory'."
[2025-10-21 19:12:00.728 -04:00] [ERR] Migration "20250420000000_CreateNetworkConfiguration" failed
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: __EFMigrationsHistory'.
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 Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
at System.Data.Common.DbCommand.ExecuteNonQueryAsync(CancellationToken cancellationToken)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.ExecuteSqlRawAsync(DatabaseFacade databaseFacade, String sql, IEnumerable
1 parameters, 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)
[2025-10-21 19:12:00.748 -04:00] [FTL] Unhandled Exception
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: __EFMigrationsHistory'.
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 Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
at System.Data.Common.DbCommand.ExecuteNonQueryAsync(CancellationToken cancellationToken)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.ExecuteSqlRawAsync(DatabaseFacade databaseFacade, String sql, IEnumerable
1 parameters, 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.ApplyStartupMigrationAsync(ServerApplicationPaths appPaths, IConfiguration startupConfig)
at Jellyfin.Server.Program.StartApp(StartupOptions options)
at Jellyfin.Server.Program.<Main>(String[] args)
[2025-10-21 19:12:01.689 -04:00] [INF] Setting cache path: "/var/cache/jellyfin"
[2025-10-21 19:12:01.945 -04:00] [INF] Kestrel is listening on "0.0.0.0"
[2025-10-21 19:12:01.979 -04:00] [INF] Jellyfin version: "10.11.0"
[2025-10-21 19:12:01.983 -04:00] [INF] Environment Variables: ["[JELLYFIN_ARGS, $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLFIN_ADDITIONAL_OPTS --datadir $JELLYFIN_DATA_DIR --configdir $JELLYFIN_CONFIG_DIR --logdir $JELLYFIN_LOG_DIR --cachedir $JELLYFIN_CACHE_DIR]", "[JELLYFIN_FFMPEG_OPT, --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_DATA_DIR, /var/lib/jellyfin]", "[JELLYFIN_ADDITIONAL_OPTS, ]", "[JELLYFIN_CONFIG_DIR, /etc/jellyfin]", "[JELLYFIN_USER, jellyfin]", "[JELLYFIN_WEB_OPT, --webdir=/usr/share/jellyfin/web]", "[JELLYFIN_LOG_DIR, /var/log/jellyfin]", "[JELLYFIN_CACHE_DIR, /var/cache/jellyfin]"]
[2025-10-21 19:12:01.985 -04:00] [INF] Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--webdir=/usr/share/jellyfin/web", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"]
[2025-10-21 19:12:01.986 -04:00] [INF] Operating system: "Ubuntu 22.04.5 LTS"
[2025-10-21 19:12:01.986 -04:00] [INF] Architecture: X64
[2025-10-21 19:12:01.986 -04:00] [INF] 64-Bit Process: True
[2025-10-21 19:12:01.987 -04:00] [INF] User Interactive: True
[2025-10-21 19:12:01.987 -04:00] [INF] Processor count: 4
[2025-10-21 19:12:01.987 -04:00] [INF] Program data path: "/var/lib/jellyfin"
[2025-10-21 19:12:01.987 -04:00] [INF] Log directory path: "/var/log/jellyfin"
[2025-10-21 19:12:01.987 -04:00] [INF] Config directory path: "/etc/jellyfin"
[2025-10-21 19:12:01.987 -04:00] [INF] Cache path: "/var/cache/jellyfin"
[2025-10-21 19:12:01.987 -04:00] [INF] Temp directory path: "/tmp/jellyfin"
[2025-10-21 19:12:01.987 -04:00] [INF] Web resources path: "/usr/share/jellyfin/web"
[2025-10-21 19:12:01.987 -04:00] [INF] Application directory: "/usr/lib/jellyfin/bin/"
[2025-10-21 19:12:02.004 -04:00] [INF] Storage path
"/var/lib/jellyfin/data"
(Fixed) successfully checked with "96.6GB" free which is over the minimum of "2GB".[2025-10-21 19:12:02.006 -04:00] [INF] Storage path
"/var/log/jellyfin"
(Fixed) successfully checked with "96.6GB" free which is over the minimum of "512MB".[2025-10-21 19:12:02.006 -04:00] [INF] Storage path
"/var/cache/jellyfin"
(Fixed) successfully checked with "96.6GB" free which is over the minimum of "2GB".[2025-10-21 19:12:02.006 -04:00] [INF] Storage path
"/var/lib/jellyfin"
(Fixed) successfully checked with "96.6GB" free which is over the minimum of "2GB".[2025-10-21 19:12:02.006 -04:00] [INF] Storage path
"/tmp/jellyfin"
(Fixed) successfully checked with "96.6GB" free which is over the minimum of "2GB".[2025-10-21 19:12:02.010 -04:00] [INF] Setting cache path: "/var/cache/jellyfin"
[2025-10-21 19:12:02.081 -04:00] [INF] SQLite connection string: "Data Source=/var/lib/jellyfin/data/jellyfin.db;Cache=Default;Pooling=True"
[2025-10-21 19:12:02.089 -04:00] [INF] SQLITE connection pragma command set to:
"PRAGMA locking_mode=NORMAL;
PRAGMA journal_size_limit=134217728;
PRAGMA synchronous=1;
PRAGMA temp_store=2;
"