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
I am encountering an issue when trying to initialize the database. I have set the database password correctly in both the .env file and the settings.py file, ensuring that the passwords are identical in both locations. However, when I run the initialize-database command and enter the password, the system responds with an error stating that the password is incorrect.
Steps to Reproduce:
Set the database password in both the .env and settings.py files, ensuring they match.
Run the initialize-database command.
Enter the password when prompted.
Observe the error message indicating the password is incorrect.
Expected Behavior:
The system should accept the entered password and initialize the database without error.
Actual Behavior:
The system throws an error stating that the entered password is incorrect, even though the password in both files is the same.
Additional Information:
I have verified the password in both .env and settings.py files.
No special characters are used in the password.
The issue persists after restarting the system and ensuring the environment variables are loaded correctly.
Could you please help identify the root cause of this issue or suggest any troubleshooting steps?
Thank you!
The text was updated successfully, but these errors were encountered:
You don’t need to update the settings.py file to add DB_INIT_PASSWORD. If you are using the .env file, Horilla’s settings.py will automatically take values from it. The DB_INIT_PASSWORD is specifically used for initializing the database and loading the demo database.
Please ensure that:
The .env file is correctly formatted and loaded.
The environment variables are properly applied in your terminal/session before running the command.
There are no trailing spaces or hidden characters in the password.
Happy to have you as part of the Horilla community!
Hello,
I am encountering an issue when trying to initialize the database. I have set the database password correctly in both the .env file and the settings.py file, ensuring that the passwords are identical in both locations. However, when I run the initialize-database command and enter the password, the system responds with an error stating that the password is incorrect.
Steps to Reproduce:
Expected Behavior:
The system should accept the entered password and initialize the database without error.
Actual Behavior:
The system throws an error stating that the entered password is incorrect, even though the password in both files is the same.
Additional Information:
Could you please help identify the root cause of this issue or suggest any troubleshooting steps?
Thank you!
The text was updated successfully, but these errors were encountered: