ImmichI
Immich12mo ago
Andrino

"Failed to write, EACCES: permission denied" for custom files location

I am trying to move my "thumbs" and "encode-video" folders to another location on the same machine. I'm running Proxmox with an LXC of Runtipi, with Immich installed within. Similar to running Portainer with Immich within.

I have an external hard drive with plenty of free space, and want the Immich generated thumbs/videos to be stored there. I have successfully mount/binded the drive in Proxmox and passed it through to the LXC fine. But when I try to run Immich it reports this error:

immich| [Nest] 7  - 01/14/2025, 6:47:12 PM     LOG [Microservices:StorageService] Verifying system mount folder checks, current state: {"mountChecks":{"thumbs":true,"upload":true,"backups":true,"library":true,"profile":true,"encoded-video":true}}
immich| [Nest] 7  - 01/14/2025, 6:47:12 PM   ERROR [Microservices:StorageService] Failed to write upload/thumbs/.immich: Error: EACCES: permission denied, open 'upload/thumbs/.immich'
immich| microservices worker error: Error: Failed to write "/thumbs/.immich - Please see https://immich.app/docs/administration/system-integrity#folder-checks for more information."
immich| microservices worker exited with code 1
immich| Killing api process
immich exited with code 0


I have verified that I can however trick this into working if I use an SMB mount (via Proxmox passed through). So this seems to be a permissions issue on the mount/binding of the external harddrive.

What kind of permissions is Immich expecting to be able to write to a mounted directory? How can I set this to match what Immich expects?
Was this page helpful?