after I run: docker compose run --rm setup --domain= --email=
->
INFO 2023-09-02 21:17:26 Database setup start
INFO 2023-09-02 21:17:26 trying to guess volume and network name for DB container
INFO 2023-09-02 21:17:26 trying to get own container id from cgroups
INFO 2023-09-02 21:17:26 Container ID of postgres:13-alpine is 4ce366b9cb409f0593fecf0880e759f73b6c346d3522f052c22f39e5c9d977de
INFO 2023-09-02 21:17:26 waiting for DB container to be ready
INFO 2023-09-02 21:17:27 initializing Database:
INFO 2023-09-02 21:28:23 Docker client closed
FATAL 2023-09-02 21:28:23 [main.go:85] CreateDatabase: failed to create db: failed to setup postgres database: could not
connect to database: dial tcp 172.24.0.3:5432: connect: connection timed out
and the log of the db:
This user must also own the server process.
The database cluster will be initialized with locale "en_US.utf8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are disabled.
fixing permissions on existing directory /var/lib/postgresql/data ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... UTC
creating configuration files ... ok
running bootstrap script ... ok
sh: locale: not found
2023-09-02 21:17:27.145 UTC [30] WARNING: no usable system locales were found
performing post-bootstrap initialization ... ok
syncing data to disk ... ok
Success. You can now start the database server using:
pg_ctl -D /var/lib/postgresql/data -l logfile start
initdb: warning: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.
waiting for server to start....2023-09-02 21:17:27.671 UTC [36] LOG: starting PostgreSQL 13.12 on x86_64-pc-linux-musl, compiled by gcc (Alpine 12.2.1_git20220924-r10) 12.2.1 20220924, 64-bit
2023-09-02 21:17:27.672 UTC [36] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2023-09-02 21:17:27.675 UTC [37] LOG: database system was shut down at 2023-09-02 21:17:27 UTC
2023-09-02 21:17:27.678 UTC [36] LOG: database system is ready to accept connections
done
server started
/usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
waiting for server to shut down...2023-09-02 21:17:27.810 UTC [36] LOG: received fast shutdown request
.2023-09-02 21:17:27.811 UTC [36] LOG: aborting any active transactions
2023-09-02 21:17:27.814 UTC [36] LOG: background worker "logical replication launcher" (PID 43) exited with exit code 1
2023-09-02 21:17:27.814 UTC [38] LOG: shutting down
2023-09-02 21:17:27.824 UTC [36] LOG: database system is shut down
done
server stopped
PostgreSQL init process complete; ready for start up.
2023-09-02 21:17:27.964 UTC [1] LOG: starting PostgreSQL 13.12 on x86_64-pc-linux-musl, compiled by gcc (Alpine 12.2.1_git20220924-r10) 12.2.1 20220924, 64-bit
2023-09-02 21:17:27.964 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2023-09-02 21:17:27.964 UTC [1] LOG: listening on IPv6 address "::", port 5432
2023-09-02 21:17:27.967 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2023-09-02 21:17:27.972 UTC [49] LOG: database system was shut down at 2023-09-02 21:17:27 UTC
2023-09-02 21:17:27.978 UTC [1] LOG: database system is ready to accept connections
Used versions/hash
ts-services beta-58rc20
same with ts-services beta-58rc12
Describe the bug
after I run: docker compose run --rm setup --domain= --email= ->
and the log of the db:
Used versions/hash
ts-services beta-58rc20 same with ts-services beta-58rc12