Skip to content
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

Wrong docker env variable for postgresql password in example .env.prod.dist file #239

Open
juanluisbaptiste opened this issue Feb 5, 2021 · 0 comments
Labels

Comments

@juanluisbaptiste
Copy link

Reproduction

Hi,

When following the instructions for the docker install, the example .env.prod.dist file uses the env variable POSTGRES_PASSWORD for the database password, but using it I get the following error on the celery container start and when running ./manage.py migrate --noinput:

WARNING/Beat] django.db.utils.OperationalError: fe_sendauth: no password supplied

Using PGPASSWORD instead works.

Steps to reproduce:

  1. Follow the instructions at https://getfal.co/docs/getting-started/installation
  2. Download the example docker-compose.prod.yml file.
  3. Download the example .env.prod.dist file and save it as .env.prod
  4. Set the values of the .env.prod as desired, using POSTGRES_PASSWORD as the env variable for the database password.
  5. Start the project using docker-compose -f docker-compose.prod.yml up
  6. Celery container startup will fail with the error WARNING/Beat] django.db.utils.OperationalError: fe_sendauth: no password supplied

Expected Behavior

Containers should start without error, using PGPASSWORD instead of POSTGRES_PASSWORD fixes the issue.

Actual Behavior

Celery container startup will fail with the error WARNING/Beat] django.db.utils.OperationalError: fe_sendauth: no password supplied

Environment

  • Browser(s):
    Firefox
  • Operating System (e.g. Windows, macOS, Ubuntu):
    Kubuntu 20.04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants