I have been trying to deploy Immich v1.9.8 and I keep running into this issue:
Failed to create upload/encoded-video/.immich: Error: EACCES: permission denied, mkdir 'upload/encoded-video'
The app is running as the 568 (apps) user and group I have ML disabled and set to use a temporary directory. The upload directory is set as /mnt/vdev1/Photos and it has the owner and groups as apps. I also selected “Automatic permissions” but to no avail.
Does anyone know what I’m doing wrong here?
Have you tried to manually set your dataset to the apps user?
Yes, it shows this in the permissions pane:
Owner: apps
Group: apps
Posix Permissions:
User Obj - apps Read/Write
Group Obj - apps Read/Write
Other Read
User Obj - default - apps Read/Write
Group Obj - default - apps Read/Write
Other - default - Read
Do yo fix it? I have a same issue and lost 2 days in investigation without success…
Unfortunately not yet, I haven’t had a chance to look into it in a few days. I think what I’ll try next is adding root as read/write on all datasets for immich and if that works then I’ll slowly remove them.
Instead of that you can set the permissions wide open to see if that fixes the issue.
I finally got back around to testing. I stripped the ACLs on my “Data Storage” dataset and set the permissions recursively to
- User: apps - Read / Write / Execute
- Group: apps - Read / Write / Execute
In the app config, User ID and GroupID are both set to 568 (which is the apps user / group).
Hopefully this works for you too!