concourse / concourse-docker

Offical concourse/concourse Docker image.
Apache License 2.0
241 stars 153 forks source link

Concourse web does not respond #25

Closed 0815fox closed 5 years ago

0815fox commented 6 years ago

I used your docker-compose.yml as base for my setup. So far I basically removed the worker completely and modified the path of the keys. When starting I get the following output.

Basically the output looks good, but I cannot connect to the server, I get a time out in the browser. Also my request does not create any further log output.

Thank you in advance for your help.

concourse-db_1   | The files belonging to this database system will be owned by user "postgres".
concourse-db_1   | This user must also own the server process.
concourse-db_1   | 
concourse-db_1   | The database cluster will be initialized with locale "en_US.utf8".
concourse-db_1   | The default database encoding has accordingly been set to "UTF8".
concourse-db_1   | The default text search configuration will be set to "english".
concourse-db_1   | 
concourse-db_1   | Data page checksums are disabled.
concourse-db_1   | 
concourse-db_1   | fixing permissions on existing directory /database ... ok
concourse-db_1   | creating subdirectories ... ok
concourse-db_1   | selecting default max_connections ... 100
concourse-db_1   | selecting default shared_buffers ... 128MB
concourse-db_1   | selecting dynamic shared memory implementation ... posix
concourse-db_1   | creating configuration files ... ok
concourse-db_1   | running bootstrap script ... ok
concourse-db_1   | performing post-bootstrap initialization ... ok
concourse-db_1   | syncing data to disk ... ok
concourse-db_1   | 
concourse-db_1   | WARNING: enabling "trust" authentication for local connections
concourse-db_1   | You can change this by editing pg_hba.conf or using the option -A, or
concourse-db_1   | --auth-local and --auth-host, the next time you run initdb.
concourse-db_1   | 
concourse-db_1   | Success. You can now start the database server using:
concourse-db_1   | 
concourse-db_1   |     pg_ctl -D /database -l logfile start
concourse-db_1   | 
concourse-db_1   | waiting for server to start....2018-09-20 14:39:37.727 UTC [40] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
concourse-db_1   | 2018-09-20 14:39:37.760 UTC [41] LOG:  database system was shut down at 2018-09-20 14:39:37 UTC
concourse-db_1   | 2018-09-20 14:39:37.774 UTC [40] LOG:  database system is ready to accept connections
concourse-db_1   |  done
concourse-db_1   | server started
concourse-db_1   | CREATE DATABASE
concourse-db_1   | 
concourse-db_1   | 
concourse-db_1   | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
concourse-db_1   | 
concourse-db_1   | 2018-09-20 14:39:38.173 UTC [40] LOG:  received fast shutdown request
concourse-db_1   | waiting for server to shut down....2018-09-20 14:39:38.177 UTC [40] LOG:  aborting any active transactions
concourse-db_1   | 2018-09-20 14:39:38.181 UTC [40] LOG:  worker process: logical replication launcher (PID 47) exited with exit code 1
concourse-db_1   | 2018-09-20 14:39:38.183 UTC [42] LOG:  shutting down
concourse-db_1   | 2018-09-20 14:39:38.199 UTC [40] LOG:  database system is shut down
concourse-db_1   |  done
concourse-db_1   | server stopped
concourse-db_1   | 
concourse-db_1   | PostgreSQL init process complete; ready for start up.
concourse-db_1   | 
concourse-db_1   | 2018-09-20 14:39:38.297 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
concourse-db_1   | 2018-09-20 14:39:38.298 UTC [1] LOG:  listening on IPv6 address "::", port 5432
concourse-db_1   | 2018-09-20 14:39:38.301 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
concourse-db_1   | 2018-09-20 14:39:38.321 UTC [58] LOG:  database system was shut down at 2018-09-20 14:39:38 UTC
concourse-db_1   | 2018-09-20 14:39:38.328 UTC [1] LOG:  database system is ready to accept connections
concourse-db_1   | 2018-09-20 14:40:38.349 UTC [1] LOG:  received smart shutdown request
concourse-db_1   | 2018-09-20 14:40:38.353 UTC [1] LOG:  worker process: logical replication launcher (PID 64) exited with exit code 1
concourse-db_1   | 2018-09-20 14:40:38.355 UTC [59] LOG:  shutting down
concourse-db_1   | 2018-09-20 14:40:38.400 UTC [1] LOG:  database system is shut down
concourse-db_1   | 2018-09-20 14:43:14.582 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
concourse-db_1   | 2018-09-20 14:43:14.582 UTC [1] LOG:  listening on IPv6 address "::", port 5432
concourse-db_1   | 2018-09-20 14:43:14.586 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
concourse-db_1   | 2018-09-20 14:43:14.609 UTC [21] LOG:  database system was shut down at 2018-09-20 14:40:38 UTC
concourse-db_1   | 2018-09-20 14:43:14.618 UTC [1] LOG:  database system is ready to accept connections
concourse-db_1   | 2018-09-20 14:43:40.768 UTC [1] LOG:  received smart shutdown request
concourse-db_1   | 2018-09-20 14:43:40.773 UTC [1] LOG:  worker process: logical replication launcher (PID 27) exited with exit code 1
concourse-db_1   | 2018-09-20 14:43:40.775 UTC [22] LOG:  shutting down
concourse-db_1   | 2018-09-20 14:43:40.794 UTC [1] LOG:  database system is shut down
concourse-db_1   | 2018-09-20 14:47:38.972 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
concourse-db_1   | 2018-09-20 14:47:38.972 UTC [1] LOG:  listening on IPv6 address "::", port 5432
concourse-db_1   | 2018-09-20 14:47:38.976 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
concourse-db_1   | 2018-09-20 14:47:38.998 UTC [20] LOG:  database system was shut down at 2018-09-20 14:43:40 UTC
concourse-db_1   | 2018-09-20 14:47:39.005 UTC [1] LOG:  database system is ready to accept connections
concourse-db_1   | 2018-09-20 14:47:56.566 UTC [33] LOG:  could not receive data from client: Connection reset by peer
concourse-db_1   | 2018-09-20 14:47:56.796 UTC [1] LOG:  received smart shutdown request
concourse-db_1   | 2018-09-20 14:47:56.801 UTC [1] LOG:  worker process: logical replication launcher (PID 26) exited with exit code 1
concourse-db_1   | 2018-09-20 14:47:56.808 UTC [21] LOG:  shutting down
concourse-db_1   | 2018-09-20 14:47:56.829 UTC [1] LOG:  database system is shut down
concourse-db_1   | 2018-09-20 14:48:48.941 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
concourse-db_1   | 2018-09-20 14:48:48.941 UTC [1] LOG:  listening on IPv6 address "::", port 5432
concourse-db_1   | 2018-09-20 14:48:48.944 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
concourse-db_1   | 2018-09-20 14:48:48.966 UTC [21] LOG:  database system was shut down at 2018-09-20 14:47:56 UTC
concourse-db_1   | 2018-09-20 14:48:48.970 UTC [1] LOG:  database system is ready to accept connections
concourse-db_1   | 2018-09-20 14:51:56.941 UTC [34] LOG:  could not receive data from client: Connection reset by peer
concourse-web_1  | {"timestamp":"1537455626.109407663","source":"tsa","message":"tsa.listening","log_level":1,"data":{}}
concourse-web_1  | {"timestamp":"1537455626.112788439","source":"atc","message":"atc.listening","log_level":1,"data":{"debug":"127.0.0.1:8079","http":"0.0.0.0:8080"}}
larssb commented 5 years ago

The output looks good. See my comment in #26 and also ensure that nothing else on your host is listening on 8080.

0815fox commented 5 years ago

Thank you. Actually I somehow solved it but do not remember anymore, how. Sorry, that I had forgotten about this issue. So I am closing this as it is of no value anymore.