Repository navigation
Description
Summary
Goal:
Add/browse a Silo library folder where the parent contains symlinked folders.
Steps:
- In my setup, Silo is running in Docker and I have this folder mounted:
- /home/user/Videos/pcs-syslink:/mnt/pcs-syslink:ro/mnt/pcs-syslinkcontains symlinks to real folders inside an rclone/FUSE mount.
Example from inside the container:
ls -la "/mnt/pcs-syslink/Africa (2013)"
# -> /mnt/unionfs/Media/TV/TV-Documentary/Africa (2013)
ls -la "/mnt/pcs-syslink/Africa (2013)/"
# shows Season 01 and tvshow.nfo correctly- Open Silo’s Browse Library Folders dialog and browse to:
/mnt/pcs-syslink
Expected:
Symlinked folders that point to valid directories should appear as selectable/browsable folders.
Actual:
The symlinked folders do not appear when browsing /mnt/pcs-syslink, even though they work correctly inside the container shell.
However, if I manually enter a full symlink path, for example:
/mnt/pcs-syslink/Africa (2013)
and then press Browse, Silo can enter that folder and shows the contents correctly.
What is slow/broken:
Folder browsing / selecting library folders.
Scope:
Happens consistently for symlinked folders under /mnt/pcs-syslink. The targets are valid and readable inside the container.
Version/branch:
e244d4a
Deployment:
Docker. Media source is an rclone/FUSE mount.
Technical notes:
This may be because the folder browser checks only entry.IsDir() when listing child entries and does not follow symlinks. Symlink-to-directory entries may need to be handled with os.Stat() or similar so valid directory symlinks appear in the folder picker.
Reply digest
When adding/browsing a library folder whose parent contains symlinked directories (Docker bind mount), the symlinked folders aren't shown in the folder browser.
Code references
Verified against code 2026-06-25 (merged PRs + source). Verified not fixed (silo-server).
- internal/api/handlers/filesystem.go: HandleBrowse filters with entry.IsDir(), which is false for symlinked dirs in Go -> symlinked folders not listed
Attachments
- https://raw.githubusercontent.com/fluxis/silo-issue-assets/main/1517538425929076796/Screenshot_2026-06-19_at_16.33.08.png
- https://raw.githubusercontent.com/fluxis/silo-issue-assets/main/1517538425929076796/Screenshot_2026-06-19_at_16.33.39.png
Source
Imported from Discord:
Activity
fix(api): show symlinked directories in folder browser (Silo-Server#257)
fix(api): show symlinked directories in the folder browser
fix(api): show symlinked directories in folder browser (Silo-Server#257)