Repository navigation
Allow following symlinks in external library scans (opt-in, or when target is inside a mounted import location) #33245
miniworm
started this conversation in
Feature Request
Replies: 1 comment
|
In our setup, directories have numeric or technical names. Symlinks provide human-readable names without modifying the original directory structure or interfering with automated processes. An optional setting to enable symlink would be nice. Thanks for your work on Immich |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.
The bug
Since v3.4.0 (#32614) library scans no longer follow symlinked directories.
My setup (working for ~1 year until v3.4.0): one external library import path
containing ~100 symlinks to selected folders in a separate directory of all my
photos (incl. drafts I don't want in Immich). Both directories are mounted in the
container. New symlinked folders are no longer discovered; existing assets still
work because they are already in the DB.
Workaround: adding each symlink as a separate import path works, but it defeats
the purpose of curating the library with symlinks on the filesystem.
Proposal, either:
to the container (e.g. under the library's import paths or an allowlist),
which addresses the security concern from fix(server): dont follow symlinks #32614 without breaking this use case.
The OS that Immich Server is running on
Ubuntu 24.04
Version of Immich Server
3.4.1
Version of Immich Mobile App
3.4.1
Platform with the issue
Device make and model
No response
Your docker-compose.yml content
100% standard one with mounted all dirs with multimedia - both with original files organised into subdirs and with symlinks to these subdirs.Your .env content
Reproduction steps
Relevant log output
Additional information
No response
All reactions