New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.4] Project config can't connect to database after install #5697
Comments
Found the issue. Still strange that it worked for the rest of the install though.... |
I can see how that could possibly happen, if you started with the |
@brandonkelly can I pick your brain on this one a second thime? My Running I can only reproduce it with our Appreciate any help you could provide! |
@janhenckens I was able to reproduce using your starter repo. Issue ended up being due to another change in 3.4, which is that Fixed for the next release, by reconfiguring the existing |
Craft 3.4.9 is out now with the fix. |
Description
When starting a project from our starter repo, we're running into the following error:
After installing, the setup script will try to apply the existing project.yaml but that throws the following error:
can't apply existing project config: Craft CMS can’t connect to the database with the credentials in config/db.php.
, eventhough seconds earlier it was able to install without any issues.Testing this with the previous version of the repo (1.4.2, which ran Craft 3.3.19) it did work, the latest release (on Craft 3.4.7.1) has the error.
Steps to reproduce
composer create-project statikbe/craft test
Additional info
The text was updated successfully, but these errors were encountered: