docker-immich icon indicating copy to clipboard operation
docker-immich copied to clipboard

Do not use existed SMB share directory as the directory to store in immich `-v /photos` on Unraid

Open yzhEric opened this issue 1 year ago • 1 comments

if you use existed SMB share directory as the directory to store in immich -v /photos on Unraid, you can't remove image from disk, though the image was deleted on immich app/web. Log:

WARN [Microservices:StorageService] Unable to remove file from disk
WARN [Microservices:StorageService] Error: EACCES: permission denied, unlink '/photos/upload/path_to_image.png'

yzhEric avatar Sep 10 '24 12:09 yzhEric

This has been discussed multiple times, you need to give the correct permissions to the folder mapped to /photos (on unraid it's by default nobody:users) or map the container's internal user to a user on the host machine with PUID and PGID which has access to /photos

martabal avatar Sep 10 '24 13:09 martabal