Ente CommunityEC
Ente Communityโ€ข8mo agoโ€ข
24 replies
Packesl

Wrong postgres address after fresh quick install?

When installing either with docker compose and quick install script or with portainer and museum and compose.yml scripts from the github. Postgres always starts but the parameter "host" is probably not loaded.

This is how its in the museum.yml:
db:
host: postgres
port: ...
name: ente_db
user: ...
password: ...

these are the last logs of the museum container:
postgres-1 | 2025-06-20 00:00:38.041 UTC [1] LOG: starting PostgreSQL 15.13 (Debian 15.13-1.pgdg120+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
postgres-1 | 2025-06-20 00:00:38.042 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres-1 | 2025-06-20 00:00:38.042 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres-1 | 2025-06-20 00:00:38.047 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres-1 | 2025-06-20 00:00:38.062 UTC [82] LOG: database system was shut down at 2025-06-20 00:00:37 UTC
postgres-1 | 2025-06-20 00:00:38.077 UTC [1] LOG: database system is ready to accept connections
museum-1 | INFO[0000]main.go:104 main Booting up local server with commit #026669b0d0b292b482a52b20b1693242f0a605a6
museum-1 | INFO[0000]main.go:842 setupDatabase Setting up db
museum-1 | INFO[0000]main.go:849 setupDatabase Connected to DB
museum-1 | panic: dial tcp [::1]:5432: connect: connection refused
museum-1 |
museum-1 | goroutine 1 [running]:
museum-1 | main.setupDatabase()
museum-1 | /etc/ente/cmd/museum/main.go:852 +0x2d8
museum-1 | main.main()
museum-1 | /etc/ente/cmd/museum/main.go:124 +0x380
museum-1 exited with code 2

To recreate:
get homeassistant os on a raspberry, install compose v2 and try to run quickstart
Was this page helpful?