mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 23:20:51 +01:00
Creating a new music library with network share path doesn't save properly and doesn't scan files (Windows) #7774
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#7774
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 @josh-endries on GitHub (Nov 16, 2025).
Description of the bug
Similar to #1303, I am trying to add a new music library using a network share via UNC path. When adding the folder to Jellyfin, either via the drive letter or directly via UNC path, I am able to browse folders (e.g. artists/albums) so the "add folder" feature is able to access the share just fine.
When I initially create the library, saving it seems to work, the UI modal goes away and the Music library appears in the dashboard list. However, the settings I chose (English, US location, save NFO, save images...) are not set, even though the UNC file path is saved.
After creating the library, there is no disk activity on the share and nothing in the Jellyfin app console. Selecting "Scan library" for that newly-created library to refresh doesn't work either. I see a "null itemId" error in the browser console when I try that.
When editing the library after initial save, I can fix the settings that didn't change, but when I try to save the changes, the UI doesn't respond. Clicking "OK" doesn't do anything--nothing in the browser console, no network requests, no UI messages, etc..
This is using jellyfin_10.11.2-amd64 on Windows 10. Previously, months ago, I was using 10.10.6 on this same machine and added my movies, via UNC path, and those seem to work just fine. I am just running Jellyfin from the unzipped folder, so it should be running as myself, not a service. This is the way I did it previously also. The Music library doesn't show up in the list as a user (not dashboard).
I am currently waiting for a "Scan all libraries" to run to see what that does...
Reproduction steps
What is the current bug behavior?
What is the expected correct behavior?
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
10.11.2
Environment
Jellyfin logs
FFmpeg logs
Client / Browser logs
No response
Relevant screenshots or videos
No response
Additional information
No response
@josh-endries commented on GitHub (Nov 16, 2025):
After starting the "rescan all libraries" I immediately saw lots and lots of object disposed exceptions related to MusicBrainz, which is likely a separate issue but I can paste the console output below in case it helps.
After maybe ten minutes of just those exceptions, I do see warnings related to "ID3v1" tags for my music files, so it seems like it might be working, and the Music library does now show up on the user page, so it seems like the main issue here might be the UI "freezing" and/or not kicking off an initial scan when saving the new library.
Maybe I am wrong in assuming that should happen but that seems intuitive to me. The library is Enabled when I create it so I thought it would start scanning right away. Unfortunately even trying to scan manually doesn't work. In any case, editing the library afterwards doesn't seem to function and my settings didn't get saved initially, so I can't change them after initial creation.
The MusicBrainz exceptions continued throughout the whole rescan process. There are so many of these exceptions flying by I can't really tell if there are any other errors. Lots of noise to sift through.
@cvium commented on GitHub (Nov 16, 2025):
UNC paths are not supported. Please verify that the issue also occurs when mounting to a drive letter and make sure that the user running Jellyfin also has access to the drive.
@josh-endries commented on GitHub (Nov 17, 2025):
Oh interesting, nowhere did it say it was unsupported, in fact other than the weird UI issues with the library, it works fine with the UNC path after I ran the "scan all libraries". It scanned and plays the music just fine. I am running it myself (not as a service), so yes it has access.
I had similar issues when using a mapped drive letter. Saving the initial library works, but trying to edit it gives me this:
Trying to edit the UNC library doesn't give me that, it just does nothing.
Trying to rescan the drive-letter library specifically does nothing (UI doesn't do anything), just like the UNC path. Running "scan all libraries" ... the same thing happened, drive letter works, just like the UNC path does.
@josh-endries commented on GitHub (Nov 17, 2025):
Well after deleting the drive letter library I am now seeing foreign key constraint exceptions. I guess I will just delete everything and start over...