Credit card failed, and soon after our django/postgres setup just stopped working:
Error: Database is uninitialized and superuser password is not specified.
You must specify POSTGRES_PASSWORD for the superuser. Use
"-e POSTGRES_PASSWORD=password" to set it in "docker run".
You may also use POSTGRES_HOST_AUTH_METHOD=trust to allow all connections
without a password. This is *not* recommended. See PostgreSQL
documentation about "trust":
https://www.postgresql.org/docs/current/auth-trust.html
Exited with code 1
However, it looks like our account still has credits on the free tier. Is there a way to confirm this isn’t an account issue before I go debug?
The fix is to either set a password with POSTGRES_PASSWORD=<password> or allow no password explicitly with POSTGRES_HOST_AUTH_METHOD=trust. Can set these environment variables in CircleCI
Alternatively, you can pin the Docker image to an earlier version. To do this, find the last successful job follow the steps in this support article: Pinning a Docker image to a specific version