Error: EACCES: permission denied, mkdir 'upload/library'

I am using immich from kubernetes containers. I have been using the the env variables to set PGID & PUID in the container, but perhaps this never worked or isn't being respected as I'm getting this error when I replaced the filesystem it was using to a backup. My first thought was checking the actual filesystem and can confirm the filesytem is configured for that PGID/PUID as owner.
4 Replies
bo0tzz
bo0tzz2y ago
I don't believe we support those env vars
bo0tzz
bo0tzz2y ago
Kubernetes
Configure a Security Context for a Pod or Container
A security context defines privilege and access control settings for a Pod or Container. Security context settings include, but are not limited to: Discretionary Access Control: Permission to access an object, like a file, is based on user ID (UID) and group ID (GID). Security Enhanced Linux (SELinux): Objects are assigned security labels. Runni...
bo0tzz
bo0tzz2y ago
I don't know whether this works for immich - but if it doesn't that should probably be considered a bug
shrinedogg
shrinedoggOP2y ago
I'll dig in and find out

Did you find this page helpful?