Hi everyone! First off, huge thanks for this amazing app, I love how beautiful Immich is, but I have some trouble setting it up.
I’m running a VM with a 40 GB local block volume and a 1 TB Hetzner Storage Box. I split storage like this:
- Local ext4 at /mnt/cache (including /mnt/cache/immich-thumbs)
- Encrypted rclone mount (crypt over SFTP) at /mnt/storage/immich-data
- rclone VFS cache on /mnt/cache/rclone-cache/*
- systemd stops Docker if mounts drop, to avoid Immich running with broken storage
I’m seeing intermittent mount dropouts that occur unreliably during bulk uploads.
I tested two layouts:
1. Nested Docker binds:
/mnt/storage/immich-data -> /data (upload location on remote storage box)
/mnt/cache/immich-thumbs -> /data/thumbs (thumbnails on local cache volume)
Result: after dropouts, /data/thumbs gets obscured by /data, and thumbnails start disappearing or being written to remote storage.
2. Host-level bind of local thumbs into the rclone tree (to avoid nested container binds).
/mnt/cache/immich-thumbs -> /mnt/storage/immich-data/thumbs (direct symlink on host into the rclone tree)
/mnt/storage/immich-data -> /data (bind mount entire rclone tree into docker container)
Result: obscuring issue is gone, but bulk uploads still trigger mount dropouts; systemd then stops Docker (it auto-recovers, but this is obviously not desirable...). I am not sure what triggers the mount dropout. Systemctl does not seem to log any direct cause. What can I do?
Full disclaimer, while I supervised the process, basically the entire configuration is "vibe coded" here. So while every single aspect of this setup makes sense to me, I am not sure if I messed this up completely or if I have just some minor misconfiguration I am missing. I honestly don't know enough about this stuff to be able to pinpoint this.
Any guidance on the correct way to split remote originals + local thumbs for Immich would be greatly appreciated.
Verbatim config files to follow below