2025-06-03, 02:42 AM
(This post was last modified: 2025-06-03, 02:49 AM by Alextall. Edited 2 times in total.)
Yet another post about NFS 😅
When I create a library, Jellyfin will scan the folder but not find any media. The media is hosted on a NAS and exposed through NFS, and I am setting up Jellyfin on a Docker host.
The NFS exports mount successfully, and I am able to browse the subfolders and write to files from inside the container.
I have tried mounting the NFS exports directly into the container and to the host with bind mounts into the container. If I mount the folder to the host, I am able to play the media on the host.
The file structure is an exact duplicate of a previous Jellyfin library that worked fine but was mounted locally. As a sanity check, inside the container I copied a couple movies from the NFS mount to a local Docker volume, created a new library, and Jellyfin found the media just fine.
Jellyfin 10.10.7, I've also tried to test with unstable, but that tag is accurate 😂
Docker v28.2.2
TrueNAS 25.04.1
When I create a library, Jellyfin will scan the folder but not find any media. The media is hosted on a NAS and exposed through NFS, and I am setting up Jellyfin on a Docker host.
Code:
[2025-06-02 23:15:27.623 +00:00] [INF] [20] Emby.Server.Implementations.Library.LibraryManager: Validating media library
[2025-06-02 23:15:27.632 +00:00] [WRN] [20] MediaBrowser.Controller.Entities.BaseItem: Library folder "/config/data/playlists" is inaccessible or empty, skipping
[2025-06-02 23:15:27.683 +00:00] [WRN] [22] MediaBrowser.Controller.Entities.BaseItem: Library folder "/config/data/playlists" is inaccessible or empty, skipping
[2025-06-02 23:15:27.691 +00:00] [INF] [22] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Scan Media Library" Completed after 0 minute(s) and 0 seconds
The NFS exports mount successfully, and I am able to browse the subfolders and write to files from inside the container.
I have tried mounting the NFS exports directly into the container and to the host with bind mounts into the container. If I mount the folder to the host, I am able to play the media on the host.
The file structure is an exact duplicate of a previous Jellyfin library that worked fine but was mounted locally. As a sanity check, inside the container I copied a couple movies from the NFS mount to a local Docker volume, created a new library, and Jellyfin found the media just fine.
Jellyfin 10.10.7, I've also tried to test with unstable, but that tag is accurate 😂
Docker v28.2.2
TrueNAS 25.04.1
Code:
services:
 jellyfin:
  image: jellyfin/jellyfin:latest
  container_name: jellyfin
  user: 1500:1500
  networks:
   - bridge
  ports:
   - 8096:8096
  volumes:
   # - config:/config <-- currently commented out while testing library scanning issues
   - movies:/media/movies
   - shows:/media/shows
   - music:/media/music
   - cache:/cache
  restart: unless-stopped
networks:
 bridge:
  driver: bridge
volumes:
 cache:
 config:
 movies:
  driver: local
  driver_opts:
   type: nfs
   device: :/mnt/tank/warm/media/movies
   o: addr=10.0.101.22,nfsvers=4,nolock,soft,rw
 shows:
  driver: local
  driver_opts:
   type: nfs
   device: :/mnt/tank/warm/media/shows
   o: addr=10.0.101.22,nfsvers=4,nolock,soft,rw
 music:
  driver: local
  driver_opts:
   type: nfs
   device: :/mnt/tank/warm/media/music
   o: addr=10.0.101.22,nfsvers=4,nolock,soft,rw