Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yzhEric opened this issue Sep 10, 2024 · 1 comment

Comments

@yzhEric
Copy link

yzhEric commented Sep 10, 2024

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 yzhEric changed the title Do not use SMB share directory as the directory to store in immich -v /photos Do not use SMB share directory as the directory to store in immich -v /photos on Unraid Sep 10, 2024
@yzhEric yzhEric changed the title Do not use SMB share directory as the directory to store in immich -v /photos on Unraid Do not use existed SMB share directory as the directory to store in immich -v /photos on Unraid Sep 10, 2024
@martabal
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants