2025-07-10T11:14:41.303030723Z The files belonging to this database system will be owned by user "postgres". 2025-07-10T11:14:41.303062952Z This user must also own the server process. 2025-07-10T11:14:41.303069534Z 2025-07-10T11:14:41.303108551Z The database cluster will be initialized with locale "en_US.utf8". 2025-07-10T11:14:41.303111543Z The default database encoding has accordingly been set to "UTF8". 2025-07-10T11:14:41.303113727Z The default text search configuration will be set to "english". 2025-07-10T11:14:41.303115816Z 2025-07-10T11:14:41.303117813Z Data page checksums are disabled. 2025-07-10T11:14:41.303147562Z 2025-07-10T11:14:41.303365644Z fixing permissions on existing directory /var/lib/postgresql/data ... ok 2025-07-10T11:14:41.303592364Z creating subdirectories ... ok 2025-07-10T11:14:41.303720606Z selecting dynamic shared memory implementation ... posix 2025-07-10T11:14:41.315934106Z selecting default "max_connections" ... 100 2025-07-10T11:14:41.331189724Z selecting default "shared_buffers" ... 128MB 2025-07-10T11:14:41.362148829Z selecting default time zone ... UTC 2025-07-10T11:14:41.362817995Z creating configuration files ... ok 2025-07-10T11:14:41.473701086Z running bootstrap script ... ok 2025-07-10T11:14:41.722584642Z sh: locale: not found 2025-07-10T11:14:41.722617221Z 2025-07-10 11:14:41.722 UTC [36] WARNING: no usable system locales were found 2025-07-10T11:14:42.115972814Z performing post-bootstrap initialization ... ok 2025-07-10T11:14:45.077354609Z syncing data to disk ... ok 2025-07-10T11:14:45.077437253Z 2025-07-10T11:14:45.077397688Z initdb: warning: enabling "trust" authentication for local connections 2025-07-10T11:14:45.077486046Z initdb: hint: 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. 2025-07-10T11:14:45.077453678Z 2025-07-10T11:14:45.077543565Z Success. You can now start the database server using: 2025-07-10T11:14:45.077565570Z 2025-07-10T11:14:45.077578167Z pg_ctl -D /var/lib/postgresql/data -l logfile start 2025-07-10T11:14:45.077590527Z 2025-07-10T11:14:45.127013379Z waiting for server to start....2025-07-10 11:14:45.126 UTC [42] LOG: starting PostgreSQL 17.5 on x86_64-pc-linux-musl, compiled by gcc (Alpine 14.2.0) 14.2.0, 64-bit 2025-07-10T11:14:45.129733450Z 2025-07-10 11:14:45.129 UTC [42] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" 2025-07-10T11:14:45.139356792Z 2025-07-10 11:14:45.139 UTC [45] LOG: database system was shut down at 2025-07-10 11:14:42 UTC 2025-07-10T11:14:45.146054950Z 2025-07-10 11:14:45.145 UTC [42] LOG: database system is ready to accept connections 2025-07-10T11:14:45.204367882Z done 2025-07-10T11:14:45.204447968Z server started 2025-07-10T11:14:45.306581384Z CREATE DATABASE 2025-07-10T11:14:45.307005970Z 2025-07-10T11:14:45.307114097Z 2025-07-10T11:14:45.307159027Z /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/* 2025-07-10T11:14:45.307165931Z 2025-07-10T11:14:45.308070622Z waiting for server to shut down....2025-07-10 11:14:45.308 UTC [42] LOG: received fast shutdown request 2025-07-10T11:14:45.310509006Z 2025-07-10 11:14:45.310 UTC [42] LOG: aborting any active transactions 2025-07-10T11:14:45.314275827Z 2025-07-10 11:14:45.314 UTC [42] LOG: background worker "logical replication launcher" (PID 48) exited with exit code 1 2025-07-10T11:14:45.314477422Z 2025-07-10 11:14:45.314 UTC [43] LOG: shutting down 2025-07-10T11:14:45.317504225Z 2025-07-10 11:14:45.317 UTC [43] LOG: checkpoint starting: shutdown immediate 2025-07-10T11:14:46.294076233Z 2025-07-10 11:14:46.293 UTC [43] LOG: checkpoint complete: wrote 925 buffers (5.6%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.042 s, sync=0.917 s, total=0.980 s; sync files=301, longest=0.011 s, average=0.004 s; distance=4255 kB, estimate=4255 kB; lsn=0/19150D8, redo lsn=0/19150D8 2025-07-10T11:14:46.307697354Z 2025-07-10 11:14:46.307 UTC [42] LOG: database system is shut down 2025-07-10T11:14:46.310457659Z done 2025-07-10T11:14:46.310494050Z server stopped 2025-07-10T11:14:46.311837362Z 2025-07-10T11:14:46.311877828Z PostgreSQL init process complete; ready for start up. 2025-07-10T11:14:46.311889636Z 2025-07-10T11:14:46.349598501Z 2025-07-10 11:14:46.349 UTC [1] LOG: starting PostgreSQL 17.5 on x86_64-pc-linux-musl, compiled by gcc (Alpine 14.2.0) 14.2.0, 64-bit 2025-07-10T11:14:46.349678495Z 2025-07-10 11:14:46.349 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 2025-07-10T11:14:46.349735618Z 2025-07-10 11:14:46.349 UTC [1] LOG: listening on IPv6 address "::", port 5432 2025-07-10T11:14:46.356142386Z 2025-07-10 11:14:46.356 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" 2025-07-10T11:14:46.363185606Z 2025-07-10 11:14:46.363 UTC [58] LOG: database system was shut down at 2025-07-10 11:14:46 UTC 2025-07-10T11:14:46.372743071Z 2025-07-10 11:14:46.372 UTC [1] LOG: database system is ready to accept connections 2025-07-10T11:14:52.613059262Z 2025-07-10 11:14:52.613 UTC [70] ERROR: database "zitadel-PGDB" already exists 2025-07-10T11:14:52.613080904Z 2025-07-10 11:14:52.613 UTC [70] STATEMENT: -- replace zitadel-PGDB with the name of the database 2025-07-10T11:14:52.613088606Z CREATE DATABASE "zitadel-PGDB" 2025-07-10T11:14:54.984667593Z 2025-07-10 11:14:54.984 UTC [75] ERROR: relation "projections.milestones" does not exist at character 63 2025-07-10T11:14:54.984703808Z 2025-07-10 11:14:54.984 UTC [75] STATEMENT: SELECT instance_id, type, reached_date, last_pushed_date 2025-07-10T11:14:54.984713326Z FROM projections.milestones 2025-07-10T11:14:54.984743565Z WHERE reached_date IS NOT NULL 2025-07-10T11:14:54.984750676Z ORDER BY instance_id, reached_date; 2025-07-10T11:14:54.984755812Z 2025-07-10T11:19:46.462690855Z 2025-07-10 11:19:46.462 UTC [56] LOG: checkpoint starting: time 2025-07-10T11:21:08.971582453Z 2025-07-10 11:21:08.970 UTC [56] LOG: checkpoint complete: wrote 824 buffers (5.0%); 1 WAL file(s) added, 0 removed, 0 recycled; write=82.076 s, sync=0.392 s, total=82.509 s; sync files=822, longest=0.010 s, average=0.001 s; distance=5862 kB, estimate=5862 kB; lsn=0/1ED9FE8, redo lsn=0/1ECEC70 2025-07-10T11:24:47.070623925Z 2025-07-10 11:24:47.070 UTC [56] LOG: checkpoint starting: time 2025-07-10T11:24:55.079140539Z 2025-07-10 11:24:55.078 UTC [56] LOG: checkpoint complete: wrote 82 buffers (0.5%); 0 WAL file(s) added, 0 removed, 0 recycled; write=7.832 s, sync=0.155 s, total=8.009 s; sync files=51, longest=0.008 s, average=0.004 s; distance=267 kB, estimate=5303 kB; lsn=0/1F21DC8, redo lsn=0/1F11C58