ImmichI
Immich12mo ago
funkyb

Symlinked directory in external library not scanned

I want to use a symlinked directory within an Immich external library in order for photos and videos within that linked directory to appear normally within the feed for the user who owns this external library (as opposed ot using partner sharing). I understand this will lead to duplicate database entries, separate ML scans, etc. That's an acceptable tradeoff to me to reach the goal of ultimately doing this for more than 1 different user.

Immich is successfully scanning the files within the external library, however, it does not appear to scan the contents within the symlinked directory. Here are the details:

Using Unraid, Immich deployed via docker container.
shared directory that I want to symlink to
  • /mnt/user/photos/shared
    user-specific directory where I want to place a symlink pointed to the above, named "shared" - /mnt/user/photos/slope
    command used: ln -s /mnt/user/photos/shared /mnt/user/photos/slope/shared
mages attached show what this looks like within the unraid terminal, and also within the immich container. The symlink works as desired when navigating via unraid terminal or smb share from remote windows machine. Within the immich container, if I cd /libraries/slope/shared the response is bash: cd: no such file or directory. What stands out to me in the container's console is the red coloring and there is no trailing / on the link target, as there is when viewing the same via unraid terminal.
image.png
image.png
Was this page helpful?