PHP app starts but cannot reach its database
The application is running but cannot reach its database. Check the database credentials in the project environment, and that the database service is up.
TypeWarningAn issue PanelAlpha Engine catches around a deploy that does not break it. It tells you, before or after, that you may need to do something.
Seen11 times
WherePhp
StatusFixed (2.1.0)Fixed in PanelAlpha Engine 2.1.0. The error is resolved on our side, so you will not run into it anymore.
Why it happens
The container starts successfully and responds with HTTP 200 on port 8000, but the application reports a database connection error. The project has no configured environment source, so required database credentials may be missing. A database service may also be absent or unreachable.
What the log looks like
Deploy log
Detected project type: PHP (no Composer)Using strategy: phpStarting application (docker compose up -d)Container project-app-1 StartedHealth check: http://[ip]:8000/ answered HTTP 200Check failed: The application is running but cannot reach its database.Deploy finished with warnings