Immich external library help

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version | cat /boot/dietpi/.version
  • G_DIETPI_VERSION_CORE=10
  • G_DIETPI_VERSION_SUB=4
  • G_DIETPI_VERSION_RC=2
  • G_GITBRANCH=‘master’
  • G_GITOWNER=‘MichaIng’
  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
  • trixie
  • Kernel version | uname --all
  • Linux DietPi 6.12.90+deb13.1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.90-2 (2026-05-27) x86_64 GNU/Linux
  • Architecture | dpkg --print-architecture
  • amd64
  • SBC model | echo $G_HW_MODEL_NAME
  • Native PC (x86_64)
  • Power supply used | Computer power brick

Additional Information (if applicable)

  • Software title | Immich native
  • Was the software title installed freshly or updated/migrated?
  • From dietpi-software
  • Can this issue be replicated on a fresh installation of DietPi?
    have not tried

Steps to reproduce

  1. Install Immich from software store
  2. create account through the web interface
  3. Go to Settings → External storage

Expected behaviour

  • It should scan the files and add them

Actual behaviour

  • Despite trying multiple times to add the path is always comes up as “invalid”. I have tried re-installing several times over the last few months, and changing the read/write permissions of the actual folders

Extra details

  • …

You would need to share the path you try to add

We do apply strict sandboxing to the systemd unit, which implies that it does not have any access to /home and /root, has a private /tmp and /var/tmp, and no write access to anywhere outside of /mnt.

If that is the issue: Generally, do not grant system services access to home dirs, and neither to world-writable dirs like /tmp. The prior counter-acts a common security/privacy convention, the latter is vulnerable to malicious symlinks and similar. But if you must, you can override/extend systemd directives the unit, either via dietpi-config or manually creating an override config in /etc/systemd/system/immich.service.d, adding ReadWritePaths=/my/storage.

Thank you. That last option fixed the problem.