New deployment does not run due to Postgres change
See original GitHub issueDescribe 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:
- Created 4 years ago
- Comments:8 (8 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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
okay let’s get it deployed and built asap then! Thanks for catching this!