Page 1 of 1

Error during installation: "Cannot connect to database" - "No such file or directory"

Posted: 14 Oct 2023, 01:45
by kdewald
Hi!

I've been trying to set up OpenCATS within a docker environment and I'm running against the following error (See attached screenshots)
"Cannot connect to database" - "No such file or directory"

Is there a way I can get logs from PHP that I can inspect to see what's going on?

I've also included my entire docker compose setup to test this, which can be run using `docker compose up --build`

Thanks for the help! I'm looking forward to test this out :D

Re: Error during installation: "Cannot connect to database" - "No such file or directory"

Posted: 12 Feb 2024, 06:49
by poodleburger
connections gameI'm also wondering what happened because I seem to be having the same problem as you.

Re: Error during installation: "Cannot connect to database" - "No such file or directory"

Posted: 16 Feb 2024, 13:39
by manuel
Could it be he's and maybe you also are using not PHP7.2 but a higher not tested version .?

Re: Error during installation: "Cannot connect to database" - "No such file or directory"

Posted: 16 Feb 2024, 18:59
by kdewald
That's why I included the Dockerfile I was using, to make sure I an get a reproducible build.