Jellyfin library empty in Docker? Check mounts and access
gist Trace one media file through its bind mount, check access as the server user, then scan and check the affected account's library access.
You stopped about in. Jump back
contents
If your Jellyfin library is empty in Docker, trace one media file through the mount and check the server’s access before correcting library settings and rescanning.
I run Jellyfin in Docker on my Unraid box. Replace jellyfin with your container name and use your media locations.
You need access to the container settings, a Jellyfin administrator account, and one media file you know exists. Before changing container identity or persistent settings, back up Jellyfin’s settings.
Step 1: Match the library path to the container mount
A bind mount connects a host folder to a folder inside the container. Jellyfin uses the container destination in its library settings. Docker’s bind mount documentation explains this mapping.
| Location | Path |
|---|---|
| Host media folder | /srv/media |
| Container mount destination | /media |
| Host movie folder | /srv/media/Movies |
| Jellyfin library folder | /media/Movies |
On Unraid, open the container’s settings and compare the media mapping’s host and container paths. From the Docker host, you can also inspect the mappings:
docker inspect jellyfin --format '{{json .Mounts}}'
Look for Source and Destination. Confirm that the source folder contains your media. An existing but empty source folder still produces a mount.
Then check the destination inside the container:
docker exec jellyfin ls -lan /media
docker exec jellyfin ls -lan /media/Movies
Read the result:
- No such file or directory: check the destination and its spelling.
- The folder exists but is empty: check the host source and whether its storage is mounted.
- Permission denied: continue to Step 2.
In Dashboard → Libraries, edit the library’s folders. With the mapping above, select /media/Movies. A host path such as /srv/media/Movies works only if that same path is available inside the container. See Jellyfin’s library documentation.
If the mount is wrong, correct the existing container configuration and apply it before continuing.
Step 2: Check access as the Jellyfin process user
Seeing files from a root shell does not prove that the Jellyfin process can read them.
Check the image and configured container user:
docker inspect jellyfin --format '{{.Config.Image}}'
docker inspect jellyfin --format '{{.Config.User}}'
docker top jellyfin -eo pid,uid,gid,comm
Find the Jellyfin process in the process list. A startup wrapper may run under a different identity. Docker documents this process view under docker container top.
Identity settings depend on the image:
- The official Jellyfin image supports Docker’s
usersetting or--user UID:GID. See the official container instructions. - The LinuxServer.io image uses
PUIDandPGIDinstead, per its documentation.
Inspect numeric ownership and permissions along one file’s path:
docker exec jellyfin ls -ldn / /media /media/Movies
docker exec jellyfin ls -ldn '/media/Movies/Example Film (2026)'
docker exec jellyfin ls -ln '/media/Movies/Example Film (2026)/Example Film (2026).mp4'
Look at each line of that output: /media, the movie folder, any directories between them, and the file itself. Compare numeric ownership rather than relying on matching account names.
For a container configured to run Jellyfin directly under a numeric UID and GID, test those values explicitly. Replace UID:GID below with the server’s numeric identity inside the container:
docker exec --user UID:GID jellyfin sh -c \
'id; ls -lan /media/Movies; test -r "/media/Movies/Example Film (2026)/Example Film (2026).mp4" && echo readable'
Docker supports identity selection through exec --user. This check may not reproduce the server’s supplementary groups. Compare those too if group access matters. A successful readability check also does not prove that Jellyfin can index the file.
Grant access through the appropriate group or ACL for the affected path. On Unraid, Docker file permissions covers the share side. Avoid giving everyone full access or changing ownership across the whole collection.
Media can remain mounted read-only. Keep configuration and cache storage writable and separate from the media mount. The Jellyfin container examples show separate mounts and a read-only media option.
docker exec jellyfin ls -ldn /media /media/Movies
drwxr-xr-x 1 0 0 12 Oct 12 18:22 /media
drwxr-xr-x 1 0 0 0 Oct 12 18:22 /media/Movies
The r-x permissions for everyone allow traversal of both directories; check the file itself next.
Step 3: Scan the corrected library
The screenshots come from a throwaway test install, not my live one.
Open Dashboard → Libraries and check the library’s content type and folders. Choose the type that matches the files: Movies for films, Shows for episodes, or Music for music. Jellyfin describes these types in its library documentation.
Check one file before scanning the whole collection:
- Confirm it sits beneath the configured container path.
- Confirm the server identity can read it.
- Check its name against the rules for that content type.
For a movie, use a separate folder with a matching video filename:
/media/Movies/
└── Example Film (2026)/
└── Example Film (2026).mp4
The year helps matching but is optional. Jellyfin supports common movie formats such as MP4 and MKV. See Jellyfin’s movie naming documentation.
Also check hidden entries with ls -a. Look for .ignore files in the library tree. An empty .ignore excludes its directory and descendants. Jellyfin 10.11 and later also support exclusion patterns inside that file. See the exclusion documentation.
Confirm that the folder contains actual media supported by its library type. Renaming an unsupported file to .mp4 does not convert it.
Save the corrected library settings, then use its scan control. Watch the scan progress and wait for completion before checking the library again.
If it remains empty, inspect logs from that scan:
docker logs --since 15m --tail 200 jellyfin
Look for the configured media path, access failures, and errors reading individual files. Jellyfin provides logging guidance in its troubleshooting documentation. Redact paths and account details before sharing logs.

Step 4: Check the affected user’s library access
If an administrator sees the media but another account does not, open Dashboard → Users, select the affected account, and inspect Library access.
Users restricted to selected libraries do not automatically receive access to newly added libraries. Select the intended library and save. Also check parental controls and clear any active view filters. Jellyfin documents account restrictions under Managing Users.
Once the web library shows the expected media, compare Jellyfin players for Apple TV if choosing a client is your next step.
Compare the fixes
| Option | When it helps | Tradeoff |
|---|---|---|
| Correct the bind mount | The container sees the wrong folder or no files | Keeps the current installation; permissions still need checking |
| Change container identity where supported | The server’s UID or groups lack access | Can affect configuration, cache, and hardware access; follow the image’s documentation |
| Native installation | You want Jellyfin to use host paths directly | Requires migration and service-user permission checks |
A native installation removes the container path mapping, but the service account still needs access to the media. Check the installation documentation for your operating system before migrating.
Common questions
Why can Jellyfin see my folder but no files?
The folder may be an empty mount source. The server may also lack access to files or deeper directories. Check one exact file inside the container under the server’s numeric identity. Then check content type, exclusions, and scan logs.
Should I enter the host path or container path in Jellyfin?
Enter the container path. If /srv/media is mounted at /media, Jellyfin uses /media.
Does Jellyfin need write permission to scan media?
No. The official container examples include read-only media mounts. Run the Step 2 readability check instead. Settings that save files beside the media need write access there. Keep configuration and cache storage writable.
Why did the scan finish immediately without adding anything?
Completion alone does not prove that media was found. Check whether the configured folder is empty, inaccessible, excluded, or contains files the library type does not index.
Will reinstalling Jellyfin fix an empty library?
It will not correct a wrong mount or unreadable media. Check paths, process identity, library type, and scan logs first. If only one account is affected, check its library access and filters.
../streaming/ every Streaming guide