[PR #15112] [MERGED] Skip extracted files in migration if bad timestamp or no access #14056

Closed
opened 2025-12-22 10:17:14 +01:00 by backuprepo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/15112
Author: @Shadowghost
Created: 10/22/2025
Status: Merged
Merged: 10/24/2025
Merged by: @crobibero

Base: release-10.11.zHead: skip-invalid-dates


📝 Commits (3)

  • 71d5c97 Skip extracted files in migration if bad timestamp
  • 1a3e8c9 Also fix for GetOldSubtitleCachePath
  • 5e24642 Also catch UnauthorizedAccessException

📊 Changes

1 file changed (+24 additions, -0 deletions)

View changed files

📝 Jellyfin.Server/Migrations/Routines/MoveExtractedFiles.cs (+24 -0)

📄 Description

For some reason in certain cases the filesystem reports invalid dates for creation dates. Not much we can do about this but now the migration at least does not crash.

Changes

  • Skip files with invalid timestamps
  • Skip files if access denied

Issues
Fixes #15024
Fixes #15030


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/15112 **Author:** [@Shadowghost](https://github.com/Shadowghost) **Created:** 10/22/2025 **Status:** ✅ Merged **Merged:** 10/24/2025 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `release-10.11.z` ← **Head:** `skip-invalid-dates` --- ### 📝 Commits (3) - [`71d5c97`](https://github.com/jellyfin/jellyfin/commit/71d5c97e0e2771db689c7aee2951487678af3307) Skip extracted files in migration if bad timestamp - [`1a3e8c9`](https://github.com/jellyfin/jellyfin/commit/1a3e8c91228da4d510b3875d6773e9aef2f26583) Also fix for GetOldSubtitleCachePath - [`5e24642`](https://github.com/jellyfin/jellyfin/commit/5e246425a4b3638b5359d34d76638a3f5dbd5dc0) Also catch UnauthorizedAccessException ### 📊 Changes **1 file changed** (+24 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `Jellyfin.Server/Migrations/Routines/MoveExtractedFiles.cs` (+24 -0) </details> ### 📄 Description For some reason in certain cases the filesystem reports invalid dates for creation dates. Not much we can do about this but now the migration at least does not crash. **Changes** * Skip files with invalid timestamps * Skip files if access denied **Issues** Fixes #15024 Fixes #15030 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
backuprepo 2025-12-22 10:17:14 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#14056
No description provided.