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
fix(server): prevent feedback loop during library scan #7944
Conversation
Deploying immich with Cloudflare Pages
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. It won't be foolproof due to docker mounts but it'll catch most issues
Should we try to cover this case in |
Great suggestion. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly, nothing inside of the media dir should be picked up by external libraries imo.
I was thinking of if someone has a folder in |
I think that would be fine. Storing an external folder inside of the immich-controlled "upload" folder just seems like a bad idea. |
6d9e90e
to
be4f864
Compare
Description
We don't handle the case where the library path contains the thumbs or encoded-videos folders, leading to a nasty feedback loop. This adds that check during the scan.
Fixes #7864