Alfred's New Ramblings

Installing Immich

Installing Immich involves installing Docker or Portainer first. I chose Docker because I wanted a lower overhead. I just installed and blindly click through. The errors threw me off a bit. Turns out the downloads were setup for a Linux machine, doing this on a Windows machine requires additional configuration.

In the installations documentation, found at the bottom of the page:

The Immich Postgres database (DB_DATA_LOCATION) must be located on a filesystem that supports user/group ownership and permissions (EXT2/3/4, ZFS, APFS, BTRFS, XFS, etc.). It will not work on any filesystem formatted in NTFS or ex/FAT/32. It will not work in WSL (Windows Subsystem for Linux) when using a mounted host directory (commonly under /mnt). If this is an issue, you can change the bind mount to a Docker volume instead as follows:

Make the following change to .env:

- DB_DATA_LOCATION=./postgres
+ DB_DATA_LOCATION=pgdata

Add the following line to the bottom of docker-compose.yml:

volumes:
  model-cache:
+ pgdata:

link

Tagged on: ,



Leave a Reply

Your email address will not be published. Required fields are marked *