Skip to content

Postgres

Immich uses PostgreSQL as a database, the database is included in this package. It can be useful to access the database, so I have added and exposed the psql utility. You can access the database like this:

Access Immich Database
sudo immich-distribution.psql -d immich

To connect with an external tool, fetch the database password with sudo snap get immich-distribution database-password and connect normally.

Use external command with password
psql -h 127.0.0.1 -U postgres -d immich