mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 23:20:51 +01:00
Database migration failed: "An item with the same key has already been added. Key: Tmdb" #7726
Labels
No labels
area:database
awaiting-feedback
backend
blocked
breaking change: web api
bug
build
ci
confirmed
discussion needed
dotnet future
downstream
duplicate
EFjellyfin.db
enhancement
feature
future
github-actions
good first issue
hdr
help wanted
invalid
investigation
librarydb
live-tv
lyrics
media playback
music
needs testing
nuget
performance
platform
pull-request
question
regression
release critical
requires-web
roadmap
security
security
stale
support
syncplay
ui & ux
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: starred/jellyfin#7726
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rfwatson on GitHub (Nov 9, 2025).
Description of the bug
Upgrading from 10.10 to 10.11, the migration fails with the following error. Searching Google and Github there are various mentions of problems with this upgrade but nothing which matches this specific error.
Reproduction steps
Switch Docker image from 10.10.x to 10.11 latest.
What is the current bug behavior?
Unable to start server.
What is the expected correct behavior?
Be able to start the server.
Jellyfin Server version
10.11.0+
Specify commit id
No response
Specify unstable release number
No response
Specify version number
No response
Specify the build version
Unknown, can't open dashboard
Environment
Jellyfin logs
FFmpeg logs
Client / Browser logs
No response
Relevant screenshots or videos
No response
Additional information
No response
@martimarkov commented on GitHub (Nov 17, 2025):
@rfwatson This can be manually fixed by finding all entries which for some reason have multiple
ProviderIds:where
XXXXXis eitherTmdborImdbor another provider which shows in the error log.