Install and setup: failing Lando commands

Created on 8 December 2023, 7 months ago
Updated 12 June 2024, 13 days 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

  • Issue created by @dalin
  • πŸ‡¨πŸ‡¦Canada Laura Johnson Toronto

    This was for the previous release of Sous. It would be helpful to know if you run into the same issue now. The command is the same minus the --no-interaction.

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

  • πŸ‡¨πŸ‡¦Canada Laura Johnson Toronto
  • πŸ‡¨πŸ‡¦Canada dalin Guelph, πŸ‡¨πŸ‡¦, 🌍

    Much better!

    On my M2 Mac the install took 12min (plus the 4mins that I didn't realize that it was asking me a question about which recipes to install).

    I'll close this up.

Production build 0.69.0 2024