Review app postgres failed to start
Some review app deployments have been failing with Postgres unable to start.
postgresql 08:48:37.08
postgresql 08:48:38.60 Welcome to the Bitnami postgresql container
postgresql 08:48:39.47 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-postgresql
postgresql 08:48:40.27 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-postgresql/issues
postgresql 08:48:41.09
postgresql 08:48:49.91 INFO ==> ** Starting PostgreSQL setup **
postgresql 08:48:59.37 INFO ==> Validating settings in POSTGRESQL_* env vars..
postgresql 08:49:03.28 INFO ==> Loading custom pre-init scripts...
postgresql 08:49:05.17 INFO ==> Loading user's custom files from /docker-entrypoint-preinitdb.d ...
postgresql 08:49:09.58 INFO ==> Initializing PostgreSQL database...
postgresql 08:49:11.38 INFO ==> Cleaning stale /bitnami/postgresql/data/postmaster.pid file
postgresql 08:49:19.69 INFO ==> postgresql.conf file not detected. Generating it...
postgresql 08:49:23.26 INFO ==> pg_hba.conf file not detected. Generating it...
postgresql 08:49:25.18 INFO ==> Generating local authentication configuration
postgresql 08:49:29.68 INFO ==> Deploying PostgreSQL with persisted data...
postgresql 08:49:33.17 INFO ==> Configuring replication parameters
postgresql 08:49:41.68 INFO ==> Configuring fsync
postgresql 08:49:45.37 INFO ==> Loading custom scripts...
postgresql 08:49:48.89 INFO ==> Enabling remote connections
postgresql 08:49:51.56 INFO ==> Stopping PostgreSQL...
postgresql 08:49:53.30 INFO ==> ** PostgreSQL setup finished! **
postgresql 08:50:03.49 INFO ==> ** Starting PostgreSQL **
2020-07-08 08:50:05.215 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2020-07-08 08:50:05.215 GMT [1] LOG: listening on IPv6 address "::", port 5432
2020-07-08 08:50:05.221 GMT [1] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432"
2020-07-08 08:50:05.275 GMT [261] LOG: database system was interrupted; last known up at 2020-07-08 08:43:01 GMT
2020-07-08 08:50:05.490 GMT [261] LOG: database system was not properly shut down; automatic recovery in progress
2020-07-08 08:50:05.495 GMT [261] LOG: redo starts at 0/2F101E0
2020-07-08 08:50:05.499 GMT [261] LOG: invalid record length at 0/2F35A30: wanted 24, got 0
2020-07-08 08:50:05.499 GMT [261] LOG: redo done at 0/2F35A08
2020-07-08 08:50:05.499 GMT [261] LOG: last completed transaction was at log time 2020-07-08 08:43:23.928121+00
2020-07-08 08:50:05.551 GMT [1] LOG: database system is ready to accept connections
2020-07-08 08:50:26.015 GMT [293] FATAL: terminating connection due to unexpected postmaster exit
2020-07-08 08:50:26.015 GMT [294] FATAL: terminating connection due to unexpected postmaster exit
2020-07-08 08:50:26.015 GMT [295] FATAL: terminating connection due to unexpected postmaster exit
2020-07-08 08:50:26.015 GMT [289] FATAL: terminating connection due to unexpected postmaster exit
2020-07-08 08:50:26.015 GMT [292] FATAL: terminating connection due to unexpected postmaster exit
2020-07-08 08:50:26.015 GMT [291] FATAL: terminating connection due to unexpected postmaster exit
2020-07-08 08:50:26.015 GMT [275] FATAL: terminating connection due to unexpected postmaster exit
2020-07-08 08:50:26.015 GMT [303] FATAL: terminating connection due to unexpected postmaster exit
2020-07-08 08:50:26.017 GMT [290] FATAL: terminating connection due to unexpected postmaster exit
Example jobs: