question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New deployment does not run due to Postgres change

See original GitHub issue

Describe the bug

The following appears in docker-compose logs:

db_1         | Error: Database is uninitialized and superuser password is not specified.
db_1         |        You must specify POSTGRES_PASSWORD to a non-empty value for the
db_1         |        superuser. For example, "-e POSTGRES_PASSWORD=password" on "docker run".
db_1         | 
db_1         |        You may also use "POSTGRES_HOST_AUTH_METHOD=trust" to allow all
db_1         |        connections without a password. This is *not* recommended.
db_1         | 
db_1         |        See PostgreSQL documentation about "trust":
db_1         |        https://www.postgresql.org/docs/current/auth-trust.html

To Reproduce

Attempt docker-compose up.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
vsochcommented, Mar 4, 2020

Fixed with #278. @alhirzel you can use the branch, and wait for the containers to pop up at https://quay.io/repository/vanessa/sregistry?tab=tags

0reactions
vsochcommented, Mar 4, 2020

okay let’s get it deployed and built asap then! Thanks for catching this!

Read more comments on GitHub >

github_iconTop Results From Across the Web

After Deploy App is not connecting to postgres anymore
Checked the ENVs everything looks fine but it is not working. I saw that postgresql updated my database, since that point it is...
Read more >
PostgreSQL deployments - Sourcegraph handbook
PostgreSQL deployments. For deployments other ... By default, our Cloud SQL databases are not accessible. ... Now, in a new terminal, run the...
Read more >
AutoDevOps ignores `POSTGRES_ENABLED=false` when ...
I have set POSTGRES_ENABLED=false because I don't need a postgresql database. everything works so far (review apps, deploy to production) ...
Read more >
Documentation: 15: pg_upgrade - PostgreSQL
Major PostgreSQL releases regularly add new features that often change the layout of ... If it is selected but not supported, the pg_upgrade...
Read more >
How to Deploy Postgres on Kubernetes | Tutorial - ContainIQ
You can edit these values using text editors like vim or nano. Apply Manifest. The command below creates a new ConfigMap for our...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found