You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
set-raintale-database.sh creates a file /etc/raintale.conf containing the database details supplied by the command-line and password prompt. It then adds a section to user_settions.py that references these as environment variables. However it never actually sets these as environment variables when calling manage.py migrate, so the placeholder values like "raintale_password" are used instead of the values entered by the user. The migrate command therefore fails with:
psycopg2.OperationalError: FATAL: password authentication failed for user "raintale"
I worked around this by adding this to set-raintale-database.sh before the migrate command:
set-raintale-database.sh creates a file /etc/raintale.conf containing the database details supplied by the command-line and password prompt. It then adds a section to user_settions.py that references these as environment variables. However it never actually sets these as environment variables when calling
manage.py migrate
, so the placeholder values like "raintale_password" are used instead of the values entered by the user. The migrate command therefore fails with:I worked around this by adding this to set-raintale-database.sh before the migrate command:
The text was updated successfully, but these errors were encountered: