ImmichI
Immich5mo ago
N306

immich_server in ENOENT Boot Loop on NFS, but machine-learning container on same share works perfect

Hey everyone!

I'm setting up Immich with an external NFS share for my originals and have run into a really persistent boot loop with the immich_server container. I've been troubleshooting for a while and have managed to get the machine-learning container working correctly with the NFS share, but the server container just won't cooperate. I'm hoping someone might have an idea what's going on. Here's a detailed summary of my setup and what I've tried:

My Goal & Setup:
  • Goal: Store originals on a TrueNAS SCALE NFS share, while the database and thumbnails remain on the local Docker VM's disk.
  • Docker Host: An Ubuntu-based VM. My main admin user on this VM has UID/GID 1000.
  • Storage: TrueNAS SCALE serving a dataset via NFS.
  • Immich Version: v1.136.0
  • .env
    Config:
    UPLOAD_LOCATION
    is set to the NFS mount point (/mnt/immich_media), and DB_DATA_LOCATION is correctly set to a local path (./postgres).
The Problem:
The immich_server container is constantly restarting. All other containers (postgres, redis, machine-learning) start up and stay healthy. The immich_server log consistently shows the following error, indicating it can't create its necessary subdirectories:
ERROR [Microservices:StorageService] Failed to read (/usr/src/app/upload/encoded-video/.immich): Error: ENOENT: no such file or directory, open '/usr/src/app/upload/encoded-video/.immich'


...
Was this page helpful?