• 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

    Pages (2): 1 2 Next »

     
    • 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
    2025-10-22, 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
    2025-10-22, 03:14 AM (This post was last modified: 2025-10-22, 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: 6
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #3
    2025-10-22, 02:20 PM
    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
    1
    Confused-o-Screaming
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2025 Oct
    Reputation: 0
    #4
    2025-10-22, 03:41 PM
    (2025-10-22, 02:20 PM)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
    alleycat
    Offline

    Member

    Posts: 104
    Threads: 20
    Joined: 2024 Sep
    Reputation: 1
    Country:United States
    #5
    2025-10-23, 12:27 PM
    (2025-10-22, 02:20 PM)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'm having the exact same issue with Continue Watching. I've been on the 10.11.0 release now for a few days. No problem with Continue Watching right after the upgrade. Once I watched the existing items in the Continue Watching section of the Home page, I started having a problem with "new" views not showing up in that section of the Home page. Like others stated my partially watched videos are found in the libraries and can continue watching from there. This seems to be happening to my user account (admin) but my two "test" users, it works fine. I tried the above suggestions with no luck. Nothing in the log relates to the issue.
    Anyone else with this problem and how did you proceed? This issue is marked "solved" be didn't work for me. Should I start a new thread?
    Jellyfin 10.11.0 on Ubuntu 24.04.2 LTS, OptiPlex 7050 i7-6700 32GB ram (headless)
    Arc A310, TrueNAS Mini R Raidz2 45 TiB, Netgate 4200 PFsense/HAproxy

    R0gue_One
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #6
    2025-10-23, 03:22 PM
    Unfortunately creating a new user did not work. Steps I took:

    1. Created a new admin user
    2. Logged in, and started watching three separate movies and two TV shows.
    3. All items appeared in "Continue Watching" section.
    4. Went to Dashboard, and scanned all libraries.
    5. Logged out of original user account with user
    6. Logged back in, no Continue Watching items. Next Up only works for TV shows, not Movies.
    7. Started two new movies, skipped ahead, backed out, and do not appear under Continue Watching.
    8. Manually going to the Movie and playing will resume at last playback.

    At a loss here what is going on and why it's affecting specific user accounts and not all.
    1
    Dreizack
    Offline

    Junior Member

    Posts: 2
    Threads: 0
    Joined: 2025 Oct
    Reputation: 0
    Country:Germany
    #7
    Yesterday, 01:56 AM
    Hello,

    I’m experiencing the same issue. Since the 10.11.0 update, the “Continue Watching” feature has stopped working. I’ve tried everything I could think of — turning the feature off and on again, creating a new user profile, running a full library scan, and more — but nothing helped. I have no idea what’s causing the problem or how to fix it, so I’m kindly asking for assistance with this issue.

    Thank you in advance for your help.
    icassassin
    Online

    Junior Member

    Posts: 3
    Threads: 0
    Joined: 2025 Oct
    Reputation: 0
    #8
    7 hours ago
    I'm also having this problem since upgrading from 10.10.7. I'm running this on an Ubuntu 24.04 install, native binaries.

    When I first upgraded via apt, migration failed due to 'libjemalloc' not being on my system at the time. I installed that and restarted Jellyfin and things were working OK. I did a full library scan and that went through without a hitch. But the only things showing up in 'Continue Watching' were the TV shows that were there before the upgrade. No movies show up, despite some having been in 'Continue Watching' before the upgrade. Subsequent watches of any movie or TV show do not add into 'Continue Watching'. Watching or marking watched a TV show in the 'Continue Watching' header will remove it.

    I also tried remigrating but that doesn't seem to be working. Whenever I rename 'library.db.old' to 'library.db' and remove 'jellyfin.db' I see this in the logs:

    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)

    and Jellyfin does not start. I've tried toying with renaming 'migrating.xml.backup' to 'migrating.xml' in settings but still the same thing. I'm not sure if I'm supposed to do something else to get Jellyfin to try the migration again and I'm just doing it wrong.
    alleycat
    Offline

    Member

    Posts: 104
    Threads: 20
    Joined: 2024 Sep
    Reputation: 1
    Country:United States
    #9
    4 hours ago
    (7 hours ago)icassassin Wrote: I'm also having this problem since upgrading from 10.10.7. I'm running this on an Ubuntu 24.04 install, native binaries.

    When I first upgraded via apt, migration failed due to 'libjemalloc' not being on my system at the time. I installed that and restarted Jellyfin and things were working OK. I did a full library scan and that went through without a hitch. But the only things showing up in 'Continue Watching' were the TV shows that were there before the upgrade. No movies show up, despite some having been in 'Continue Watching' before the upgrade. Subsequent watches of any movie or TV show do not add into 'Continue Watching'. Watching or marking watched a TV show in the 'Continue Watching' header will remove it.

    This is the exact scenario that happened to me.  The only fix for me was to create a new admin user and proceed from there. I left the old admin with all my watched and continue history in place in case a "fix" comes down...
    Jellyfin 10.11.0 on Ubuntu 24.04.2 LTS, OptiPlex 7050 i7-6700 32GB ram (headless)
    Arc A310, TrueNAS Mini R Raidz2 45 TiB, Netgate 4200 PFsense/HAproxy

    icassassin
    Online

    Junior Member

    Posts: 3
    Threads: 0
    Joined: 2025 Oct
    Reputation: 0
    #10
    3 hours ago
    (4 hours ago)alleycat Wrote:
    (7 hours ago)icassassin Wrote: I'm also having this problem since upgrading from 10.10.7. I'm running this on an Ubuntu 24.04 install, native binaries.

    When I first upgraded via apt, migration failed due to 'libjemalloc' not being on my system at the time. I installed that and restarted Jellyfin and things were working OK. I did a full library scan and that went through without a hitch. But the only things showing up in 'Continue Watching' were the TV shows that were there before the upgrade. No movies show up, despite some having been in 'Continue Watching' before the upgrade. Subsequent watches of any movie or TV show do not add into 'Continue Watching'. Watching or marking watched a TV show in the 'Continue Watching' header will remove it.

    This is the exact scenario that happened to me.  The only fix for me was to create a new admin user and proceed from there. I left the old admin with all my watched and continue history in place in case a "fix" comes down...

    So I've done a little more experimentation here:
    I had some backups of my Jellyfin data prior to my upgrade attempt. So I replaced 'jellyfin.db' and 'library.db' with day old versions of those files (not any generated by the upgrade process). I also renamed 'migrating.xml.backup' to 'migrating.xml' in '/etc/jellyfin' on my system. I restarted Jellyfin and it does properly do the migration again. Maybe the upgrade process does something to 'library.db' that it shouldn't be doing before making the backup. I dunno.

    Migration seemed to go without a hitch. Server started; had to re-login with my account. Did a full library scan.

    And 'Continue Watching' now seems to be working as expected.

    alleycat, if you've got another backup of your 'jellyfin.db' and 'library.db' files, you might want to give this a whirl.
    Pages (2): 1 2 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 7 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