Jellyfin Forum
Issue migrating DB from 10.10.7 to 10.11.0 - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Issue migrating DB from 10.10.7 to 10.11.0 (/t-issue-migrating-db-from-10-10-7-to-10-11-0)



Issue migrating DB from 10.10.7 to 10.11.0 - shotblocker - 2025-10-21

Luckily, I have a full server backup I can rollback to, but when attempting to upgrade from linuxserver's docker image of jellyfin from 10.10.7 to 10.11.0, the log errors after trying to migrate the activity log db. Any help is appreciated.



Code:
10/21/2025 5:49:34 PM +00:00 - Error while starting server
10/21/2025 5:49:34 PM +00:00 - Migration "20250420070000_MigrateActivityLogDb" failed
10/21/2025 5:49:34 PM +00:00 - Error: "SQLite Error 1: 'no such table: ActivityLog'."
10/21/2025 5:49:33 PM +00:00 - Migrate stage AppInitialisation.

    10/21/2025 5:49:33 PM +00:00 - 20250420070000_MigrateActivityLogDb
        10/21/2025 5:49:34 PM +00:00 - Attempt to rollback JellyfinDb.
        10/21/2025 5:49:34 PM +00:00 - Attempt to rollback librarydb.
        10/21/2025 5:49:34 PM +00:00 - Migration 20250420070000_MigrateActivityLogDb failed
        10/21/2025 5:49:34 PM +00:00 - Error: SQLite Error 1: 'no such table: ActivityLog'.
        10/21/2025 5:49:33 PM +00:00 - Perform migration 20250420070000_MigrateActivityLogDb
    10/21/2025 5:49:33 PM +00:00 - 20250420060000_CreateUserLoggingConfigFile
        10/21/2025 5:49:33 PM +00:00 - Migration 20250420060000_CreateUserLoggingConfigFile was successfully applied
        10/21/2025 5:49:33 PM +00:00 - Perform migration 20250420060000_CreateUserLoggingConfigFile
    10/21/2025 5:49:33 PM +00:00 - 20250420050000_DisableTranscodingThrottling
        10/21/2025 5:49:33 PM +00:00 - Migration 20250420050000_DisableTranscodingThrottling was successfully applied
        10/21/2025 5:49:33 PM +00:00 - Perform migration 20250420050000_DisableTranscodingThrottling
    10/21/2025 5:49:33 PM +00:00 - There are 26 migrations for stage AppInitialisation.

10/21/2025 5:49:33 PM +00:00 - Error creating "Jellyfin.Plugin.Tvdb.Providers.TvdbSeriesProvider"
10/21/2025 5:49:33 PM +00:00 - Error creating "Jellyfin.Plugin.Tvdb.Providers.TvdbSeasonProvider"
10/21/2025 5:49:33 PM +00:00 - Error creating "Jellyfin.Plugin.Tvdb.Providers.TvdbPersonProvider"
10/21/2025 5:49:33 PM +00:00 - Error creating "Jellyfin.Plugin.Tvdb.Providers.TvdbMovieProvider"
10/21/2025 5:49:33 PM +00:00 - Error creating "Jellyfin.Plugin.Tvdb.Providers.TvdbEpisodeProvider"
10/21/2025 5:49:33 PM +00:00 - Error creating "Jellyfin.Plugin.Tvdb.Providers.TvdbSeriesImageProvider"
10/21/2025 5:49:33 PM +00:00 - Error creating "Jellyfin.Plugin.Tvdb.Providers.TvdbSeasonImageProvider"
10/21/2025 5:49:33 PM +00:00 - Error creating "Jellyfin.Plugin.Tvdb.Providers.TvdbPersonImageProvider"
10/21/2025 5:49:33 PM +00:00 - Error creating "Jellyfin.Plugin.Tvdb.Providers.TvdbMovieImageProvider"
10/21/2025 5:49:33 PM +00:00 - Error creating "Jellyfin.Plugin.Tvdb.Providers.TvdbEpisodeImageProvider"
10/21/2025 5:49:33 PM +00:00 - Migrate stage CoreInitialisation.

    10/21/2025 5:49:33 PM +00:00 - 20250925203415_ExtendPeopleMapKey
        10/21/2025 5:49:33 PM +00:00 - Migration 20250925203415_ExtendPeopleMapKey was successfully applied
        10/21/2025 5:49:33 PM +00:00 - Perform migration 20250925203415_ExtendPeopleMapKey
    10/21/2025 5:49:33 PM +00:00 - 20250913211637_AddProperParentChildRelationBaseItemWithCascade
        10/21/2025 5:49:33 PM +00:00 - Migration 20250913211637_AddProperParentChildRelationBaseItemWithCascade was successfully applied
        10/21/2025 5:49:33 PM +00:00 - Perform migration 20250913211637_AddProperParentChildRelationBaseItemWithCascade
    10/21/2025 5:49:33 PM +00:00 - 20250714044826_ResetJournalMode
        10/21/2025 5:49:33 PM +00:00 - Migration 20250714044826_ResetJournalMode was successfully applied
        10/21/2025 5:49:33 PM +00:00 - Perform migration 20250714044826_ResetJournalMode
    10/21/2025 5:49:33 PM +00:00 - 20250622170802_BaseItemImageInfoDateModifiedNullable
        10/21/2025 5:49:33 PM +00:00 - Migration 20250622170802_BaseItemImageInfoDateModifiedNullable was successfully applied
        10/21/2025 5:49:33 PM +00:00 - Perform migration 20250622170802_BaseItemImageInfoDateModifiedNullable
    10/21/2025 5:49:33 PM +00:00 - 20250609115616_DetachUserDataInsteadOfDelete
        10/21/2025 5:49:33 PM +00:00 - Migration 20250609115616_DetachUserDataInsteadOfDelete was successfully applied
        10/21/2025 5:49:33 PM +00:00 - Perform migration 20250609115616_DetachUserDataInsteadOfDelete
    10/21/2025 5:49:33 PM +00:00 - 20250405075612_FixItemValuesIndices
        10/21/2025 5:49:33 PM +00:00 - Migration 20250405075612_FixItemValuesIndices was successfully applied
        10/21/2025 5:49:33 PM +00:00 - Perform migration 20250405075612_FixItemValuesIndices
    10/21/2025 5:49:33 PM +00:00 - 20250401142247_FixAncestors
        10/21/2025 5:49:33 PM +00:00 - Migration 20250401142247_FixAncestors was successfully applied
        10/21/2025 5:49:33 PM +00:00 - Perform migration 20250401142247_FixAncestors
    10/21/2025 5:49:33 PM +00:00 - 20250331182844_FixAttachmentMigration
        10/21/2025 5:49:33 PM +00:00 - Migration 20250331182844_FixAttachmentMigration was successfully applied
        10/21/2025 5:49:33 PM +00:00 - Perform migration 20250331182844_FixAttachmentMigration
    10/21/2025 5:49:33 PM +00:00 - 20250327171413_AddHdr10PlusFlag
        10/21/2025 5:49:33 PM +00:00 - Migration 20250327171413_AddHdr10PlusFlag was successfully applied
        10/21/2025 5:49:33 PM +00:00 - Perform migration 20250327171413_AddHdr10PlusFlag
    10/21/2025 5:49:33 PM +00:00 - 20250327101120_AddKeyframeData
        10/21/2025 5:49:33 PM +00:00 - Migration 20250327101120_AddKeyframeData was successfully applied
        10/21/2025 5:49:33 PM +00:00 - Perform migration 20250327101120_AddKeyframeData
    10/21/2025 5:49:33 PM +00:00 - 20250326065026_AddInheritedParentalRatingSubValue
        10/21/2025 5:49:33 PM +00:00 - Migration 20250326065026_AddInheritedParentalRatingSubValue was successfully applied
        10/21/2025 5:49:33 PM +00:00 - Perform migration 20250326065026_AddInheritedParentalRatingSubValue
    10/21/2025 5:49:33 PM +00:00 - 20250214031148_ChannelIdGuid
        10/21/2025 5:49:33 PM +00:00 - Migration 20250214031148_ChannelIdGuid was successfully applied
        10/21/2025 5:49:33 PM +00:00 - Perform migration 20250214031148_ChannelIdGuid
    10/21/2025 5:49:33 PM +00:00 - 20250204092455_MakeStartEndDateNullable
        10/21/2025 5:49:33 PM +00:00 - Migration 20250204092455_MakeStartEndDateNullable was successfully applied
        10/21/2025 5:49:33 PM +00:00 - Perform migration 20250204092455_MakeStartEndDateNullable
    10/21/2025 5:49:33 PM +00:00 - 20250202021306_FixedCollation
        10/21/2025 5:49:33 PM +00:00 - Migration 20250202021306_FixedCollation was successfully applied
        10/21/2025 5:49:33 PM +00:00 - Perform migration 20250202021306_FixedCollation
    10/21/2025 5:49:33 PM +00:00 - 20241113133548_EnforceUniqueItemValue
        10/21/2025 5:49:33 PM +00:00 - Migration 20241113133548_EnforceUniqueItemValue was successfully applied
        10/21/2025 5:49:33 PM +00:00 - Perform migration 20241113133548_EnforceUniqueItemValue
    10/21/2025 5:49:33 PM +00:00 - 20241112234144_FixMediaStreams2
        10/21/2025 5:49:33 PM +00:00 - Migration 20241112234144_FixMediaStreams2 was successfully applied
        10/21/2025 5:49:33 PM +00:00 - Perform migration 20241112234144_FixMediaStreams2
    10/21/2025 5:49:33 PM +00:00 - 20241112232041_FixMediaStreams
        10/21/2025 5:49:33 PM +00:00 - Migration 20241112232041_FixMediaStreams was successfully applied
        10/21/2025 5:49:33 PM +00:00 - Perform migration 20241112232041_FixMediaStreams
    10/21/2025 5:49:33 PM +00:00 - 20241112152323_FixAncestorIdConfig
        10/21/2025 5:49:33 PM +00:00 - Migration 20241112152323_FixAncestorIdConfig was successfully applied
        10/21/2025 5:49:33 PM +00:00 - Perform migration 20241112152323_FixAncestorIdConfig
    10/21/2025 5:49:33 PM +00:00 - 20241111135439_AddedCustomDataKeyKey
        10/21/2025 5:49:33 PM +00:00 - Migration 20241111135439_AddedCustomDataKeyKey was successfully applied
        10/21/2025 5:49:33 PM +00:00 - Perform migration 20241111135439_AddedCustomDataKeyKey
    10/21/2025 5:49:33 PM +00:00 - 20241111131257_AddedCustomDataKey
        10/21/2025 5:49:33 PM +00:00 - Migration 20241111131257_AddedCustomDataKey was successfully applied
        10/21/2025 5:49:33 PM +00:00 - Perform migration 20241111131257_AddedCustomDataKey
    10/21/2025 5:49:33 PM +00:00 - 20241020103111_LibraryDbMigration
        10/21/2025 5:49:33 PM +00:00 - Migration 20241020103111_LibraryDbMigration was successfully applied
        10/21/2025 5:49:33 PM +00:00 - Perform migration 20241020103111_LibraryDbMigration
    10/21/2025 5:49:33 PM +00:00 - There are 0 migrations for stage CoreInitialisation.

10/21/2025 5:49:33 PM +00:00 - Migrate stage PreInitialisation.

    10/21/2025 5:49:33 PM +00:00 - 20250420040000_RenameEnableGroupingIntoCollections
        10/21/2025 5:49:33 PM +00:00 - Migration 20250420040000_RenameEnableGroupingIntoCollections was successfully applied
        10/21/2025 5:49:33 PM +00:00 - Perform migration 20250420040000_RenameEnableGroupingIntoCollections
    10/21/2025 5:49:33 PM +00:00 - There are 1 migrations for stage PreInitialisation.

10/21/2025 5:49:32 PM +00:00 - Migration Startup

    10/21/2025 5:49:33 PM +00:00 - Migration system initialisation completed.
    10/21/2025 5:49:32 PM +00:00 - System initialisation detected. Seed data.
    10/21/2025 5:49:32 PM +00:00 - Initialise Migration service.

10/21/2025 5:49:32 PM +00:00 - Migration Service
10/21/2025 5:49:32 PM +00:00 - Storage Check

    10/21/2025 5:49:32 PM +00:00 - Storage path `/tmp/jellyfin` (Fixed) successfully checked with 42.4GB free which is over the minimum of 2GB.
    10/21/2025 5:49:32 PM +00:00 - Check path /tmp/jellyfin for storage capacity
    10/21/2025 5:49:32 PM +00:00 - Storage path `/config/data` (Fixed) successfully checked with 42.4GB free which is over the minimum of 2GB.
    10/21/2025 5:49:32 PM +00:00 - Check path /config/data for storage capacity
    10/21/2025 5:49:32 PM +00:00 - Storage path `/config/cache` (Fixed) successfully checked with 42.4GB free which is over the minimum of 2GB.
    10/21/2025 5:49:32 PM +00:00 - Check path /config/cache for storage capacity
    10/21/2025 5:49:32 PM +00:00 - Storage path `/config/log` (Fixed) successfully checked with 42.4GB free which is over the minimum of 512MB.
    10/21/2025 5:49:32 PM +00:00 - Check path /config/log for storage capacity
    10/21/2025 5:49:32 PM +00:00 - Storage path `/config/data/data` (Fixed) successfully checked with 42.4GB free which is over the minimum of 2GB.
    10/21/2025 5:49:32 PM +00:00 - Check path /config/data/data for storage capacity



RE: Issue migrating DB from 10.10.7 to 10.11.0 - AhmedMoharram - 2025-10-21

Had the same issue, I ended up starting from scratch!!!
The main pain was MANUALLY checking all the watched items Slightly-frowning-face

But if you have Trakt plugin before the migration, you can sync your watch history from Trakt instead!


RE: Issue migrating DB from 10.10.7 to 10.11.0 - shotblocker - 2025-10-21

I'd rather not start from scratch if I don't have to. Hoping someone in my boat will have a solution. If its worth anything my an empty file as its literally 0 bites?


RE: Issue migrating DB from 10.10.7 to 10.11.0 - theguymadmax - 2025-10-21

https://notes.jellyfin.org/ey1aBTshRZGM46PzkNaF0w?view#


RE: Issue migrating DB from 10.10.7 to 10.11.0 - shotblocker - 2025-10-21

That didn't seem to work. I got the same error as before. Am I supposed to make the changes to migrations.xml, then immediately update? Or run Jellyfin with the updated xml on 10.10.7 at least once, then update to 10.11.0?