Please I need your help because I am already loose an afternoon and a big part of my mental health.
Could you please tell where I am wrong?
I have 2 shared folder in NFS with the same permissions, one works the other no. Why?
It is me? It is truenas? It is docker?
When compose starts I have this error:
argos@argos:~/docker_data$ docker compose up -d
[+] Running 2/3
✔ Container portainer_agent Running 0.0s
✔ Container frigate Running 0.0s
⠦ Container jellyfin Starting 0.7s
Error response from daemon: error while mounting volume '/var/lib/docker/volumes/docker_data_musica_nfs/_data': failed to mount local volume: mount :/mnt/gaia/teti/musica:/var/lib/docker/volumes/docker_data_musica_nfs/_data, data: addr=192.168.207.13,nolock,soft: permission denied
Here my compose file with the relevant parts:
volumes:
jellyfin_config_nfs:
driver_opts:
type: "nfs4"
o: "addr=192.168.207.13,nolock,soft,rw"
device: ":/mnt/gaia/rea/jellyfin_data"
musica_nfs:
driver_opts:
type: "nfs4"
o: "addr=192.168.207.13,nolock,soft,rw"
device: ":/mnt/gaia/teti/musica"
services:
# -------------------------------------------------------
# domotica
# -------------------------------------------------------
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
container_name: jellyfin
restart: unless-stopped
# privileged: true
user: 3003:3001
environment:
- PUID=3003
- PGID=3001
- TZ=Europe/Rome
- JELLYFIN_PublishedServerUrl=192.168.207.14 # autodiscovery su rete locale
volumes:
- jellyfin_config_nfs:/config
# - libri_nfs:/data/books
- musica_nfs:/data/music
ports:
- 8096:8096 # UI porta HTTP
- 8920:8920 # UI porta per HTTPS
- 7359:7359/udp # porta autodiscovery
- 1900:1900/udp # porta per DNLA