• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting SOLVED: Continue Watching not working for one user after update

     
    • 0 Vote(s) - 0 Average

    SOLVED: Continue Watching not working for one user after update

    Confused-o-Screaming
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2025 Oct
    Reputation: 0
    #1
    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, IEnumerable1 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;
    "
    Go to solution
    Confused-o-Screaming
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2025 Oct
    Reputation: 0
    #2
    Today, 03:14 AM (This post was last modified: Today, 03:33 AM by Confused-o-Screaming. Edited 1 time in total.)
    I determined that deleting jellyfin.db caused this error in the logs. However, changing library.db.old back to library.db doesn't cause the migration to start again in an attempt to resolve this problem.

    The logs show the migration service being initialized then finding 0 migrations for stage coreinitialization before starting as normal

    Edit: This issue is resolved. Looks like scanning all libraries fixed it?
    R0gue_One
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #3
    8 hours ago
    I'm also having this issue, but found that if I click on "Next Up" my partially watched item is there. I did try scanning all libraries from the main dashboard, but that didn't fix it. Any other suggestions? I didn't notice any errors during the upgrade to
    Confused-o-Screaming
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2025 Oct
    Reputation: 0
    #4
    7 hours ago
    (8 hours ago)R0gue_One Wrote: I'm also having this issue, but found that if I click on "Next Up" my partially watched item is there.  I did try scanning all libraries from the main dashboard, but that didn't fix it.  Any other suggestions?  I didn't notice any errors during the upgrade to

    I scanned my library after deciding to create a new user to migrate to while keeping the issue user for Symfonium to use. To recreate exactly what I did, try creating a new user, mark a few things as watched, verify that continue watching works then try scanning the library. I ran the scan from the issue user account and didn't exit that dashboard until the scan was finished 

    Hopefully that works and it wasnt just a fluke for me. Outside of trying the migration a bunch of times, this is all I "Tried" and accidentally fixed it
    « Next Oldest | Next Newest »

    Users browsing this thread: 2 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode