The Free Software Media System - Server Backend & API
Backport pull request #15220 from jellyfin/release-10.11.z
JJBlue21f65e2e2772
diff --git a/Jellyfin.Server/Migrations/Routines/MigrateKeyframeData.cs b/Jellyfin.Server/Migrations/Routines/MigrateKeyframeData.csindex 612da05214..aa55309264 100644--- a/Jellyfin.Server/Migrations/Routines/MigrateKeyframeData.cs+++ b/Jellyfin.Server/Migrations/Routines/MigrateKeyframeData.cs@@ -122,6 +122,16 @@ public class MigrateKeyframeData : IDatabaseMigrationRoutine{lastWriteTimeUtc = File.GetLastWriteTimeUtc(filePath);}+ catch (ArgumentOutOfRangeException e)+ {+ _logger.LogDebug("Skipping {Path}: {Exception}", filePath, e.Message);+ return null;+ }+ catch (UnauthorizedAccessException e)+ {+ _logger.LogDebug("Skipping {Path}: {Exception}", filePath, e.Message);+ return null;+ }catch (IOException e){_logger.LogDebug("Skipping {Path}: {Exception}", filePath, e.Message);