Couldn't create 'chatwoot_dev' database. Please check your configuration. #6270
-
Hello guys, good evening. When I'm trying to follow the "Project Setup" phase it requires me to run the command "bundle exec rake db:create, but the problem I get is "could not translate host name "postgres" to address: Temporary failure in name resolution I'm trying to run the project in localhost and not in production . |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
@Stav-Sananes Could you update your .env file's |
Beta Was this translation helpful? Give feedback.
-
updating POSTGRES_HOST=localhost did not solve the issue for me - im still getting the same error Couldn't create 'chatwoot_dev' database. Please check your configuration. |
Beta Was this translation helpful? Give feedback.
-
Hi,
my .env variables are as following :
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_DATABASE=chatwoot_dev
POSTGRES_USERNAME=postgres
POSTGRES_PASSWORD=pass
same as in my database.yml file
…On Thu, 2 May 2024 at 18:28, Pranav ***@***.***> wrote:
@michmosh <https://github.com/michmosh>, could you please verify the
username and password for the database in the environment variables? The
application couldn’t connect to the DB, which is likely due to the
configuration provided in the environment settings.
—
Reply to this email directly, view it on GitHub
<#6270 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEEEEIJVX3P76O4DF5SMLHLZAJLQVAVCNFSM6AAAAAAT6AFGMCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TEOJXGAZTC>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
@Stav-Sananes Could you update your .env file's
POSTGRES_HOST
value aslocalhost
instead? thepostgres
address is what we use for our docker based set up.