Be warned this is sort of Docker related question too.
I try to build local development environment using Docker (nginx 1.16.1 + postgresql 12.1.0) running Craft 3.4.1. I've came up to a point where I run the setup wizard over browser. During the steps (connection to database is skipped) I fill the required fields and proceed to final "Next" button where the installation step begins.
Install failed 😞 Please check your logs for more info.
PHPerrors log shows:
An Error occurred while handling another error:
PDOException: SQLSTATE[42P01]: Undefined table: 7 ERROR: relation "queue" does not exist ...
Web log shows:
There is a lot of it but it's about info
table and to summarise to one general sentence I've picked this line
ERROR: relation "info" does not exist ...
What I'm able to:
- I'm able to connect to database over
docker
CLI and PGadmin - I'm able to create database over
docker
CLI and PGadmin
What I'm not able to:
- I'm not able to successfully run
./craft setup
which reports back this failureSQLSTATE[08006] [7] could not translate host name "postgresql" to address: Name or service not known
Every image lives in it's own container and are connected over external network. If more info required I'd be happy to provide.
Is there anyone Who have experienced similar issue?