• 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
    #1
    11 hours ago
    Hi there,

    I migrated my raspberry pi 4 from buster to trixie and now i want to install jellyfin again/restore my backup into the new installation.
    The jellyfin server seems to try to update my database but fails because there is a table missing in the database. How to fix the error/how
    to update the database correctly?

    Here is the relevant log, please ask if you need any more information!
    [2025-11-11 17:18:33.334 +01:00] [INF] Migration "20241112232041_FixMediaStreams" was successfully applied
    [2025-11-11 17:18:33.335 +01:00] [INF] Perform migration "20241112234144_FixMediaStreams2"
    [2025-11-11 17:18:33.608 +01:00] [INF] Migration "20241112234144_FixMediaStreams2" was successfully applied
    [2025-11-11 17:18:33.609 +01:00] [INF] Perform migration "20241113133548_EnforceUniqueItemValue"
    [2025-11-11 17:18:33.732 +01:00] [INF] Migration "20241113133548_EnforceUniqueItemValue" was successfully applied
    [2025-11-11 17:18:33.733 +01:00] [INF] Perform migration "20250202021306_FixedCollation"
    [2025-11-11 17:18:33.940 +01:00] [INF] Migration "20250202021306_FixedCollation" was successfully applied
    [2025-11-11 17:18:33.941 +01:00] [INF] Perform migration "20250204092455_MakeStartEndDateNullable"
    [2025-11-11 17:18:34.174 +01:00] [INF] Migration "20250204092455_MakeStartEndDateNullable" was successfully applied
    [2025-11-11 17:18:34.175 +01:00] [INF] Perform migration "20250214031148_ChannelIdGuid"
    [2025-11-11 17:18:34.281 +01:00] [INF] Migration "20250214031148_ChannelIdGuid" was successfully applied
    [2025-11-11 17:18:34.281 +01:00] [INF] Perform migration "20250326065026_AddInheritedParentalRatingSubValue"
    [2025-11-11 17:18:34.401 +01:00] [INF] Migration "20250326065026_AddInheritedParentalRatingSubValue" was successfully applied
    [2025-11-11 17:18:34.401 +01:00] [INF] Perform migration "20250327101120_AddKeyframeData"
    [2025-11-11 17:18:34.518 +01:00] [INF] Migration "20250327101120_AddKeyframeData" was successfully applied
    [2025-11-11 17:18:34.518 +01:00] [INF] Perform migration "20250327171413_AddHdr10PlusFlag"
    [2025-11-11 17:18:34.630 +01:00] [INF] Migration "20250327171413_AddHdr10PlusFlag" was successfully applied
    [2025-11-11 17:18:34.630 +01:00] [INF] Perform migration "20250331182844_FixAttachmentMigration"
    [2025-11-11 17:18:34.835 +01:00] [INF] Migration "20250331182844_FixAttachmentMigration" was successfully applied
    [2025-11-11 17:18:34.835 +01:00] [INF] Perform migration "20250401142247_FixAncestors"
    [2025-11-11 17:18:34.941 +01:00] [INF] Migration "20250401142247_FixAncestors" was successfully applied
    [2025-11-11 17:18:34.941 +01:00] [INF] Perform migration "20250405075612_FixItemValuesIndices"
    [2025-11-11 17:18:35.050 +01:00] [INF] Migration "20250405075612_FixItemValuesIndices" was successfully applied
    [2025-11-11 17:18:35.050 +01:00] [INF] Perform migration "20250609115616_DetachUserDataInsteadOfDelete"
    [2025-11-11 17:18:35.288 +01:00] [INF] Migration "20250609115616_DetachUserDataInsteadOfDelete" was successfully applied
    [2025-11-11 17:18:35.289 +01:00] [INF] Perform migration "20250622170802_BaseItemImageInfoDateModifiedNullable"
    [2025-11-11 17:18:35.488 +01:00] [INF] Migration "20250622170802_BaseItemImageInfoDateModifiedNullable" was successfully applied
    [2025-11-11 17:18:35.488 +01:00] [INF] Perform migration "20250714044826_ResetJournalMode"
    [2025-11-11 17:18:35.597 +01:00] [INF] Migration "20250714044826_ResetJournalMode" was successfully applied
    [2025-11-11 17:18:35.597 +01:00] [INF] Perform migration "20250913211637_AddProperParentChildRelationBaseItemWithCascade"
    [2025-11-11 17:18:35.846 +01:00] [INF] Migration "20250913211637_AddProperParentChildRelationBaseItemWithCascade" was successfully applied
    [2025-11-11 17:18:35.846 +01:00] [INF] Perform migration "20250925203415_ExtendPeopleMapKey"
    [2025-11-11 17:18:36.049 +01:00] [INF] Migration "20250925203415_ExtendPeopleMapKey" was successfully applied
    [2025-11-11 17:18:38.305 +01:00] [INF] Loaded plugin: "TMDb" "10.11.2.0"
    [2025-11-11 17:18:38.308 +01:00] [INF] Loaded plugin: "Studio Images" "10.11.2.0"
    [2025-11-11 17:18:38.309 +01:00] [INF] Loaded plugin: "OMDb" "10.11.2.0"
    [2025-11-11 17:18:38.347 +01:00] [INF] Loaded plugin: "MusicBrainz" "10.11.2.0"
    [2025-11-11 17:18:38.348 +01:00] [INF] Loaded plugin: "AudioDB" "10.11.2.0"
    [2025-11-11 17:18:38.519 +01:00] [INF] There are 26 migrations for stage AppInitialisation.
    [2025-11-11 17:18:38.519 +01:00] [INF] Perform migration "20250420050000_DisableTranscodingThrottling"
    [2025-11-11 17:18:38.524 +01:00] [INF] Migration "20250420050000_DisableTranscodingThrottling" was successfully applied
    [2025-11-11 17:18:38.525 +01:00] [INF] Perform migration "20250420060000_CreateUserLoggingConfigFile"
    [2025-11-11 17:18:38.592 +01:00] [INF] Migration "20250420060000_CreateUserLoggingConfigFile" was successfully applied
    [2025-11-11 17:18:38.592 +01:00] [INF] Perform migration "20250420070000_MigrateActivityLogDb"
    [2025-11-11 17:18:38.604 +01:00] [WRN] "/var/lib/jellyfin/data/activitylog.db" doesn't exist, nothing to migrate
    [2025-11-11 17:18:38.606 +01:00] [INF] Migration "20250420070000_MigrateActivityLogDb" was successfully applied
    [2025-11-11 17:18:38.606 +01:00] [INF] Perform migration "20250420080000_RemoveDuplicateExtras"
    [2025-11-11 17:18:38.621 +01:00] [FTL] Error: "SQLite Error 1: 'no such table: TypedBaseItems'."
    [2025-11-11 17:18:38.622 +01:00] [ERR] Migration "20250420080000_RemoveDuplicateExtras" failed
    Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: TypedBaseItems'.
      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 System.Linq.Enumerable.IEnumerableSelectIterator2.MoveNext()
      at System.String.Join(String separator, IEnumerable
    1 values)
      at Jellyfin.Server.Migrations.Routines.RemoveDuplicateExtras.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)
    [2025-11-11 17:18:38.641 +01:00] [INF] Attempt to rollback librarydb.
    [2025-11-11 17:18:38.641 +01:00] [INF] Attempt to rollback JellyfinDb.
    [2025-11-11 17:18:38.672 +01:00] [FTL] Error while starting server
    Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: TypedBaseItems'.
      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 System.Linq.Enumerable.IEnumerableSelectIterator2.MoveNext()
      at System.String.Join(String separator, IEnumerable
    1 values)
      at Jellyfin.Server.Migrations.Routines.RemoveDuplicateExtras.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)
    [2025-11-11 17:28:38.736 +01:00] [INF] Running query planner optimizations in the database... This might take a while
    [2025-11-11 17:28:38.779 +01:00] [INF] Disposing "CoreAppHost"
    [2025-11-11 17:28:38.780 +01:00] [INF] Disposing "MusicBrainzArtistProvider"
    [2025-11-11 17:28:38.781 +01:00] [INF] Disposing "MusicBrainzAlbumProvider"
    [2025-11-11 17:28:38.782 +01:00] [INF] Disposing "PluginManager"
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Database Update to 10.11.2 fails - by nerdnils - 11 hours ago
    RE: Database Update to 10.11.2 fails - by kandykarter - 11 hours ago
    RE: Database Update to 10.11.2 fails - by nerdnils - 11 hours ago
    RE: Database Update to 10.11.2 fails - by kandykarter - 10 hours ago
    RE: Database Update to 10.11.2 fails - by nerdnils - 10 hours ago
    RE: Database Update to 10.11.2 fails - by kandykarter - 10 hours ago
    RE: Database Update to 10.11.2 fails - by nerdnils - 10 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