ImmichI
Immich8mo ago
Wopske

External NFS share (Synology) cannot be accessed by Immich docker container (read/write checks fail)

Good morning!

I have used Immich for a while but I'm running out of storage. So now i want to use a NFS share that have exposed from my Synology NAS as my UPLOAD_LOCATION.

I have been trying this for a while now but i keep running into the same problem and I hope that one of you guys might now the answer!

I currently have the postgres container running on my Synology NAS and I think that is working as it should.

What i've done:

  1. I have made a Shared Folder on my NAS called immich which contains the folder library. See photo 1
  2. I have given the user admin Full control of the immich share. See photo 2
  3. I have enabled NFS on my Synology. See photo 3
  4. I have given my server on which i want Immich to run permission to access the NFS share. See photo 4
  5. I have mounted the NFS share to my server:
sudo mount -t nfs 192.168.50.107:volume1/immich /mnt/immich storage/

The mounted share has the following permissions:
/mnt$ ls -l
drwxrwxrwx 1 root root 42 Apr 26 10:41 immich-storage

I have made a directory called library in this share.

  1. I have altered my
    .env
    file to the following:
    /immich.app/docs/install/environment-variables
    UPLOAD_LOCATION=/mnt/immich-storage/library
    IMMICH_VERSION=release
    DB_HOSTNAME=192.168.50.107
    DB_PORT=2266
    DB_USERNAME=postgres
    DB_PASSWORD=REDACTED
    DB_DATABASE_NAME=immich
-- END OF PART 1 --
image.png
image.png
image.png
image.png
Was this page helpful?