Install and setup: failing Lando commands

Created on 8 December 2023, about 1 year ago
Updated 12 June 2024, 6 months ago

Problem/Motivation

After several successful Lando commands, one fails

[warning] Failed to drop or create the database. Do it yourself before installing. ERROR 2002 (HY000): Can't connect to MySQL server on '127.0.0.1' (115) In SiteInstallCommands.php line 185: Existing configuration directory not found or does not contain a core.extension.yml file.

And then the next several Lando commands fail, but almost certainly because of the previous error. Eventually we get to a more fatal error and the whole thing stops.

I went back and manually reran the scripts in `sous/setup.sh` from `lando drush site:install` and onwards, and then it seemed fine.

Steps to reproduce

composer create-project fourkitchens/sous-drupal-project [PROJECT-NAME] --no-interaction

Proposed resolution

Remaining tasks

🐛 Bug report
Status

Active

Version

6.0

Component

Code

Created by

🇨🇦Canada dalin Guelph, 🇨🇦, 🌍

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024