312 Commits

Author SHA1 Message Date
Tim Eisele
ad9ebe5baa
More robust date handling in Library DB migration (#16474)
* More robust date handling in Library DB migration

* Apply review comment
2026-03-29 12:38:32 +02:00
theguymadmax
f680495ca3 Backport pull request #16253 from jellyfin/release-10.11.z
Checkpoint WAL before moving library.db in migration

Original-merge: b6a96513de5fa301db83c6adab47fe64db0ff48e

Merged-by: Bond-009 <bond.009@outlook.com>

Backported-by: Bond_009 <bond.009@outlook.com>
2026-03-01 05:57:23 -05:00
MBR-0001
d2f733f9a4 Backport pull request #16204 from jellyfin/release-10.11.z
Fix broken library subtitle download settings

Original-merge: ca57166e95858f9c767b6279df6e5abfe9212700

Merged-by: Bond-009 <bond.009@outlook.com>

Backported-by: Bond_009 <bond.009@outlook.com>
2026-03-01 05:57:22 -05:00
dfederm
d8543351e2 Backport pull request #16226 from jellyfin/release-10.11.z
Deduplicate provider IDs during MigrateLibraryDb migration

Original-merge: 58c330b63d5e373ed1d9260a75d837922ca68830

Merged-by: Bond-009 <bond.009@outlook.com>

Backported-by: Bond_009 <bond.009@outlook.com>
2026-02-14 05:57:24 -05:00
ZeusCraft10
0ff869dfcd fix: Handle unknown item types gracefully in DeserializeBaseItem
When querying items with recursive=true, items with types from removed
plugins would cause a 500 error. Now these items are skipped with a
warning log instead of throwing an exception.

Fixes #15945
2026-01-05 21:08:26 -05:00
audrey-inglish
8fd59d6f33
Merge pull request #14879 from audrey-inglish/master
Fix: normalize punctuation when computing CleanName so searches without punctuation match (closes #1674)
2025-12-08 18:43:37 +01:00
Niels van Velzen
67c67df507 Use async migration 2025-11-20 22:11:55 +01:00
Niels van Velzen
196c243a7d Disable legacy authorization methods by default 2025-11-18 16:17:04 +01:00
theguymadmax
2e7d7752e9 Backport pull request #15446 from jellyfin/release-10.11.z
Fix AncestorIds not migrating

Original-merge: 177b6464ca1b6772a191dbf9c5595708f91fc0fa

Merged-by: crobibero <cody@robibe.ro>

Backported-by: Bond_009 <bond.009@outlook.com>
2025-11-17 14:09:01 -05:00
crobibero
c9d93b0745 Backport pull request #15322 from jellyfin/release-10.11.z
Fix legacy migration file checks

Original-merge: da254ee968deca4d47f0f5d1164c5e883745ac60

Merged-by: crobibero <cody@robibe.ro>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2025-11-02 21:58:43 -05:00
JJBlue
21f65e2e27 Backport pull request #15220 from jellyfin/release-10.11.z
Skip extracted files in migration if bad timestamp or no access

Original-merge: a305204cfa43a97f255f0dea412f93d02de939c3

Merged-by: crobibero <cody@robibe.ro>

Backported-by: Bond_009 <bond.009@outlook.com>
2025-10-27 15:43:31 -04:00
crobibero
a489942454 Backport pull request #15212 from jellyfin/release-10.11.z
Skip invalid database migration

Original-merge: 2966d27c97542fae111b54526326b8a93fcf7ca6

Merged-by: crobibero <cody@robibe.ro>

Backported-by: Bond_009 <bond.009@outlook.com>
2025-10-27 15:43:29 -04:00
Shadowghost
14e8194581 Backport pull request #15112 from jellyfin/release-10.11.z
Skip extracted files in migration if bad timestamp or no access

Original-merge: 7a1c1cd3421a39c09b969a581955fda4f3f81ec5

Merged-by: crobibero <cody@robibe.ro>

Backported-by: Bond_009 <bond.009@outlook.com>
2025-10-27 15:43:13 -04:00
Shadowghost
9e53f46ad2 Backport pull request #15032 from jellyfin/release-10.11.z
Skip invalid keyframe cache data

Original-merge: f4a53209f4a3dde62acb7027d9b48eaa08d9ef8c

Merged-by: crobibero <cody@robibe.ro>

Backported-by: Bond_009 <bond.009@outlook.com>
2025-10-27 15:43:04 -04:00
JPVenson
f01cddf273 Add migration attribute 2025-10-09 19:45:43 +00:00
JPVenson
0d4bd0495b Add migration to remove artist and album artists from database 2025-10-09 19:44:07 +00:00
JPVenson
8ea9bece03 Add explicit reference check to migration 2025-09-28 08:46:31 +00:00
JPVenson
e282b05b8f
fixes #14859 Add Check for ItemValues (#14860) 2025-09-25 08:02:20 -06:00
JPVenson
740b9924a0
Include ListOrder on Import (#14854) 2025-09-24 15:22:05 -06:00
JPVenson
5a6d9180fe
Add People Dedup and multiple progress fixes (#14848) 2025-09-24 15:20:30 -06:00
JPVenson
0949212993
Make migration handle parent cleanup (#14817)
* Make migration handle parent cleanup

* Remove speed improvement

* Update MigrateLibraryDb.cs
2025-09-19 13:17:31 -06:00
JPVenson
eaf33f01e1
#14751 Only migrate providerids that match assumption (#14810) 2025-09-17 18:33:23 -06:00
evan314159
2618a5fba2
Fix sync disposal of async-created IAsyncDisposable objects (#14755) 2025-09-16 11:14:52 +02:00
Bond-009
8776a447d1
Various cleanups (#14785) 2025-09-12 13:58:23 -06:00
evan314159
7aa1c46447
Merge pull request #14653 from evan314159/coremigration
Delay initialization of singleton services during migration CoreInitialisation stage
2025-08-22 10:06:39 +02:00
JPVenson
c8d2f43660 Add logging 2025-07-30 20:14:24 +00:00
JPVenson
ef733c5ace use guid instead 2025-07-30 20:10:26 +00:00
JPVenson
a1eb04dc0b Add full migration for IsFolder flag 2025-07-30 19:58:56 +00:00
JPVenson
711e649e35 Also migrate IsFolder 2025-07-30 19:41:34 +00:00
JPVenson
c62a07405e
improve userdata migration (#14488) 2025-07-19 11:34:51 -06:00
JPVenson
c51f3a3342
Use IDatabaseCreator instead of relying on History repository (#14465) 2025-07-14 18:36:36 -06:00
gnattu
9ac8c2a2fa
Fix compiler warning for CodeMigration.cs (#14390) 2025-06-29 08:00:29 -06:00
Tim Eisele
c6e568692e
Fix modification checks and make sure to use UTC (#14347) 2025-06-26 17:50:37 -06:00
JPVenson
ba0eb87371
Add migration to migrate disconnected UserData too (#14339) 2025-06-23 08:36:49 -06:00
Shadowghost
af0bcbc652 Fixup 2025-06-19 12:33:46 +02:00
Shadowghost
ccb917b8df Cleanup logging and user data import skip on missing user 2025-06-18 21:33:32 +02:00
JPVenson
1e9e4ffda9
Rework startup topic handling and reenable output to logging framework (#14243) 2025-06-08 19:52:39 -06:00
JPVenson
88332e89c4
Feature/version check in library migration (#14105) 2025-06-05 08:59:11 -06:00
JPVenson
a3578caa8c
Migrate all known old migrations even when not applied in migration.xml (#14217) 2025-06-05 08:46:50 -06:00
JPVenson
d5672ce407
Add declarative backups for migrations (#14135) 2025-06-03 16:49:41 -06:00
JPVenson
9456d7168f
Add partition helper (#14039) 2025-06-03 15:15:04 -06:00
JPVenson
fe2596dc0e
Add Full system backup feature (#13945) 2025-05-18 18:39:04 -06:00
JPVenson
a7bb3ea214
Only consider migrations that have key set for migration.xml migration (#14061) 2025-05-05 17:23:23 -06:00
Tim Eisele
d976f13970
Recognize file changes and remove data on change (#13839) 2025-05-04 21:21:44 -06:00
JPVenson
e66c76fc34
Unified migration handling (#13950) 2025-04-27 18:18:08 -06:00
Tim Eisele
9092130350
Optimize migrations (#13855) 2025-04-26 09:36:17 -06:00
JPVenson
77ad7f6139
Fix the migration as the new constraint now uses Value as unique key (#13867) 2025-04-07 14:42:01 -06:00
JPVenson
04ca27ad07
Fix backup not written to correct directory (#13853)
* Fix backup not written to correct directory

* Improve restore handling and only restore on actual error

* Fix first failed migration not causing a rollback
2025-04-07 08:59:00 -06:00
Tim Eisele
596b635511
Cleanup extracted files (#13760)
* Cleanup extracted files

* Pagination and fixes

* Add migration for attachments to MigrateLibraryDb

* Unify attachment handling

* Don't extract again if files were already extracted

* Fix MKS attachment extraction

* Always run full extraction on mks

* Don't try to extract mjpeg streams as attachments

* Fallback to check if attachments were extracted to cache folder

* Fixup
2025-04-03 09:17:14 -06:00
Tim Eisele
0bde7bae05
Only remove keyframe cache dir if it exists (#13834) 2025-04-03 08:47:31 -06:00