Hello there i’m having trouble setting up two different Strapi v4 projects.
The deployment ist successfull but the app does not start properly (502).
The logs say: “Server wasn’t able to start properly”
When starting the project through ssh (yarn start) it start’s as expected (so probably no DB issues as strapi wouldn’t start up if not able to connect to the db).
We are continuing to investigate ways to assist you with this issue and noticed some errors while running pm2 log {{ deploymentWorkflowName }}.
The error message mentions Unknown dialect undefined. To help you better understand the issue, we have included a link to the error log below:
We hope the error log will provide you with the necessary information to debug the issue. Please don’t hesitate to reach out if there is anything else we can do to assist you.
Googling the error code does show quite a few suggestions around updating the Strapi DB config. Here are a few links if they can be of any help to you:
Please let us know, if you continue to run into issues setting up your Strapi applications.
I wonder why cleavr shows some different logs than what I get with pm2 log. In the past hardly found the pm2 logs inside cleavr useful as it seems to hide things.
We really appreciate you bringing the issue to our attention and providing detailed feedback. We’ve had a discussion about the issue and we’ve come up with a couple of solutions. We’ll be working on implementing them soon.