I keep running into this issue:
[Nest] 7 - 05/06/2024, 3:36:53 PM ERROR [StorageTemplateService] Problem applying storage template
[Nest] 7 - 05/06/2024, 3:36:53 PM ERROR [StorageTemplateService] Error: EACCES: permission denied, mkdir 'upload/library/admin/2023/05'
at mkdirSync (node:fs:1373:26)
Looks like it cant write to my NFS share with these settings:
# in /etc/exports...
/home/cakedayy/docker_apps/immich/mount my_client_ip(rw,sync,no_root_squash,no_subtree_check,insecure)
The permissions (from the client in the mount folder) using ls -l:
➜ ls -l
total 3
drwxr-xr-x 1 caleb staff 112 May 6 11:40 encoded-video
drwxr-xr-x 1 root wheel 0 May 3 16:09 library
drwxr-xr-x 1 caleb staff 72 May 6 11:34 thumbs
drwxr-xr-x 1 root wheel 72 May 6 11:34 upload
The permissions (from the server in the mount folder) using ls -l:
cakedayy@potato:~/docker_apps/immich/mount$ ls -l
total 0
drwxr-xr-x 1 501 dialout 112 May 6 18:40 encoded-video
drwxr-xr-x 1 root root 0 May 3 23:09 library
drwxr-xr-x 1 501 dialout 72 May 6 18:34 thumbs
drwxr-xr-x 1 root root 72 May 6 18:34 upload
.