Andrino
Andrino
Explore posts from servers
IImmich
Created by Andrino on 1/14/2025 in #help-desk-support
"Failed to write, EACCES: permission denied" for custom files location
Just to FYI for future people if they find this thread: I figured out the best solution for keeping it as an LXC. I made a new Docker LXC as a privileged container, installed only Immich into it, and now mount permissions are no longer an issue. Added bonus of direct GPU access, and isolated backups. Priv. is not ideal, but when it only includes Immich, I'm willing to take that low if any risk.
21 replies
IImmich
Created by Andrino on 1/14/2025 in #help-desk-support
"Failed to write, EACCES: permission denied" for custom files location
If I were to switch to a VM, do you recommend Ubuntu 24?
21 replies
IImmich
Created by Andrino on 1/14/2025 in #help-desk-support
"Failed to write, EACCES: permission denied" for custom files location
I figured I'm probably in a no-mans land. I did follow a guide to get this far with the SMB mount, which gives me hope this could be resolved too for internal mounting. But my linux knowledge is stretched thin by now. So I may have to rethink the process a bit
21 replies
IImmich
Created by Andrino on 1/14/2025 in #help-desk-support
"Failed to write, EACCES: permission denied" for custom files location
Unfortunately for this situation LXCs are ideal for my setup, so I want to try to figure it out. Is there any linux knowledge you have or maybe some online resource that might help me diagnose?
21 replies
IImmich
Created by Andrino on 1/14/2025 in #help-desk-support
"Failed to write, EACCES: permission denied" for custom files location
The way I understand it, the permissions of the mount are inherited from the host. That's what I think is happening so far, but I'm not sure
21 replies
IImmich
Created by Andrino on 1/14/2025 in #help-desk-support
"Failed to write, EACCES: permission denied" for custom files location
I can read/write to it using SSH. So it seems like Immich has a different set of permissions than the mounted folder?
21 replies
IImmich
Created by Andrino on 1/14/2025 in #help-desk-support
"Failed to write, EACCES: permission denied" for custom files location
The ignore actually doesn't change anything, Immich wont start with or without that. It being an LXC issue is interesting, because I am able to get it working with an SMB share just fine. So it seems like I would just need to match the permissions of the mount to what Immich is expecting, to get it to work. Where can I learn more about the permissions that Immich expects?
21 replies
IImmich
Created by Andrino on 1/14/2025 in #help-desk-support
"Failed to write, EACCES: permission denied" for custom files location
My docker-compose.yml file. I am using the default one which works perfectly to run the app and have a library of files/thumbs/videos. Below is my environment version of the compose.
services:
immich:
volumes:

# These work perfectly, but I have to move all the files to SMB share, which might cause network slowdown.
# - /mnt/pve/PC-Photos/Immich-backend/thumbs/:/usr/src/app/upload/thumbs
# - /mnt/pve/PC-Photos/Immich-backend/encoded-video/:/usr/src/app/upload/encoded-video

# These are ideal, but aren't working. Immich says "cannot write to .immich" due to permissions issue.
- /mnt/pve/Immich-Thumbs/:/usr/src/app/upload/thumbs
- /mnt/pve/Immich-Transcodes/:/usr/src/app/upload/encoded-video
services:
immich:
volumes:

# These work perfectly, but I have to move all the files to SMB share, which might cause network slowdown.
# - /mnt/pve/PC-Photos/Immich-backend/thumbs/:/usr/src/app/upload/thumbs
# - /mnt/pve/PC-Photos/Immich-backend/encoded-video/:/usr/src/app/upload/encoded-video

# These are ideal, but aren't working. Immich says "cannot write to .immich" due to permissions issue.
- /mnt/pve/Immich-Thumbs/:/usr/src/app/upload/thumbs
- /mnt/pve/Immich-Transcodes/:/usr/src/app/upload/encoded-video
21 replies