Qarik-Group / concourse-tutorial

Learn to use https://concourse-ci.org with this linear sequence of tutorials. Learn each concept that builds on the previous concept.
870 stars 555 forks source link

Failed to start concourse: Failed to open db retrying #254

Open snicker2112 opened 2 years ago

snicker2112 commented 2 years ago

Running the tutorial, and failed. Tried an alternative docker-compose and still failed. Unsure where the 172 IP came from, docker internal? Running Ubuntu 20.10.

concourse-db_1 | PostgreSQL init process complete; ready for start up. concourse-db_1 | concourse-db_1 | 2022-01-20 18:49:50.625 UTC [1] LOG: starting PostgreSQL 14.1 (Debian 14.1-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit concourse-db_1 | 2022-01-20 18:49:50.625 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 concourse-db_1 | 2022-01-20 18:49:50.625 UTC [1] LOG: listening on IPv6 address "::", port 5432 concourse-db_1 | 2022-01-20 18:49:50.629 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" concourse-db_1 | 2022-01-20 18:49:50.635 UTC [63] LOG: database system was shut down at 2022-01-20 18:49:50 UTC concourse-db_1 | 2022-01-20 18:49:50.639 UTC [1] LOG: database system is ready to accept connections

concourse_1 | {"timestamp":"2022-01-20T18:51:57.846800919Z","level":"error","source":"atc","message":"atc.db.failed-to-open-db-retrying","data":{"error":"dial tcp 172.29.0.2:5432: connect: connection timed out","session":"3"}}