Question

Connection details are unavailable while the database is being provisioned.

Posted November 13, 2021 156 views
PostgreSQLDigitalOcean App PlatformStrapi

Hello, community

I have trouble with the database connection. The application can not be reaching to the database. We couldn’t see even the connection strings or database username/password.

Database component shows use this error: “Connection details are unavailable while the database is being provisioned.”

In the meantime, I’ve disabled the “trusted connection” mark yesterday, could this be the cause of the problem? Now, I can not mark again, it doesn’t exist.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hey @mertcertel

It sounds like your app may be failing to deploy. If the application fails to deploy the dev database will not complete its deployment and will not show any connection details. You’ll need to make sure your app is connecting to the database during the run phase of the deployment as dev databases aren’t available during build time. I’d recommend you check your build or deploy logs to verify why your app is failing to build. You can then resolve any issues and make sure your app is connecting to the database during runtime.

Hope it helps!
Nate