Open rogueai opened 9 months ago
Hi, it looks like a problem with database credentials or with the database itself.
Could you please check if your database is properly running ? docker compose logs -f db
should give you some informations
docker compose logs -f db
Same happens to me.
Here are the logs:
PostgreSQL Database directory appears to contain a database; Skipping initialization db | db | 2024-04-16 01:07:20.602 UTC [1] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit db | 2024-04-16 01:07:20.603 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 db | 2024-04-16 01:07:20.603 UTC [1] LOG: listening on IPv6 address "::", port 5432 db | 2024-04-16 01:07:20.609 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" db | 2024-04-16 01:07:20.616 UTC [29] LOG: database system was shut down at 2024-04-16 01:07:19 UTC db | 2024-04-16 01:07:20.624 UTC [1] LOG: database system is ready to accept connections db | 2024-04-16 01:07:20.974 UTC [33] FATAL: password authentication failed for user "koillection" db | 2024-04-16 01:07:20.974 UTC [33] DETAIL: Role "koillection" does not exist. db | Connection matched file "/var/lib/postgresql/data/pg_hba.conf" line 128: "host all all all scram-sha-256" db | 2024-04-16 01:07:21.654 UTC [34] FATAL: password authentication failed for user "koillection" db | 2024-04-16 01:07:21.654 UTC [34] DETAIL: Role "koillection" does not exist.
I looks like a problem happened during the database container initialization. Could you try removing your database volume and then restarting the database container only with docker compose up db -d
?
Same issue here.
Hi,
I'm experiencing several error messages in what seems to be the connection to the database. I'm running on docker using the provided compose template with koillection 1.4.13 and Postgres 16
From the start, it takes a few times for the container to connect to the db, it restarts a few times until it's finally able to authenticate. Docker logs report:
Afer several container restarts, the server boots up and I'm able to register the first user, however i get seemingly random connection issues when navigating, here's a log after enabling app debug: