mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[PR #14061] [MERGED] Only consider migrations that have key set for migration.xml migration #13821
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/14061
Author: @JPVenson
Created: 5/5/2025
Status: ✅ Merged
Merged: 5/6/2025
Merged by: @crobibero
Base:
master← Head:bugfix/MigrationKeyOnStartup📝 Commits (3)
948d090Only consider migrations that have key set for migration.xml migration3c3f813Make Key for Migrations an Obsolete parameter4fcce06Fix Startup migrations📊 Changes
27 files changed (+352 additions, -361 deletions)
View changed files
📝
Jellyfin.Server/Migrations/JellyfinMigrationAttribute.cs(+3 -0)📝
Jellyfin.Server/Migrations/JellyfinMigrationService.cs(+3 -2)📝
Jellyfin.Server/Migrations/PreStartupRoutines/CreateNetworkConfiguration.cs(+1 -1)📝
Jellyfin.Server/Migrations/PreStartupRoutines/MigrateEncodingOptions.cs(+1 -1)📝
Jellyfin.Server/Migrations/PreStartupRoutines/MigrateMusicBrainzTimeout.cs(+1 -1)📝
Jellyfin.Server/Migrations/PreStartupRoutines/RenameEnableGroupingIntoCollections.cs(+1 -1)📝
Jellyfin.Server/Migrations/Routines/AddDefaultCastReceivers.cs(+1 -1)📝
Jellyfin.Server/Migrations/Routines/AddDefaultPluginRepository.cs(+1 -1)📝
Jellyfin.Server/Migrations/Routines/CreateUserLoggingConfigFile.cs(+1 -1)📝
Jellyfin.Server/Migrations/Routines/DisableTranscodingThrottling.cs(+1 -1)📝
Jellyfin.Server/Migrations/Routines/FixAudioData.cs(+1 -1)📝
Jellyfin.Server/Migrations/Routines/FixPlaylistOwner.cs(+1 -1)📝
Jellyfin.Server/Migrations/Routines/MigrateActivityLogDb.cs(+1 -1)📝
Jellyfin.Server/Migrations/Routines/MigrateAuthenticationDb.cs(+1 -1)📝
Jellyfin.Server/Migrations/Routines/MigrateDisplayPreferencesDb.cs(+1 -1)📝
Jellyfin.Server/Migrations/Routines/MigrateKeyframeData.cs(+1 -1)📝
Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs(+1 -11)📝
Jellyfin.Server/Migrations/Routines/MigrateRatingLevels.cs(+51 -50)📝
Jellyfin.Server/Migrations/Routines/MigrateUserDb.cs(+165 -166)📝
Jellyfin.Server/Migrations/Routines/MoveExtractedFiles.cs(+1 -1)...and 7 more files
📄 Description
MigrateKeyframeData and MigrateRatingLevels has a new key set which is a workaround to reexecute the migration on next run so we get the same result by removing the legacy key.
MigrateLibraryDb, MoveExtractedFiles, MoveTrickplayFiles and RefreshInternalDateModified dont not need a key as they never been executed.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.