mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[10.11.0]Migrating backups from different computers results in invalid media libraries #7470
Reference in New Issue
Block a user
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 @tanmoumou252 on GitHub (Oct 21, 2025).
Description of the bug
A network drive with drive letter X was deployed on a VMware virtual machine. Jellyfin had already completed its scan when the backup was created. After moving this backup to the host for restoration, the media library scan displayed the error: 'the path in the database is not the correct path on the filesystem'.
Of course, the network drive on the host naturally also uses the X drive letter.
Can see in the Task Manager that there is no disk scanning being performed, but the CPU usage spikes to around 80%
Reproduction steps
What is the current bug behavior?
Media on the home page cannot be loaded, showing a spinning animation
What is the expected correct behavior?
The virtual machine and the host use the same disk path, which is completely identical, so the media library can scan normally after recovery
Jellyfin Server version
10.10.0+
Specify commit id
No response
Specify unstable release number
No response
Specify version number
No response
Specify the build version
10.11.0
Environment
Jellyfin logs
FFmpeg logs
Client / Browser logs
No response
Relevant screenshots or videos
No response
Additional information
No response
@tanmoumou252 commented on GitHub (Oct 21, 2025):
By the way, the network disk x is actually a local hard drive mounted using raidrive, just for testing
To prevent jellyfin from forcibly modifying nfo files, so write protection is set using raidrive
@tanmoumou252 commented on GitHub (Oct 21, 2025):
In the end, I still copied the entire
%USERPROFILE%\AppData\Local\jellyfinThen it could only display the content under the media library. During scanning, it still showed the media library as invalid. I finally realized that even the
%USERPROFILE%part must be consistent.This means that when User 2 uses User 1's backup, User 2's name must also be changed to User 1's.
@tanmoumou252 commented on GitHub (Oct 21, 2025):
https://forum.jellyfin.org/t-moving-server-to-new-system-with-different-username
After seeing this, I modified the content of two tables in
%USERPROFILE%\AppData\Local\jellyfin\data\jellyfin.db:BaseItemsandBaseItemImageInfos.Finally, there are no more issues.
@theguymadmax commented on GitHub (Dec 2, 2025):
Dupe of: #15653