Skip to content

Postgres 13.4 Failed to start #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jharrilim opened this issue Nov 16, 2021 · 3 comments
Closed

Postgres 13.4 Failed to start #21

jharrilim opened this issue Nov 16, 2021 · 3 comments
Assignees

Comments

@jharrilim
Copy link

Summary

Currently Postgres fails to start when running:

docker run --rm -it cimg/postgres:13.4

or from CircleCI:

executors:
  default:
    working_directory: ~/repo
    docker:
      - image: cimg/postgres:13.4

Last bit of the logs:

Success. You can now start the database server using:

    pg_ctl -D /var/lib/postgresql/data -l logfile start

waiting for server to start....2021-11-16 03:38:50.202 UTC [53] LOG:  starting PostgreSQL 13.4 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, 64-bit
2021-11-16 03:38:50.204 UTC [53] LOG:  listening on Unix socket "/tmp/.s.PGSQL.5432"
2021-11-16 03:38:50.210 UTC [54] LOG:  database system was shut down at 2021-11-16 03:38:49 UTC
2021-11-16 03:38:50.217 UTC [53] LOG:  database system is ready to accept connections
 done
server started
psql: error: could not connect to server: No such file or directory
	Is the server running locally and accepting
	connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
sue445 added a commit to sue445/sebastian-badge that referenced this issue Nov 22, 2021
`cimg/postgres` is broken...

```
server started
psql: could not connect to server: No such file or directory
	Is the server running locally and accepting
	connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
LOG:  received SIGHUP, reloading configuration files
LOG:  parameter "listen_addresses" cannot be changed without restarting the server
LOG:  configuration file "/var/lib/postgresql/data/postgresql.conf" contains errors; unaffected changes were applied

Exited with code 2
```

https://app.circleci.com/pipelines/github/sue445/sebastian-badge/1458/workflows/90e3e3bd-654a-4591-8ed0-ee3d58be70b3/jobs/4947

ref CircleCI-Public/cimg-postgres#21
sue445 added a commit to sue445/ccc_privacy_crawler that referenced this issue Nov 22, 2021
`cimg/postgres` is broken...

```
server started
psql: could not connect to server: No such file or directory
	Is the server running locally and accepting
	connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
LOG:  received SIGHUP, reloading configuration files
LOG:  parameter "listen_addresses" cannot be changed without restarting the server
LOG:  configuration file "/var/lib/postgresql/data/postgresql.conf" contains errors; unaffected changes were applied

Exited with code 2
```

https://app.circleci.com/pipelines/github/sue445/ccc_privacy_crawler/1294/workflows/706b5e3e-a7a4-4de6-a0c1-39a05a7ff350/jobs/4439

ref. CircleCI-Public/cimg-postgres#21
@BytesGuy
Copy link
Contributor

BytesGuy commented Dec 8, 2021

Hi, can you re-test these images? We have made some changes that should resolve this issue, at least in the 9.6 image (I was unable to reproduce the issue in 13.4 even before these changes). Thanks!

@BytesGuy BytesGuy self-assigned this Dec 16, 2021
@BytesGuy
Copy link
Contributor

I'm going to close this issue as I can no longer reproduce the issue on any images. If this continues to be a problem, please feel free to re-open the issue. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants