All manually created metadata were lost after upgrading to Jellyfin 12 and rescan libraries. #18511
|
I have more than five thousands movies in my jellyfin database, and I manually edited the metadata of many of them, because auto-scan doesn't always get the right result. After I upgraded to Jellyfin 12 and did a full scan, Jellyfin looks to force re-scraping all the metadata from tmdb, and deleted all my hand-written data, of about 500 hundreds movies. Is this the expected behavior? My understanding is it should leave the old metadata untouched as they were already confirmed correct. I have backed up the old database before upgrading, is it possible to recover data from the backup? |
Replies: 2 comments 1 reply
|
I rolled back to 10.11.8 and recovered my data. |
|
You can avoid this next time by locking the items you edited by hand. In Edit Metadata there's a "Lock this item to prevent future metadata changes" checkbox (or you can lock individual fields). Locked items get skipped completely on refresh, TMDB is never queried for them. If your edits weren't locked, that's most likely why the full scan replaced them. I'd also turn on the Nfo saver for the library (Dashboard > Libraries > your library > Metadata savers). Then your edits get written to .nfo files next to the movies, lock state included, so they survive even if the database gets rebuilt. Enable it before locking/saving the items, since the nfo only gets written when an item is saved. If you do both on 10.11.8 before upgrading and 12 still overwrites locked items, that's a bug and worth reporting with the scan logs. Just a heads up: I can't test this right now since I'm away from my own server, so this is based on reading how the refresh code handles locked items. Honestly I'll probably have to do the same with mine before upgrading, so my edits stay safe too. Worth trying on one movie first before locking everything. |
You can avoid this next time by locking the items you edited by hand. In Edit Metadata there's a "Lock this item to prevent future metadata changes" checkbox (or you can lock individual fields). Locked items get skipped completely on refresh, TMDB is never queried for them. If your edits weren't locked, that's most likely why the full scan replaced them.
I'd also turn on the Nfo saver for the library (Dashboard > Libraries > your library > Metadata savers). Then your edits get written to .nfo files next to the movies, lock state included, so they survive even if the database gets rebuilt. Enable it before locking/saving the items, since the nfo only gets written when an item is saved.
If …