• 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 Database Update to 10.11.2 fails

     
    • 0 Vote(s) - 0 Average

    Database Update to 10.11.2 fails

    Update database fails after migration from raspian bookworm to trixie
    nerdnils
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Nov
    Reputation: 0
    #5
    4 hours ago (This post was last modified: 4 hours ago by nerdnils. Edited 1 time in total.)
    (4 hours ago)kandykarter Wrote: I'm not sure how to find the version from your backup, but I'm pretty sure there was no 10.10.8, I think the 10.10 line topped out at 10.10.7.

    The reason I ask is the 10.11 branch can *only* be updated to by 10.10.7, so if you were using something older, that could be the source of your trouble.

    Sadly, no. Just downgraded to 10.10.7 using https://repo.jellyfin.org/?path=/server/...able/arm64 and still getting the same error:

    [2025-11-11 18:16:04.809 +01:00] [FTL] Error while starting server
    Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: ActivityLog'.
      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.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action1 saveConfiguration, ILogger logger)
      at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory)
      at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
    [2025-11-11 18:16:04.811 +01:00] [INF] Running query planner optimizations in the database... This might take a while
    [2025-11-11 18:16:04.860 +01:00] [INF] Disposing "CoreAppHost"
    [2025-11-11 18:16:04.863 +01:00] [INF] Disposing "MusicBrainzArtistProvider"
    [2025-11-11 18:16:04.865 +01:00] [INF] Disposing "MusicBrainzAlbumProvider"
    [2025-11-11 18:16:04.866 +01:00] [INF] Disposing "PluginManager"
    [2025-11-11 18:16:28.132 +01:00] [INF] Jellyfin version: "10.10.7"
    [2025-11-11 18:16:28.231 +01: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_USER, jellyfin]", "[JELLYFIN_FFMPEG_OPT, --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_LOG_DIR, /var/log/jellyfin]", "[JELLYFIN_ADDITIONAL_OPTS, ]", "[JELLYFIN_CACHE_DIR, /var/cache/jellyfin]", "[JELLYFIN_WEB_OPT, --webdir=/usr/share/jellyfin/web]", "[JELLYFIN_CONFIG_DIR, /etc/jellyfin]", "[JELLYFIN_DATA_DIR, /var/lib/jellyfin]"]
    [2025-11-11 18:16:28.239 +01:00] [INF] Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--webdir=/usr/share/jellyfin/web", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"]
    [2025-11-11 18:16:28.247 +01:00] [INF] Operating system: "Debian GNU/Linux 13 (trixie)"
    [2025-11-11 18:16:28.248 +01:00] [INF] Architecture: Arm64
    [2025-11-11 18:16:28.251 +01:00] [INF] 64-Bit Process: True
    [2025-11-11 18:16:28.251 +01:00] [INF] User Interactive: True
    [2025-11-11 18:16:28.252 +01:00] [INF] Processor count: 4
    [2025-11-11 18:16:28.252 +01:00] [INF] Program data path: "/var/lib/jellyfin"
    [2025-11-11 18:16:28.252 +01:00] [INF] Log directory path: "/var/log/jellyfin"
    [2025-11-11 18:16:28.252 +01:00] [INF] Config directory path: "/etc/jellyfin"
    [2025-11-11 18:16:28.253 +01:00] [INF] Cache path: "/var/cache/jellyfin"
    [2025-11-11 18:16:28.253 +01:00] [INF] Temp directory path: "/tmp/jellyfin"
    [2025-11-11 18:16:28.254 +01:00] [INF] Web resources path: "/usr/share/jellyfin/web"
    [2025-11-11 18:16:28.254 +01:00] [INF] Application directory: "/usr/lib/jellyfin/bin/"
    [2025-11-11 18:16:28.717 +01:00] [INF] Setting cache path: "/var/cache/jellyfin"
    [2025-11-11 18:16:28.820 +01:00] [INF] Loading assemblies
    [2025-11-11 18:16:29.052 +01:00] [INF] Defined LAN subnets: ["MYSUBNET"]
    [2025-11-11 18:16:29.053 +01:00] [INF] Defined LAN exclusions: []
    [2025-11-11 18:16:29.054 +01:00] [INF] Used LAN subnets: ["MYSUBNET"]
    [2025-11-11 18:16:29.058 +01:00] [INF] Filtered interface addresses: ["IPs"]
    [2025-11-11 18:16:29.061 +01:00] [INF] Bind Addresses ["0.0.0.0"]
    [2025-11-11 18:16:29.062 +01:00] [INF] Remote IP filter is "Allowlist"
    [2025-11-11 18:16:29.062 +01:00] [INF] Filtered subnets: ["SUBNET"]
    [2025-11-11 18:16:34.492 +01:00] [INF] Loaded plugin: "TMDb" "10.10.7.0"
    [2025-11-11 18:16:34.495 +01:00] [INF] Loaded plugin: "Studio Images" "10.10.7.0"
    [2025-11-11 18:16:34.496 +01:00] [INF] Loaded plugin: "OMDb" "10.10.7.0"
    [2025-11-11 18:16:34.556 +01:00] [INF] Loaded plugin: "MusicBrainz" "10.10.7.0"
    [2025-11-11 18:16:34.557 +01:00] [INF] Loaded plugin: "AudioDB" "10.10.7.0"
    [2025-11-11 18:16:34.746 +01:00] [INF] Applying migration '"MigrateActivityLogDatabase"'
    [2025-11-11 18:16:34.756 +01:00] [WRN] Migrating the activity database may take a while, do not stop Jellyfin.
    [2025-11-11 18:16:34.817 +01:00] [ERR] Could not apply migration '"MigrateActivityLogDatabase"'
    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.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action
    1 saveConfiguration, ILogger logger)
      at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory)
      at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
    [2025-11-11 18:16:34.835 +01:00] [FTL] 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.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action`1 saveConfiguration, ILogger logger)
      at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory)
      at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
    [2025-11-11 18:16:34.837 +01:00] [INF] Running query planner optimizations in the database... This might take a while
    [2025-11-11 18:16:34.886 +01:00] [INF] Disposing "CoreAppHost"
    [2025-11-11 18:16:34.888 +01:00] [INF] Disposing "MusicBrainzArtistProvider"
    [2025-11-11 18:16:34.890 +01:00] [INF] Disposing "MusicBrainzAlbumProvider"
    [2025-11-11 18:16:34.890 +01:00] [INF] Disposing "PluginManager"
    « Next Oldest | Next Newest »

    Users browsing this thread: 4 Guest(s)


    Messages In This Thread
    Database Update to 10.11.2 fails - by nerdnils - 5 hours ago
    RE: Database Update to 10.11.2 fails - by kandykarter - 5 hours ago
    RE: Database Update to 10.11.2 fails - by nerdnils - 5 hours ago
    RE: Database Update to 10.11.2 fails - by kandykarter - 4 hours ago
    RE: Database Update to 10.11.2 fails - by nerdnils - 4 hours ago
    RE: Database Update to 10.11.2 fails - by kandykarter - 4 hours ago
    RE: Database Update to 10.11.2 fails - by nerdnils - 4 hours ago

    • 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