[PR #15212] [MERGED] Skip invalid database migration #14252

Closed
opened 2026-02-07 07:26:52 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/15212
Author: @crobibero
Created: 10/26/2025
Status: Merged
Merged: 10/26/2025
Merged by: @crobibero

Base: release-10.11.zHead: activity-log-migrate


📝 Commits (2)

  • dab2990 Skip migration if database is invalid
  • 5091d93 Also skip migrating invalid users.db

📊 Changes

2 files changed (+35 additions, -2 deletions)

View changed files

📝 Jellyfin.Server/Migrations/Routines/MigrateActivityLogDb.cs (+17 -1)
📝 Jellyfin.Server/Migrations/Routines/MigrateUserDb.cs (+18 -1)

📄 Description

The migration creates the file and then attempts to read which doesn't work if the table doesn't exist


🔄 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/15212 **Author:** [@crobibero](https://github.com/crobibero) **Created:** 10/26/2025 **Status:** ✅ Merged **Merged:** 10/26/2025 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `release-10.11.z` ← **Head:** `activity-log-migrate` --- ### 📝 Commits (2) - [`dab2990`](https://github.com/jellyfin/jellyfin/commit/dab2990ea0fd4637811218cdbb275a29a3ce0712) Skip migration if database is invalid - [`5091d93`](https://github.com/jellyfin/jellyfin/commit/5091d93861739e43867b260f0301658daa2aaca8) Also skip migrating invalid users.db ### 📊 Changes **2 files changed** (+35 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `Jellyfin.Server/Migrations/Routines/MigrateActivityLogDb.cs` (+17 -1) 📝 `Jellyfin.Server/Migrations/Routines/MigrateUserDb.cs` (+18 -1) </details> ### 📄 Description The migration creates the file and then attempts to read which doesn't work if the table doesn't exist --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 07:26:52 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#14252