Coder Social home page Coder Social logo

lando / acquia Goto Github PK

View Code? Open in Web Editor NEW
2.0 7.0 6.0 1.11 MB

The Official Acquia Lando Plugin

Home Page: https://docs.lando.dev/acquia

License: GNU General Public License v3.0

JavaScript 85.76% PHP 0.97% Shell 13.27%
lando lando-plugin lando-recipe acquia acquia-cloud lando-hosting-integration

acquia's Introduction

Acquia Lando Plugin

This is the official Lando plugin for Acquia. When installed it...

  • Closely mimics Acquia's stack, versions and environment locally
  • Allows you to easily pull your Acquia site down locally
  • Allows you to easily push your changes back to Acquia
  • Installs drush, acli and other power tools.

Of course, once a user is running their Acquia project with Lando they can take advantage of all the other awesome development features Lando provides.

Basic Usage

Clone a project down from Acquia.

# Make and go into an empty directory
mkdir myproject && cd myproject

# Go through interactive prompts to get your code from acquia
lando init --source acquia

# OR if you already have your acquia code locally
cd /path/to/repo
lando init \
  --source cwd \
  --recipe acquia

# Start it up
lando start

# Import your database and files
lando pull

# List information about this app.
lando info

Once your project is running you can access relevant tooling commands.

For more info you should check out the docs:

Issues, Questions and Support

If you have a question or would like some community support we recommend you join us on Slack.

If you'd like to report a bug or submit a feature request then please use the issue queue in this repo.

Changelog

We try to log all changes big and small in both THE CHANGELOG and the release notes.

Development

If you're interested in working on this plugin then we recommend you check out the development guide.

Maintainers

Contributors

Made with contributors-img.

Other Selected Resources

acquia's People

Contributors

billdennen avatar cdubz avatar danepowell avatar dependabot[bot] avatar github-actions[bot] avatar pirog avatar reynoldsalec avatar rtfm-47 avatar rubenvarela avatar uberhacker avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

acquia's Issues

Adjust 'max_input_var' value

Acquia allows increasing max_input_vars up to 2,500 via the UI and 5,000 if you open a ticket.

Launching a new site with the acquia recipe, the value is set to 10,000.

Can this be lowered? I believe the default value Acquia has is 1,000.

Acquia lando push error: No arguments expected for "push:code"

What is your lando version and operating system?

v3.1.0 on macOS Big Sur 11.2.3

Tell us about your .lando.yml

name: mtndecoupled
recipe: acquia
config:
  acli_version: master
  ah_application_uuid: uuid
  ah_site_group: mtndecoupled
  php: '7.4'
services:
  appserver:
    composer_version: 1-latest

Tell us about the command you were running

lando push

Tell us about the error you got

Rerun the command that produced your error in debug mode. Note that debug mode is run like this lando command -vvv. Paste in the error and the ~100 lines that proceeded it.

lando push  -vvvv

lando 15:14:51 DEBUG ==> No update available. 
lando 15:14:51 VERBOSE ==> starting bootstrap at level app... 
lando 15:14:51 VERBOSE ==> config bootstrap beginning... 
lando 15:14:51 DEBUG ==> emitting event pre-bootstrap-config 
lando 15:14:51 DEBUG ==> plugin lando-core loaded from /snapshot/lando/build/cli/plugins/lando-core/index.js 
lando 15:14:51 DEBUG ==> plugin lando-events loaded from /snapshot/lando/build/cli/plugins/lando-events/index.js 
lando 15:14:51 DEBUG ==> plugin lando-networking loaded from /snapshot/lando/build/cli/plugins/lando-networking/index.js 
lando 15:14:51 DEBUG ==> plugin lando-proxy loaded from /snapshot/lando/build/cli/plugins/lando-proxy/index.js 
lando 15:14:51 DEBUG ==> plugin lando-recipes loaded from /snapshot/lando/build/cli/plugins/lando-recipes/index.js 
lando 15:14:51 DEBUG ==> plugin lando-services loaded from /snapshot/lando/build/cli/plugins/lando-services/index.js 
lando 15:14:51 DEBUG ==> plugin lando-sharing loaded from /snapshot/lando/build/cli/plugins/lando-sharing/index.js 
lando 15:14:51 DEBUG ==> plugin lando-test loaded from /snapshot/lando/build/cli/plugins/lando-test/index.js 
lando 15:14:51 DEBUG ==> plugin lando-tooling loaded from /snapshot/lando/build/cli/plugins/lando-tooling/index.js 
lando 15:14:51 DEBUG ==> plugin lando-lagoon loaded from /snapshot/lando/build/cli/integrations/lando-lagoon/index.js 
lando 15:14:51 DEBUG ==> plugin lando-pantheon loaded from /snapshot/lando/build/cli/integrations/lando-pantheon/index.js 
lando 15:14:51 DEBUG ==> plugin lando-platformsh loaded from /snapshot/lando/build/cli/integrations/lando-platformsh/index.js 
lando 15:14:51 DEBUG ==> plugin lando-acquia loaded from /snapshot/lando/build/cli/experimental/lando-acquia/index.js 
lando 15:14:51 DEBUG ==> plugin lando-experimental loaded from /snapshot/lando/build/cli/experimental/lando-experimental/index.js 
lando 15:14:51 DEBUG ==> emitting event post-bootstrap-config 
lando 15:14:51 VERBOSE ==> building proxy config... 
lando 15:14:51 VERBOSE ==> config bootstrap completed. 
lando 15:14:51 VERBOSE ==> tasks bootstrap beginning... 
lando 15:14:51 DEBUG ==> emitting event pre-bootstrap-tasks 
lando 15:14:51 DEBUG ==> autoloaded task config 
lando 15:14:51 DEBUG ==> autoloaded task destroy 
lando 15:14:51 DEBUG ==> autoloaded task info 
lando 15:14:51 DEBUG ==> autoloaded task list 
lando 15:14:51 DEBUG ==> autoloaded task logs 
lando 15:14:51 DEBUG ==> autoloaded task poweroff 
lando 15:14:51 DEBUG ==> autoloaded task rebuild 
lando 15:14:51 DEBUG ==> autoloaded task restart 
lando 15:14:51 DEBUG ==> autoloaded task share 
lando 15:14:51 DEBUG ==> autoloaded task start 
lando 15:14:51 DEBUG ==> autoloaded task stop 
lando 15:14:51 DEBUG ==> autoloaded task version 
lando 15:14:51 DEBUG ==> autoloaded task init 
lando 15:14:51 DEBUG ==> autoloaded task ssh 
lando 15:14:51 DEBUG ==> emitting event post-bootstrap-tasks 
lando 15:14:51 VERBOSE ==> tasks bootstrap completed. 
lando 15:14:51 VERBOSE ==> engine bootstrap beginning... 
lando 15:14:51 DEBUG ==> emitting event pre-bootstrap-engine 
lando 15:14:51 DEBUG ==> automoved scripts from /snapshot/lando/build/cli/plugins/lando-core/scripts to /Users/yentln/.lando/scripts and set to mode 755 
lando 15:14:51 DEBUG ==> automoved scripts from /snapshot/lando/build/cli/plugins/lando-proxy/scripts to /Users/yentln/.lando/scripts and set to mode 755 
lando 15:14:51 DEBUG ==> automoved scripts from /snapshot/lando/build/cli/plugins/lando-recipes/scripts to /Users/yentln/.lando/scripts and set to mode 755 
lando 15:14:51 DEBUG ==> automoved scripts from /snapshot/lando/build/cli/plugins/lando-services/scripts to /Users/yentln/.lando/scripts and set to mode 755 
lando 15:14:51 DEBUG ==> automoved scripts from /snapshot/lando/build/cli/plugins/lando-sharing/scripts to /Users/yentln/.lando/scripts and set to mode 755 
lando 15:14:51 DEBUG ==> automoved scripts from /snapshot/lando/build/cli/integrations/lando-lagoon/scripts to /Users/yentln/.lando/scripts and set to mode 755 
lando 15:14:51 DEBUG ==> automoved scripts from /snapshot/lando/build/cli/integrations/lando-pantheon/scripts to /Users/yentln/.lando/scripts and set to mode 755 
lando 15:14:51 DEBUG ==> automoved scripts from /snapshot/lando/build/cli/integrations/lando-platformsh/scripts to /Users/yentln/.lando/scripts and set to mode 755 
lando 15:14:51 DEBUG ==> automoved scripts from /snapshot/lando/build/cli/experimental/lando-acquia/scripts to /Users/yentln/.lando/scripts and set to mode 755 
lando 15:14:51 DEBUG ==> emitting event post-bootstrap-engine 
lando 15:14:51 VERBOSE ==> engine bootstrap completed. 
lando 15:14:51 VERBOSE ==> app bootstrap beginning... 
lando 15:14:51 DEBUG ==> emitting event pre-bootstrap-app 
lando 15:14:51 DEBUG ==> autoloaded builder LandoCompose 
lando 15:14:51 DEBUG ==> autoloaded builder LandoAppserver 
lando 15:14:51 DEBUG ==> autoloaded builder LandoService 
lando 15:14:51 DEBUG ==> autoloaded builder LandoUtility 
lando 15:14:51 DEBUG ==> autoloaded builder LandoWebServer 
lando 15:14:51 DEBUG ==> autoloaded builder LandoDrupal 
lando 15:14:51 DEBUG ==> autoloaded builder LandoLaemp 
lando 15:14:51 DEBUG ==> autoloaded builder LandoAppserver 
lando 15:14:51 DEBUG ==> autoloaded builder LandoPlatformAppserver 
lando 15:14:51 DEBUG ==> autoloaded builder LandoPlatformService 
lando 15:14:51 DEBUG ==> autoloaded builder LandoCa 
lando 15:14:51 DEBUG ==> autoloaded builder LandoProxy 
lando 15:14:51 DEBUG ==> autoloaded builder LandoInit 
lando 15:14:51 DEBUG ==> autoloaded builder LandoApache 
lando 15:14:51 DEBUG ==> autoloaded builder LandoCompose 
lando 15:14:51 DEBUG ==> autoloaded builder LandoDotNet 
lando 15:14:51 DEBUG ==> autoloaded builder LandoElasticSearch 
lando 15:14:51 DEBUG ==> autoloaded builder LandoGo 
lando 15:14:51 DEBUG ==> autoloaded builder LandoMailHog 
lando 15:14:51 DEBUG ==> autoloaded builder LandoMariaDb 
lando 15:14:51 DEBUG ==> autoloaded builder LandoMemcached 
lando 15:14:51 DEBUG ==> autoloaded builder LandoMongoDb 
lando 15:14:51 DEBUG ==> autoloaded builder LandoMsSql 
lando 15:14:51 DEBUG ==> autoloaded builder LandoMySql 
lando 15:14:51 DEBUG ==> autoloaded builder LandoNginx 
lando 15:14:51 DEBUG ==> autoloaded builder LandoNode 
lando 15:14:51 DEBUG ==> autoloaded builder LandoPhp 
lando 15:14:51 DEBUG ==> autoloaded builder LandoPma 
lando 15:14:51 DEBUG ==> autoloaded builder LandoPostgres 
lando 15:14:51 DEBUG ==> autoloaded builder LandoPython 
lando 15:14:51 DEBUG ==> autoloaded builder LandoRedis 
lando 15:14:51 DEBUG ==> autoloaded builder LandoRuby 
lando 15:14:51 DEBUG ==> autoloaded builder LandoSolr 
lando 15:14:51 DEBUG ==> autoloaded builder LandoTomcat 
lando 15:14:51 DEBUG ==> autoloaded builder LandoVarnish 
lando 15:14:51 DEBUG ==> autoloaded builder LandoMounter 
lando 15:14:51 DEBUG ==> autoloaded builder LandoLagoonMariaDb 
lando 15:14:51 DEBUG ==> autoloaded builder LandoLagoonNginx 
lando 15:14:51 DEBUG ==> autoloaded builder LandoLagoonNone 
lando 15:14:51 DEBUG ==> autoloaded builder LandoLagoonPhp 
lando 15:14:51 DEBUG ==> autoloaded builder LandoLagoonPhp 
lando 15:14:51 DEBUG ==> autoloaded builder LandoLagoonPostgres 
lando 15:14:51 DEBUG ==> autoloaded builder LandoLagoonRedis 
lando 15:14:51 DEBUG ==> autoloaded builder LandoLagoonSolr 
lando 15:14:51 DEBUG ==> autoloaded builder LandoLagoonVarnish 
lando 15:14:51 DEBUG ==> autoloaded builder LandoPlatformshChromeHeadless 
lando 15:14:51 DEBUG ==> autoloaded builder LandoPlatformsElasticsearch 
lando 15:14:51 DEBUG ==> autoloaded builder LandoPlatformshInfluxdb 
lando 15:14:51 DEBUG ==> autoloaded builder LandoPlatformshKafka 
lando 15:14:51 DEBUG ==> autoloaded builder LandoPlatformshMariaDB 
lando 15:14:51 DEBUG ==> autoloaded builder LandoPlatformshMemcached 
lando 15:14:51 DEBUG ==> autoloaded builder LandoPlatformsMongoDB 
lando 15:14:51 DEBUG ==> autoloaded builder LandoPlatformshPhp 
lando 15:14:51 DEBUG ==> autoloaded builder LandoPlatformshPostgres 
lando 15:14:51 DEBUG ==> autoloaded builder LandoPlatformshRabbitmq 
lando 15:14:51 DEBUG ==> autoloaded builder LandoPlatformshRedis 
lando 15:14:51 DEBUG ==> autoloaded builder LandoPlatformshSolr 
lando 15:14:51 DEBUG ==> autoloaded builder LandoPlatformshVarnish 
lando 15:14:51 DEBUG ==> autoloaded builder LandoBackdrop 
lando 15:14:51 DEBUG ==> autoloaded builder LandoDrupal6 
lando 15:14:51 DEBUG ==> autoloaded builder LandoDrupal7 
lando 15:14:51 DEBUG ==> autoloaded builder LandoDrupal8 
lando 15:14:51 DEBUG ==> autoloaded builder LandoDrupal9 
lando 15:14:51 DEBUG ==> autoloaded builder LandoJoomla 
lando 15:14:51 DEBUG ==> autoloaded builder LandoLamp 
lando 15:14:51 DEBUG ==> autoloaded builder LandoLaravel 
lando 15:14:51 DEBUG ==> autoloaded builder LandoLamp 
lando 15:14:51 DEBUG ==> autoloaded builder LandoMean 
lando 15:14:51 DEBUG ==> autoloaded builder LandoSymfony 
lando 15:14:51 DEBUG ==> autoloaded builder LandoWordPress 
lando 15:14:51 DEBUG ==> autoloaded builder LandoLagoon 
lando 15:14:51 DEBUG ==> autoloaded builder LandoPantheon 
lando 15:14:51 DEBUG ==> autoloaded builder LandoPlatformsh 
lando 15:14:51 DEBUG ==> autoloaded builder LandoAcquia 
lando 15:14:51 DEBUG ==> emitting event post-bootstrap-app 
lando 15:14:51 VERBOSE ==> app bootstrap completed. 
lando 15:14:51 VERBOSE ==> bootstrap completed. 
lando 15:14:51 DEBUG ==> emitting event post-bootstrap 
lando 15:14:51 VERBOSE ==> docker-engine exists: true 
lando 15:14:51 VERBOSE ==> docker-compose exists: true 
lando 15:14:51 DEBUG ==> emitting event cli-answers 
lando 15:14:51 DEBUG ==> emitting event cli-push-answers 
lando 15:14:52 INFO ==> loading app mtndecoupled from config files 0=/Users/yentln/Web/mtn-cms/.lando.yml
lando 15:14:52 DEBUG ==> app mtndecoupled has config name=mtndecoupled, recipe=acquia, acli_version=master, ah_application_uuid=57c3bdae-02c3-4aa8-a6ae-eb4e4d45bb72, ah_site_group=mtndecoupled, php=7.4, composer_version=1-latest
mtndecoupled 15:14:52 VERBOSE ==> initiatilizing app at /Users/yentln/Web/mtn-cms... 
lando        15:14:52 DEBUG ==> plugin lando-core loaded from /snapshot/lando/build/cli/plugins/lando-core/app.js 
lando        15:14:52 DEBUG ==> plugin lando-events loaded from /snapshot/lando/build/cli/plugins/lando-events/app.js 
lando        15:14:52 DEBUG ==> plugin lando-networking loaded from /snapshot/lando/build/cli/plugins/lando-networking/app.js 
mtndecoupled 15:14:52 VERBOSE ==> proxy settings detected. 
lando        15:14:52 DEBUG ==> plugin lando-proxy loaded from /snapshot/lando/build/cli/plugins/lando-proxy/app.js 
lando        15:14:52 DEBUG ==> plugin lando-recipes loaded from /snapshot/lando/build/cli/plugins/lando-recipes/app.js 
lando        15:14:52 DEBUG ==> plugin lando-services loaded from /snapshot/lando/build/cli/plugins/lando-services/app.js 
lando        15:14:52 DEBUG ==> plugin lando-sharing loaded from /snapshot/lando/build/cli/plugins/lando-sharing/app.js 
lando        15:14:52 DEBUG ==> plugin lando-tooling loaded from /snapshot/lando/build/cli/plugins/lando-tooling/app.js 
lando        15:14:52 DEBUG ==> plugin lando-lagoon loaded from /snapshot/lando/build/cli/integrations/lando-lagoon/app.js 
lando        15:14:52 DEBUG ==> plugin lando-pantheon loaded from /snapshot/lando/build/cli/integrations/lando-pantheon/app.js 
lando        15:14:52 DEBUG ==> plugin lando-platformsh loaded from /snapshot/lando/build/cli/integrations/lando-platformsh/app.js 
lando        15:14:52 DEBUG ==> plugin lando-acquia loaded from /snapshot/lando/build/cli/experimental/lando-acquia/app.js 
mtndecoupled 15:14:52 DEBUG ==> emitting event pre-init 
mtndecoupled 15:14:52 VERBOSE ==> building acquia recipe named 
lando        15:14:52 VERBOSE ==> proxy is ON. 
lando        15:14:52 VERBOSE ==> Setting the default proxy certificate /certs/cert.crt 
mtndecoupled 15:14:52 VERBOSE ==> building php service appserver 
mtndecoupled 15:14:52 VERBOSE ==> building mysql service database 
mtndecoupled 15:14:52 VERBOSE ==> building memcached service cache 
mtndecoupled 15:14:52 VERBOSE ==> building mailhog service inbox 
mtndecoupled 15:14:52 DEBUG ==> emitting event post-init 
mtndecoupled 15:14:52 DEBUG ==> adding hostnames to the app... 
mtndecoupled 15:14:52 DEBUG ==> hostnames added to appserver 0=appserver.mtndecoupled.internal
mtndecoupled 15:14:52 DEBUG ==> hostnames added to database 0=database.mtndecoupled.internal
mtndecoupled 15:14:52 DEBUG ==> hostnames added to cache 0=cache.mtndecoupled.internal
mtndecoupled 15:14:52 DEBUG ==> hostnames added to inbox 0=inbox.mtndecoupled.internal
mtndecoupled 15:14:52 VERBOSE ==> attempting to find open services... 
lando        15:14:52 VERBOSE ==> checking docker version compatibility... 
lando        15:14:52 DEBUG ==> compatibility results name=desktop, link=https://docs.docker.com/docker-for-mac/release-notes/, wants=2.1.0.0 - 3.3.99, version=3.3.0, semversion=3.3.0, semmin=2.1.0, semmax=3.3.99, dockerVersion=true, satisfied=true
lando        15:14:52 DEBUG ==> engine is up. 
lando        15:14:52 DEBUG ==> docker is running. 
mtndecoupled 15:14:52 DEBUG ==> engine is up. 
mtndecoupled 15:14:52 VERBOSE ==> refreshing certificates... 0=appserver, 1=database, 2=cache, 3=inbox
mtndecoupled 15:14:52 VERBOSE ==> perm sweeping flagged non-root containers ... 0=database
mtndecoupled 15:14:52 VERBOSE ==> analyzing user ssh keys... using 1 of 1 
mtndecoupled 15:14:52 DEBUG ==> key config...  none 
mtndecoupled 15:14:52 VERBOSE ==> additional tooling detected 
mtndecoupled 15:14:52 DEBUG ==> adding app cli task composer 
mtndecoupled 15:14:52 DEBUG ==> adding app cli task db-import <file> 
mtndecoupled 15:14:52 DEBUG ==> adding app cli task db-export [file] 
mtndecoupled 15:14:52 DEBUG ==> adding app cli task php 
mtndecoupled 15:14:52 DEBUG ==> adding app cli task mysql 
mtndecoupled 15:14:52 DEBUG ==> adding app cli task drush 
mtndecoupled 15:14:52 DEBUG ==> adding app cli task acli 
mtndecoupled 15:14:52 DEBUG ==> adding app cli task pull 
mtndecoupled 15:14:52 DEBUG ==> adding app cli task push 
mtndecoupled 15:14:52 VERBOSE ==> setting LANDO_INFO... 
mtndecoupled 15:14:52 DEBUG ==> ensuring exposed ports on appserver are bound to 127.0.0.1 
mtndecoupled 15:14:52 DEBUG ==> ensuring exposed ports on appserver are bound to 127.0.0.1 
mtndecoupled 15:14:52 DEBUG ==> ensuring exposed ports on database are bound to 127.0.0.1 
mtndecoupled 15:14:52 DEBUG ==> ensuring exposed ports on cache are bound to 127.0.0.1 
mtndecoupled 15:14:52 DEBUG ==> ensuring exposed ports on inbox are bound to 127.0.0.1 
mtndecoupled 15:14:52 DEBUG ==> ensuring exposed ports on inbox are bound to 127.0.0.1 
mtndecoupled 15:14:52 VERBOSE ==> app is ready! 
mtndecoupled 15:14:52 DEBUG ==> emitting event ready 
mtndecoupled 15:14:52 VERBOSE ==> discovering dynamic portforward info... 
? Push code to? Lab3, ode15 (vcs: tags/v0.41)
? Push database to? Lab3, ode15 (vcs: tags/v0.41)
? Push files to? Lab3, ode15 (vcs: tags/v0.41)
lando        15:15:16 DEBUG ==> emitting event cli-run 
lando        15:15:16 DEBUG ==> emitting event cli-push-run 
lando        15:15:16 INFO ==> loading app mtndecoupled from config files 0=/Users/yentln/Web/mtn-cms/.lando.yml
lando        15:15:16 DEBUG ==> app mtndecoupled has config name=mtndecoupled, recipe=acquia, acli_version=master, ah_application_uuid=57c3bdae-02c3-4aa8-a6ae-eb4e4d45bb72, ah_site_group=mtndecoupled, php=7.4, composer_version=1-latest
lando        15:15:16 DEBUG ==> emitting event pre-app-runner 
lando        15:15:16 DEBUG ==> emitting event pre-command-runner 
mtndecoupled 15:15:16 VERBOSE ==> initiatilizing app at /Users/yentln/Web/mtn-cms... 
lando        15:15:16 DEBUG ==> plugin lando-core loaded from /snapshot/lando/build/cli/plugins/lando-core/app.js 
lando        15:15:16 DEBUG ==> plugin lando-events loaded from /snapshot/lando/build/cli/plugins/lando-events/app.js 
lando        15:15:16 DEBUG ==> plugin lando-networking loaded from /snapshot/lando/build/cli/plugins/lando-networking/app.js 
mtndecoupled 15:15:16 VERBOSE ==> proxy settings detected. 
lando        15:15:16 DEBUG ==> plugin lando-proxy loaded from /snapshot/lando/build/cli/plugins/lando-proxy/app.js 
lando        15:15:16 DEBUG ==> plugin lando-recipes loaded from /snapshot/lando/build/cli/plugins/lando-recipes/app.js 
lando        15:15:16 DEBUG ==> plugin lando-services loaded from /snapshot/lando/build/cli/plugins/lando-services/app.js 
lando        15:15:16 DEBUG ==> plugin lando-sharing loaded from /snapshot/lando/build/cli/plugins/lando-sharing/app.js 
lando        15:15:16 DEBUG ==> plugin lando-tooling loaded from /snapshot/lando/build/cli/plugins/lando-tooling/app.js 
lando        15:15:16 DEBUG ==> plugin lando-lagoon loaded from /snapshot/lando/build/cli/integrations/lando-lagoon/app.js 
lando        15:15:16 DEBUG ==> plugin lando-pantheon loaded from /snapshot/lando/build/cli/integrations/lando-pantheon/app.js 
lando        15:15:16 DEBUG ==> plugin lando-platformsh loaded from /snapshot/lando/build/cli/integrations/lando-platformsh/app.js 
lando        15:15:16 DEBUG ==> plugin lando-acquia loaded from /snapshot/lando/build/cli/experimental/lando-acquia/app.js 
mtndecoupled 15:15:16 DEBUG ==> emitting event pre-init 
mtndecoupled 15:15:16 VERBOSE ==> building acquia recipe named 
lando        15:15:16 VERBOSE ==> proxy is ON. 
lando        15:15:16 VERBOSE ==> Setting the default proxy certificate /certs/cert.crt 
mtndecoupled 15:15:16 VERBOSE ==> building php service appserver 
mtndecoupled 15:15:16 VERBOSE ==> building mysql service database 
mtndecoupled 15:15:16 VERBOSE ==> building memcached service cache 
mtndecoupled 15:15:16 VERBOSE ==> building mailhog service inbox 
mtndecoupled 15:15:16 DEBUG ==> emitting event post-init 
mtndecoupled 15:15:16 DEBUG ==> adding hostnames to the app... 
mtndecoupled 15:15:16 DEBUG ==> hostnames added to appserver 0=appserver.mtndecoupled.internal
mtndecoupled 15:15:16 DEBUG ==> hostnames added to database 0=database.mtndecoupled.internal
mtndecoupled 15:15:16 DEBUG ==> hostnames added to cache 0=cache.mtndecoupled.internal
mtndecoupled 15:15:16 DEBUG ==> hostnames added to inbox 0=inbox.mtndecoupled.internal
mtndecoupled 15:15:16 VERBOSE ==> attempting to find open services... 
mtndecoupled 15:15:16 DEBUG ==> engine is up. 
mtndecoupled 15:15:16 VERBOSE ==> refreshing certificates... 0=appserver, 1=database, 2=cache, 3=inbox
mtndecoupled 15:15:16 VERBOSE ==> perm sweeping flagged non-root containers ... 0=database
mtndecoupled 15:15:16 VERBOSE ==> analyzing user ssh keys... using 1 of 1 
mtndecoupled 15:15:16 DEBUG ==> key config...  none 
mtndecoupled 15:15:16 VERBOSE ==> additional tooling detected 
mtndecoupled 15:15:16 DEBUG ==> adding app cli task composer 
mtndecoupled 15:15:16 DEBUG ==> adding app cli task db-import <file> 
mtndecoupled 15:15:16 DEBUG ==> adding app cli task db-export [file] 
mtndecoupled 15:15:16 DEBUG ==> adding app cli task php 
mtndecoupled 15:15:16 DEBUG ==> adding app cli task mysql 
mtndecoupled 15:15:16 DEBUG ==> adding app cli task drush 
mtndecoupled 15:15:16 DEBUG ==> adding app cli task acli 
mtndecoupled 15:15:16 DEBUG ==> adding app cli task pull 
mtndecoupled 15:15:16 DEBUG ==> adding app cli task push 
mtndecoupled 15:15:16 VERBOSE ==> setting LANDO_INFO... 
mtndecoupled 15:15:16 DEBUG ==> ensuring exposed ports on appserver are bound to 127.0.0.1 
mtndecoupled 15:15:16 DEBUG ==> ensuring exposed ports on appserver are bound to 127.0.0.1 
mtndecoupled 15:15:16 DEBUG ==> ensuring exposed ports on database are bound to 127.0.0.1 
mtndecoupled 15:15:16 DEBUG ==> ensuring exposed ports on cache are bound to 127.0.0.1 
mtndecoupled 15:15:16 DEBUG ==> ensuring exposed ports on inbox are bound to 127.0.0.1 
mtndecoupled 15:15:16 DEBUG ==> ensuring exposed ports on inbox are bound to 127.0.0.1 
mtndecoupled 15:15:16 VERBOSE ==> app is ready! 
mtndecoupled 15:15:16 DEBUG ==> emitting event ready 
mtndecoupled 15:15:16 VERBOSE ==> discovering dynamic portforward info... 
mtndecoupled 15:15:16 DEBUG ==> emitting event pre-push 
mtndecoupled 15:15:16 DEBUG ==> process pid7 running /Applications/Docker.app/Contents/Resources/bin/docker exec mtndecoupled_appserver_1 /helpers/acquia-push.sh cstdio=[inherit, pipe, pipe], silent=false, mode=attach, detached=false
--
Saved credentials to /var/www/.acquia/cloud_api.conf

                                                                            
  No arguments expected for "push:code" command, got "mtndecoupled.ode15".  
                                                                            

push:code


                                                                                                                        
 [help] You can find Acquia CLI documentation at https://docs.acquia.com/acquia-cli/                                    
                                                                                                                        
        Acquia CLI 1.9.0 is available. Try updating via acli self-update and then run                                   
        the command again.                                                                                              
                                                                                                                        
        You can submit a support ticket at https://insight.acquia.com/support/tickets/new?product=p:cli                 
        Please re-run the command with the -vvv flag and include the full command                                       
        output in your support ticket.                                                                                  
                                                                                                                        

mtndecoupled 15:15:22 DEBUG ==> process pid7 finished with exit code 1 
mtndecoupled 15:15:22 DEBUG ==> engine is up. 

Tell us generally about your bug

I connected and pulled an environment from Acquia Cloud and chose to use Lando for local dev. I made some updates to the code, created a new branch for the environment in git and wanted to push up everything to the environment on Acquia. I followed this page for direction in getting it done with Lando https://docs.lando.dev/config/acquia.html

Please detail the steps we can take to replicate this bug. Be as detailed as possible.

1. Make a new directory and go into it and run lando init --source acquia
2. Pull a specific environment from Acquia(lando pull) and choose the environment when prompted
3. Make some changes to code and branch out i.e. git checkout -b topic/newbranch
4. Try push up changes to Acquia(lando push)

Tell us more

I updated Lando to v3.1.0 today as I thought it was an issue with v3.0.29 and I rebuilt the app to check if it would be fixed (lando rebuild)

I also wanted to ask a question, not sure if it's the correct forum but:

  • Can I see the current environment I am currently in, in the terminal? I tried to see it using lando info but can't see anything related to it.

Not possible to disable memcache, causing slow page loads

Even if you have cache set to false in .lando.yml (as documented here: https://docs.lando.dev/plugins/acquia/config.html), and do not have a Drupal memcache module installed (disabled for local development environment using config_split Drupal module), memcache related code will run on every page load, causing significant slowness.

While investigating why my site was so slow, I found this issue:
#10

A user there pointed out something extremely problematic for anyone who does not have the Drupal memcache module enabled and configured and does not want to. The issue is caused by the interplay of Lando setting $_ENV['AH_SITE_ENVIRONMENT'] to "LANDO", and the memcache related code in the Acquia created/controlled docroot/sites/default/settings/cloud-memcache-d8.php file.

In cloud-memcache-d8.php, this if statement will ALWAYS be true:

/**
 * Use memcache as cache backend.
 *
 * Autoload memcache classes and service container in case module is not
 * installed. Avoids the need to patch core and allows for overriding the
 * default backend when installing Drupal.
 *
 * @see https://www.drupal.org/node/2766509
 */
if (array_key_exists('memcache', $settings) &&
  array_key_exists('servers', $settings['memcache']) &&
  !empty($settings['memcache']['servers'])
) {

This is because Lando sets the $_ENV['AH_SITE_ENVIRONMENT'] variable, and Acquia creates the $settings['memcache'] array in another Acquia settings file.

Initially I thought I could unset the array in my local.settings.php, but this is not possible, because local.settings.php is ran AFTER cloud-memcache-d8.php.

The only way I have found to avoid this if statement being true is to unset $_ENV['AH_SITE_ENVIRONMENT'] in .lando.yml:

services:
  appserver:
    overrides:
      environment:
        AH_SITE_ENVIRONMENT:

This likely has side effects, or else Lando wouldn't bother to set the variable in the first place. However, after adding that and running lando rebuild, my site is significantly faster. Using Xdebug, I can confirm that the if statement in cloud-memcache-d8.php evaluates to false and the memcache code does not run.

Can we find a way to actually disable memcache that plays nicely with Acquia files that we have no control over?

Acquia is not working with xdebug

Hi All and thanks for developing lando. It is a great tool for devs!
I am trying to debug with xdebug with acquia recipe.
According to doc here, it should support xdebug option.
However, it doesnot work for me and after some digging, it seems the receipe disable xdebug no matter how code

Is there anyway to enable xdebug for acquia recipe?

Thanks again.

Acquia - Disable run-scripts

Tell us about your setup

What is your lando version and operating system? (note that the older your version the less likely we are to reply)

macOS 11.2.3 - Lando v3.0.29

Tell us about your .lando.yml

Paste in the contents of your .lando.yml this is SUPER HELPFUL for us.

name: <sitename>
recipe: acquia
config:
  acli_version: latest
  ah_application_uuid: <uuid>
  ah_site_group: <sitegroup>

Tell us about the command you were running

lando start

Tell us generally about your bug

I would expect the environment to simply start. As part of starting, this is running acli pull:run-scripts which in turn

  • alters the code (composer)
  • clears caches (Drush cache clear)
  • alters my database (sql sanitize)

Link to what it runs,
https://github.com/acquia/cli/blob/3e228dc142124966d438fe13a3e96a1c25f60b9b/src/Command/Pull/PullCommandBase.php#L689-L694

It also looks like it's specific to Drupal 8/Drupal 9 and not Drupal 7 sites which are still supported and running on Acquia - https://github.com/acquia/cli/blob/3e228dc142124966d438fe13a3e96a1c25f60b9b/src/Command/Pull/PullCommandBase.php#L701

Example:

1. Setup an Acquia site
2. `lando start`

Tell us more

As part of lando start you'll see /lando/config/${LANDO_APP_NAME}/.acquia being printed to the screen. After that, you'll see composer ran.

I don't think there's a way to disable this. I'd expect it to be optional or at least the ability to make it optional.

Lando Acquia Experimental returns TypeError when authenticated in Acquia CLI

Tell us about your setup

What is your lando version and operating system? (note that the older your version the less likely we are to reply)

v3.1.0 on MacOS Catalina 10.15.7

Tell us about your .lando.yml

name: <name>
recipe: acquia
config:
  acli_version: master
  ah_application_uuid: <uuid>
  ah_site_group: <name>
  php: '7.4'
  conf:
    php: .vscode/php.ini

Tell us about the command you were running

lando --experimental   #turn on flags
acli auth:login        #login to acquia with an API key in acli
lando version          #check lando version

Tell us about the error you got

lando 10:18:00 DEBUG ==> Checking for updates... 
lando 10:18:00 VERBOSE ==> starting bootstrap at level tasks... 
lando 10:18:00 VERBOSE ==> config bootstrap beginning... 
lando 10:18:00 DEBUG ==> emitting event pre-bootstrap-config 
lando 10:18:00 DEBUG ==> plugin lando-core loaded from /snapshot/lando/build/cli/plugins/lando-core/index.js 
lando 10:18:00 DEBUG ==> plugin lando-events loaded from /snapshot/lando/build/cli/plugins/lando-events/index.js 
lando 10:18:00 DEBUG ==> plugin lando-networking loaded from /snapshot/lando/build/cli/plugins/lando-networking/index.js 
lando 10:18:00 DEBUG ==> plugin lando-proxy loaded from /snapshot/lando/build/cli/plugins/lando-proxy/index.js 
lando 10:18:00 DEBUG ==> plugin lando-recipes loaded from /snapshot/lando/build/cli/plugins/lando-recipes/index.js 
lando 10:18:00 DEBUG ==> plugin lando-services loaded from /snapshot/lando/build/cli/plugins/lando-services/index.js 
lando 10:18:00 DEBUG ==> plugin lando-sharing loaded from /snapshot/lando/build/cli/plugins/lando-sharing/index.js 
lando 10:18:00 DEBUG ==> plugin lando-test loaded from /snapshot/lando/build/cli/plugins/lando-test/index.js 
lando 10:18:00 DEBUG ==> plugin lando-tooling loaded from /snapshot/lando/build/cli/plugins/lando-tooling/index.js 
lando 10:18:00 DEBUG ==> plugin lando-lagoon loaded from /snapshot/lando/build/cli/integrations/lando-lagoon/index.js 
lando 10:18:00 DEBUG ==> plugin lando-pantheon loaded from /snapshot/lando/build/cli/integrations/lando-pantheon/index.js 
lando 10:18:00 DEBUG ==> plugin lando-platformsh loaded from /snapshot/lando/build/cli/integrations/lando-platformsh/index.js 
lando 10:18:00 DEBUG ==> plugin lando-acquia loaded from /snapshot/lando/build/cli/experimental/lando-acquia/index.js 
lando 10:18:00 DEBUG ==> plugin lando-experimental loaded from /snapshot/lando/build/cli/experimental/lando-experimental/index.js 
lando 10:18:00 DEBUG ==> emitting event post-bootstrap-config 
lando 10:18:00 VERBOSE ==> building proxy config... 
lando 10:18:00 VERBOSE ==> config bootstrap completed. 
lando 10:18:00 VERBOSE ==> tasks bootstrap beginning... 
lando 10:18:00 DEBUG ==> emitting event pre-bootstrap-tasks 
lando 10:18:00 DEBUG ==> autoloaded task config 
lando 10:18:00 DEBUG ==> autoloaded task destroy 
lando 10:18:00 DEBUG ==> autoloaded task info 
lando 10:18:00 DEBUG ==> autoloaded task list 
lando 10:18:00 DEBUG ==> autoloaded task logs 
lando 10:18:00 DEBUG ==> autoloaded task poweroff 
lando 10:18:00 DEBUG ==> autoloaded task rebuild 
lando 10:18:00 DEBUG ==> autoloaded task restart 
lando 10:18:00 DEBUG ==> autoloaded task share 
lando 10:18:00 DEBUG ==> autoloaded task start 
lando 10:18:00 DEBUG ==> autoloaded task stop 
lando 10:18:00 DEBUG ==> autoloaded task version 
lando version

Displays the lando version

Options:
  --channel       Sets the update channel                                      [array] [choices: "edge", "none", "stable"]
  --clear         Clears the lando tasks cache                                                                   [boolean]
  --experimental  Activates experimental features                                                                [boolean]
  --help          Shows lando or delegated command help if applicable                                            [boolean]
  --verbose, -v   Runs with extra verbosity                                                                        [count]
  --all, ---a     Shows additional version information

TypeError: Cannot create property 'key' on string 'a'
    at /snapshot/lando/build/cli/experimental/lando-acquia/lib/utils.js
    at /snapshot/lando/build/cli/node_modules/lodash/lodash.js:4901:15
    at Function.forEach (/snapshot/lando/build/cli/node_modules/lodash/lodash.js:9368:14)
    at Object.getHostKeys (/snapshot/lando/build/cli/experimental/lando-acquia/lib/utils.js)
    at mergeKeys (/snapshot/lando/build/cli/experimental/lando-acquia/recipes/acquia/init.js)
    at Object.options (/snapshot/lando/build/cli/experimental/lando-acquia/recipes/acquia/init.js)
    at /snapshot/lando/build/cli/plugins/lando-recipes/lib/options.js
    at arrayEach (/snapshot/lando/build/cli/node_modules/lodash/lodash.js:516:11)
    at Function.forEach (/snapshot/lando/build/cli/node_modules/lodash/lodash.js:9368:14)
    at Object.getConfigOptions (/snapshot/lando/build/cli/plugins/lando-recipes/lib/options.js)
    at /snapshot/lando/build/cli/plugins/lando-recipes/tasks/init.js
    at /snapshot/lando/build/cli/lib/lando.js
From previous event:
    at processImmediate (internal/timers.js:439:21)

Tell us generally about your bug
I tried to run a lando command after logging into the Acquia CLI, but lando would not run in experimental mode.

Please detail the steps we can take to replicate this bug. Be as detailed as possible.

1. Login using an API key to the Acquia CLI using `acli auth:login`
2. Try to run any lando command in the terminal

Tell us more
Logging out of the acli using acli auth:logout was still not enough to fix the issue. I was able to resolve this, by deleting my acli configuration folder, but don't want to have to go through those steps if I login to acli to manage something in Acquia directly.

Synchronized file shares

Hi,

I've been having some issues recently with Docker & Lando with Acquia sites. Docker just started randomly crashing with the error "Too many files". After a lot of head scratching (and wasted time), I cut my losses and tried using the Acquia virtual IDE product to at least get some work done.

While the Acquia IDE does it work, I prefer to work with Lando and I've been trying again to get Docker to work, this following a MacOS upgrade. So I did the following:

  • Uninstalled docker completely
  • deleted the ~/.lando folder
  • installed lando
  • installed docker
  • run lando install

I get the same result. All works for a while then docker crashes.

I see in the lando console a few messages like:

[+] Running 13/9
โœ˜ Synchronized File Shares
โœ” Container iidrupal8_mailhog_1

I checked in docker and there is a Synchronized File Shares for ~/.lando that is being created by Lando it seems. Synchronized File Shares seems to be a new feature in Docker (released Feb'04) and I suspect this is the issue. I cannot remove the file share since it is being used by the containers - dropping the containers and rebuilding with lando creates the file share - classic catch 22.

Is this a known issue with Synchronized File Shares and Lando? Perhaps it's a security config on my laptop? So, can I disable the creation of the fileshare in lando.yml (attached) and go back to relying on virtual file shares? In that way I can at least check if this is the problem.

Thanks, Ian

.lando.yml file:
lando.yml.txt

Lando 'acquia' recipe uses different host OS than Acquia environments

We have a few sites at Acquia, and the host OS for those environments is Ubuntu 16 (which is based on Debian 9), running kernel 4.4.0-1133-aws.
However, the Lando Acquia recipe uses Debian 10, kernel 4.15.0-142-generic as the host OS.
It seems that a Lando Acquia recipe should use the same base OS that's used at Acquia to get the localdev environment as close to the production environment as possible.

Context:
Acquia doesn't officially support adding non-Drupal php libraries or extensions, but they will enable customer-compiled libraries / extensions. https://docs.acquia.com/cloud-platform/develop/non-drupal/
I'm looking at doing this, but I don't like the idea of compiling for two different OSes, or running different software in localdev than in production.

Acquia API Tokens Don't Persist Properly

After initially authenticating to the Acquia Cloud platform via an API Token, the credentials do not appear to save properly for reuse. If I try to use this Acquia API credentials on another project, I get the following prompt:

$ lando pull
? Choose an Acquia key {my email address}

So, I select my credentials I've previously saved which then results in this error:

In CommandBase.php line 1634:

  This value is too short. It should have 10 characters or more.


auth:login [-k|--key KEY] [-s|--secret SECRET]



 [help] You can find Acquia CLI documentation at https://docs.acquia.com/acquia-cli/

        You can submit a support ticket at https://support-acquia.force.com/s/contactsupport
        Please re-run the command with the -vvv flag and include the full command output in
        your support ticket.

Here is the full verbose debug:

% lando pull -vvv
lando 09:38:11 DEBUG ==> No update available.
lando 09:38:11 VERBOSE ==> starting bootstrap at level app...
lando 09:38:11 VERBOSE ==> config bootstrap beginning...
lando 09:38:11 DEBUG ==> emitting event pre-bootstrap-config
lando 09:38:11 DEBUG ==> plugin lando-core loaded from /snapshot/cli/plugins/lando-core/index.js
lando 09:38:11 DEBUG ==> plugin lando-events loaded from /snapshot/cli/plugins/lando-events/index.js
lando 09:38:11 DEBUG ==> plugin lando-networking loaded from /snapshot/cli/plugins/lando-networking/index.js
lando 09:38:11 DEBUG ==> plugin lando-proxy loaded from /snapshot/cli/plugins/lando-proxy/index.js
lando 09:38:11 DEBUG ==> plugin lando-recipes loaded from /snapshot/cli/plugins/lando-recipes/index.js
lando 09:38:11 DEBUG ==> plugin lando-services loaded from /snapshot/cli/plugins/lando-services/index.js
lando 09:38:11 DEBUG ==> plugin lando-sharing loaded from /snapshot/cli/plugins/lando-sharing/index.js
lando 09:38:11 DEBUG ==> plugin lando-test loaded from /snapshot/cli/plugins/lando-test/index.js
lando 09:38:11 DEBUG ==> plugin lando-tooling loaded from /snapshot/cli/plugins/lando-tooling/index.js
lando 09:38:11 DEBUG ==> plugin @lando/acquia loaded from /snapshot/cli/node_modules/@lando/acquia/index.js
lando 09:38:11 DEBUG ==> plugin @lando/apache loaded from /snapshot/cli/node_modules/@lando/apache/index.js
lando 09:38:11 DEBUG ==> plugin @lando/backdrop loaded from /snapshot/cli/node_modules/@lando/backdrop/index.js
lando 09:38:11 DEBUG ==> plugin @lando/compose loaded from /snapshot/cli/node_modules/@lando/compose/index.js
lando 09:38:11 DEBUG ==> plugin @lando/dotnet loaded from /snapshot/cli/node_modules/@lando/dotnet/index.js
lando 09:38:11 DEBUG ==> plugin @lando/drupal loaded from /snapshot/cli/node_modules/@lando/drupal/index.js
lando 09:38:11 DEBUG ==> plugin @lando/elasticsearch loaded from /snapshot/cli/node_modules/@lando/elasticsearch/index.js
lando 09:38:11 DEBUG ==> plugin @lando/go loaded from /snapshot/cli/node_modules/@lando/go/index.js
lando 09:38:11 DEBUG ==> plugin @lando/joomla loaded from /snapshot/cli/node_modules/@lando/joomla/index.js
lando 09:38:11 DEBUG ==> plugin @lando/lagoon loaded from /snapshot/cli/node_modules/@lando/lagoon/index.js
lando 09:38:11 DEBUG ==> plugin @lando/lamp loaded from /snapshot/cli/node_modules/@lando/lamp/index.js
lando 09:38:11 DEBUG ==> plugin @lando/laravel loaded from /snapshot/cli/node_modules/@lando/laravel/index.js
lando 09:38:11 DEBUG ==> plugin @lando/lemp loaded from /snapshot/cli/node_modules/@lando/lemp/index.js
lando 09:38:11 DEBUG ==> plugin @lando/mailhog loaded from /snapshot/cli/node_modules/@lando/mailhog/index.js
lando 09:38:11 DEBUG ==> plugin @lando/mariadb loaded from /snapshot/cli/node_modules/@lando/mariadb/index.js
lando 09:38:11 DEBUG ==> plugin @lando/mean loaded from /snapshot/cli/node_modules/@lando/mean/index.js
lando 09:38:11 DEBUG ==> plugin @lando/memcached loaded from /snapshot/cli/node_modules/@lando/memcached/index.js
lando 09:38:11 DEBUG ==> plugin @lando/mongo loaded from /snapshot/cli/node_modules/@lando/mongo/index.js
lando 09:38:11 DEBUG ==> plugin @lando/mssql loaded from /snapshot/cli/node_modules/@lando/mssql/index.js
lando 09:38:11 DEBUG ==> plugin @lando/mysql loaded from /snapshot/cli/node_modules/@lando/mysql/index.js
lando 09:38:11 DEBUG ==> plugin @lando/nginx loaded from /snapshot/cli/node_modules/@lando/nginx/index.js
lando 09:38:11 DEBUG ==> plugin @lando/node loaded from /snapshot/cli/node_modules/@lando/node/index.js
lando 09:38:11 DEBUG ==> plugin @lando/pantheon loaded from /snapshot/cli/node_modules/@lando/pantheon/index.js
lando 09:38:11 DEBUG ==> plugin @lando/php loaded from /snapshot/cli/node_modules/@lando/php/index.js
lando 09:38:11 DEBUG ==> plugin @lando/phpmyadmin loaded from /snapshot/cli/node_modules/@lando/phpmyadmin/index.js
lando 09:38:11 DEBUG ==> plugin @lando/platformsh loaded from /snapshot/cli/node_modules/@lando/platformsh/index.js
lando 09:38:11 DEBUG ==> plugin @lando/postgres loaded from /snapshot/cli/node_modules/@lando/postgres/index.js
lando 09:38:11 DEBUG ==> plugin @lando/python loaded from /snapshot/cli/node_modules/@lando/python/index.js
lando 09:38:11 DEBUG ==> plugin @lando/redis loaded from /snapshot/cli/node_modules/@lando/redis/index.js
lando 09:38:11 DEBUG ==> plugin @lando/ruby loaded from /snapshot/cli/node_modules/@lando/ruby/index.js
lando 09:38:11 DEBUG ==> plugin @lando/solr loaded from /snapshot/cli/node_modules/@lando/solr/index.js
lando 09:38:11 DEBUG ==> plugin @lando/symfony loaded from /snapshot/cli/node_modules/@lando/symfony/index.js
lando 09:38:11 DEBUG ==> plugin @lando/tomcat loaded from /snapshot/cli/node_modules/@lando/tomcat/index.js
lando 09:38:11 DEBUG ==> plugin @lando/varnish loaded from /snapshot/cli/node_modules/@lando/varnish/index.js
lando 09:38:11 DEBUG ==> plugin @lando/wordpress loaded from /snapshot/cli/node_modules/@lando/wordpress/index.js
lando 09:38:11 DEBUG ==> emitting event post-bootstrap-config
lando 09:38:11 VERBOSE ==> building proxy config...
lando 09:38:11 VERBOSE ==> config bootstrap completed.
lando 09:38:11 VERBOSE ==> tasks bootstrap beginning...
lando 09:38:11 DEBUG ==> emitting event pre-bootstrap-tasks
lando 09:38:11 DEBUG ==> autoloaded task config
lando 09:38:11 DEBUG ==> autoloaded task destroy
lando 09:38:11 DEBUG ==> autoloaded task info
lando 09:38:11 DEBUG ==> autoloaded task list
lando 09:38:11 DEBUG ==> autoloaded task logs
lando 09:38:11 DEBUG ==> autoloaded task poweroff
lando 09:38:11 DEBUG ==> autoloaded task rebuild
lando 09:38:11 DEBUG ==> autoloaded task restart
lando 09:38:11 DEBUG ==> autoloaded task share
lando 09:38:11 DEBUG ==> autoloaded task start
lando 09:38:11 DEBUG ==> autoloaded task stop
lando 09:38:11 DEBUG ==> autoloaded task version
lando 09:38:11 DEBUG ==> autoloaded task init
lando 09:38:11 DEBUG ==> autoloaded task ssh
lando 09:38:11 DEBUG ==> emitting event post-bootstrap-tasks
lando 09:38:11 VERBOSE ==> tasks bootstrap completed.
lando 09:38:11 VERBOSE ==> engine bootstrap beginning...
lando 09:38:11 DEBUG ==> emitting event pre-bootstrap-engine
lando 09:38:11 DEBUG ==> automoved scripts from /snapshot/cli/plugins/lando-core/scripts to /Users/myuser/.lando/scripts and set to mode 755
lando 09:38:11 DEBUG ==> automoved scripts from /snapshot/cli/plugins/lando-proxy/scripts to /Users/myuser/.lando/scripts and set to mode 755
lando 09:38:11 DEBUG ==> automoved scripts from /snapshot/cli/plugins/lando-recipes/scripts to /Users/myuser/.lando/scripts and set to mode 755
lando 09:38:11 DEBUG ==> automoved scripts from /snapshot/cli/plugins/lando-services/scripts to /Users/myuser/.lando/scripts and set to mode 755
lando 09:38:11 DEBUG ==> automoved scripts from /snapshot/cli/plugins/lando-sharing/scripts to /Users/myuser/.lando/scripts and set to mode 755
lando 09:38:11 DEBUG ==> automoved scripts from /snapshot/cli/node_modules/@lando/acquia/scripts to /Users/myuser/.lando/scripts and set to mode 755
lando 09:38:11 DEBUG ==> automoved scripts from /snapshot/cli/node_modules/@lando/lagoon/scripts to /Users/myuser/.lando/scripts and set to mode 755
lando 09:38:11 DEBUG ==> automoved scripts from /snapshot/cli/node_modules/@lando/pantheon/scripts to /Users/myuser/.lando/scripts and set to mode 755
lando 09:38:11 DEBUG ==> automoved scripts from /snapshot/cli/node_modules/@lando/platformsh/scripts to /Users/myuser/.lando/scripts and set to mode 755
lando 09:38:11 DEBUG ==> emitting event post-bootstrap-engine
lando 09:38:11 VERBOSE ==> engine bootstrap completed.
lando 09:38:11 VERBOSE ==> app bootstrap beginning...
lando 09:38:11 DEBUG ==> emitting event pre-bootstrap-app
lando 09:38:11 DEBUG ==> autoloaded builder LandoCompose
lando 09:38:11 DEBUG ==> autoloaded builder LandoAppserver
lando 09:38:11 DEBUG ==> autoloaded builder LandoService
lando 09:38:11 DEBUG ==> autoloaded builder LandoUtility
lando 09:38:11 DEBUG ==> autoloaded builder LandoWebServer
lando 09:38:11 DEBUG ==> autoloaded builder LandoDrupal
lando 09:38:11 DEBUG ==> autoloaded builder LandoLaemp
lando 09:38:11 DEBUG ==> autoloaded builder LandoAppserver
lando 09:38:11 DEBUG ==> autoloaded builder LandoPlatformAppserver
lando 09:38:11 DEBUG ==> autoloaded builder LandoPlatformService
lando 09:38:11 DEBUG ==> autoloaded builder LandoCa
lando 09:38:11 DEBUG ==> autoloaded builder LandoProxy
lando 09:38:11 DEBUG ==> autoloaded builder LandoInit
lando 09:38:11 DEBUG ==> autoloaded builder LandoMounter
lando 09:38:11 DEBUG ==> autoloaded builder LandoApache
lando 09:38:11 DEBUG ==> autoloaded builder LandoCompose
lando 09:38:11 DEBUG ==> autoloaded builder LandoDotNet
lando 09:38:11 DEBUG ==> autoloaded builder LandoElasticSearch
lando 09:38:11 DEBUG ==> autoloaded builder LandoGo
lando 09:38:11 DEBUG ==> autoloaded builder LandoLagoonElasticsearch
lando 09:38:11 DEBUG ==> autoloaded builder LandoLagoonMariaDb
lando 09:38:11 DEBUG ==> autoloaded builder LandoLagoonNginx
lando 09:38:11 DEBUG ==> autoloaded builder LandoLagoonNone
lando 09:38:11 DEBUG ==> autoloaded builder LandoLagoonPhp
lando 09:38:11 DEBUG ==> autoloaded builder LandoLagoonPhp
lando 09:38:11 DEBUG ==> autoloaded builder LandoLagoonPostgres
lando 09:38:11 DEBUG ==> autoloaded builder LandoLagoonRedis
lando 09:38:11 DEBUG ==> autoloaded builder LandoLagoonSolr
lando 09:38:11 DEBUG ==> autoloaded builder LandoLagoonVarnish
lando 09:38:11 DEBUG ==> autoloaded builder LandoMailHog
lando 09:38:11 DEBUG ==> autoloaded builder LandoMariaDb
lando 09:38:11 DEBUG ==> autoloaded builder LandoMemcached
lando 09:38:11 DEBUG ==> autoloaded builder LandoMongoDb
lando 09:38:11 DEBUG ==> autoloaded builder LandoMsSql
lando 09:38:11 DEBUG ==> autoloaded builder LandoMySql
lando 09:38:11 DEBUG ==> autoloaded builder LandoNginx
lando 09:38:11 DEBUG ==> autoloaded builder LandoNode
lando 09:38:11 DEBUG ==> autoloaded builder PantheonMariaDb
lando 09:38:11 DEBUG ==> autoloaded builder LandoPhp
lando 09:38:11 DEBUG ==> autoloaded builder LandoPma
lando 09:38:11 DEBUG ==> autoloaded builder LandoPlatformshChromeHeadless
lando 09:38:11 DEBUG ==> autoloaded builder LandoPlatformsElasticsearch
lando 09:38:11 DEBUG ==> autoloaded builder LandoPlatformshInfluxdb
lando 09:38:11 DEBUG ==> autoloaded builder LandoPlatformshKafka
lando 09:38:11 DEBUG ==> autoloaded builder LandoPlatformshMariaDB
lando 09:38:11 DEBUG ==> autoloaded builder LandoPlatformshMemcached
lando 09:38:11 DEBUG ==> autoloaded builder LandoPlatformsMongoDB
lando 09:38:11 DEBUG ==> autoloaded builder LandoPlatformshMySQL
lando 09:38:11 DEBUG ==> autoloaded builder LandoPlatformshPhp
lando 09:38:11 DEBUG ==> autoloaded builder LandoPlatformshPostgres
lando 09:38:11 DEBUG ==> autoloaded builder LandoPlatformshRabbitmq
lando 09:38:11 DEBUG ==> autoloaded builder LandoPlatformshRedis
lando 09:38:11 DEBUG ==> autoloaded builder LandoPlatformshSolr
lando 09:38:11 DEBUG ==> autoloaded builder LandoPlatformshVarnish
lando 09:38:11 DEBUG ==> autoloaded builder LandoPostgres
lando 09:38:11 DEBUG ==> autoloaded builder LandoPython
lando 09:38:11 DEBUG ==> autoloaded builder LandoRedis
lando 09:38:11 DEBUG ==> autoloaded builder LandoRuby
lando 09:38:11 DEBUG ==> autoloaded builder LandoSolr
lando 09:38:11 DEBUG ==> autoloaded builder LandoTomcat
lando 09:38:11 DEBUG ==> autoloaded builder LandoVarnish
lando 09:38:11 DEBUG ==> autoloaded builder LandoAcquia
lando 09:38:11 DEBUG ==> autoloaded builder LandoBackdrop
lando 09:38:11 DEBUG ==> autoloaded builder LandoDrupal10
lando 09:38:11 DEBUG ==> autoloaded builder LandoDrupal6
lando 09:38:11 DEBUG ==> autoloaded builder LandoDrupal7
lando 09:38:11 DEBUG ==> autoloaded builder LandoDrupal8
lando 09:38:11 DEBUG ==> autoloaded builder LandoDrupal9
lando 09:38:11 DEBUG ==> autoloaded builder LandoJoomla
lando 09:38:11 DEBUG ==> autoloaded builder LandoLagoon
lando 09:38:11 DEBUG ==> autoloaded builder LandoLamp
lando 09:38:11 DEBUG ==> autoloaded builder LandoLaravel
lando 09:38:11 DEBUG ==> autoloaded builder LandoLamp
lando 09:38:11 DEBUG ==> autoloaded builder LandoMean
lando 09:38:11 DEBUG ==> autoloaded builder LandoPantheon
lando 09:38:11 DEBUG ==> autoloaded builder LandoPlatformsh
lando 09:38:11 DEBUG ==> autoloaded builder LandoSymfony
lando 09:38:11 DEBUG ==> autoloaded builder LandoWordPress
lando 09:38:11 DEBUG ==> emitting event post-bootstrap-app
lando 09:38:11 VERBOSE ==> app bootstrap completed.
lando 09:38:11 VERBOSE ==> bootstrap completed.
lando 09:38:11 DEBUG ==> emitting event post-bootstrap
lando 09:38:11 VERBOSE ==> docker-engine exists: true
lando 09:38:11 VERBOSE ==> docker-compose exists: true
lando 09:38:11 DEBUG ==> emitting event cli-answers
lando 09:38:11 DEBUG ==> emitting event cli-pull-answers
lando 09:38:11 INFO ==> loading app ramseyapps from config files 0=/Users/myuser/code/path/to/project/.lando.yml
lando 09:38:11 DEBUG ==> app ramseyapps has config name=ramseyapps, recipe=acquia, acli_version=latest, ah_application_uuid=86e087b9-730f-4791-a446-994a61188e4f, ah_site_group=ramseyapps, php=8.0, push=disabled, description=Pull database & files from the dev environment, default=none, default=dev, default=dev
ramseyapps 09:38:11 VERBOSE ==> initiatilizing app at /Users/myuser/code/path/to/project...
lando      09:38:11 DEBUG ==> plugin lando-core loaded from /snapshot/cli/plugins/lando-core/app.js
lando      09:38:11 DEBUG ==> plugin lando-events loaded from /snapshot/cli/plugins/lando-events/app.js
lando      09:38:11 DEBUG ==> plugin lando-networking loaded from /snapshot/cli/plugins/lando-networking/app.js
ramseyapps 09:38:11 VERBOSE ==> proxy settings detected.
lando      09:38:11 DEBUG ==> plugin lando-proxy loaded from /snapshot/cli/plugins/lando-proxy/app.js
lando      09:38:11 DEBUG ==> plugin lando-recipes loaded from /snapshot/cli/plugins/lando-recipes/app.js
lando      09:38:11 DEBUG ==> plugin lando-services loaded from /snapshot/cli/plugins/lando-services/app.js
lando      09:38:11 DEBUG ==> plugin lando-sharing loaded from /snapshot/cli/plugins/lando-sharing/app.js
lando      09:38:11 DEBUG ==> plugin lando-tooling loaded from /snapshot/cli/plugins/lando-tooling/app.js
lando      09:38:11 DEBUG ==> plugin @lando/acquia loaded from /snapshot/cli/node_modules/@lando/acquia/app.js
lando      09:38:11 DEBUG ==> plugin @lando/lagoon loaded from /snapshot/cli/node_modules/@lando/lagoon/app.js
lando      09:38:11 DEBUG ==> plugin @lando/pantheon loaded from /snapshot/cli/node_modules/@lando/pantheon/app.js
lando      09:38:11 DEBUG ==> plugin @lando/platformsh loaded from /snapshot/cli/node_modules/@lando/platformsh/app.js
ramseyapps 09:38:11 DEBUG ==> emitting event pre-init
ramseyapps 09:38:11 VERBOSE ==> building acquia recipe named
lando      09:38:11 VERBOSE ==> proxy is ON.
lando      09:38:11 VERBOSE ==> Setting the default proxy certificate /certs/cert.crt
ramseyapps 09:38:11 VERBOSE ==> building php service appserver
ramseyapps 09:38:11 VERBOSE ==> building mysql service database
ramseyapps 09:38:11 VERBOSE ==> building memcached service cache
ramseyapps 09:38:11 VERBOSE ==> building mailhog service inbox
ramseyapps 09:38:11 DEBUG ==> emitting event post-init
ramseyapps 09:38:11 DEBUG ==> adding hostnames to the app...
ramseyapps 09:38:11 DEBUG ==> hostnames added to appserver 0=appserver.ramseyapps.internal
ramseyapps 09:38:11 DEBUG ==> hostnames added to database 0=database.ramseyapps.internal
ramseyapps 09:38:11 DEBUG ==> hostnames added to cache 0=cache.ramseyapps.internal
ramseyapps 09:38:11 DEBUG ==> hostnames added to inbox 0=inbox.ramseyapps.internal
ramseyapps 09:38:11 VERBOSE ==> attempting to find open services...
lando      09:38:11 VERBOSE ==> checking docker version compatibility...
lando      09:38:11 DEBUG ==> compatibility results name=desktop, link=https://docs.docker.com/docker-for-mac/release-notes/, wants=2.1.0.0 - 3.6.99, version=3.6.0, semversion=3.6.0, semmin=2.1.0, semmax=3.6.99, dockerVersion=true, satisfied=true
lando      09:38:12 DEBUG ==> engine is up.
lando      09:38:12 DEBUG ==> docker is running.
ramseyapps 09:38:12 DEBUG ==> engine is up.
ramseyapps 09:38:12 VERBOSE ==> refreshing certificates... 0=appserver, 1=database, 2=cache, 3=inbox
ramseyapps 09:38:12 VERBOSE ==> perm sweeping flagged non-root containers ... 0=database
ramseyapps 09:38:12 VERBOSE ==> analyzing user ssh keys... using 1 of 1
ramseyapps 09:38:12 DEBUG ==> key config...  none
ramseyapps 09:38:12 VERBOSE ==> additional tooling detected
ramseyapps 09:38:12 DEBUG ==> adding app cli task composer
ramseyapps 09:38:12 DEBUG ==> adding app cli task db-import <file>
ramseyapps 09:38:12 DEBUG ==> adding app cli task db-export [file]
ramseyapps 09:38:12 DEBUG ==> adding app cli task php
ramseyapps 09:38:12 DEBUG ==> adding app cli task mysql
ramseyapps 09:38:12 DEBUG ==> adding app cli task drush
ramseyapps 09:38:12 DEBUG ==> adding app cli task acli
ramseyapps 09:38:12 DEBUG ==> adding app cli task pull
ramseyapps 09:38:12 DEBUG ==> adding app cli task push
ramseyapps 09:38:12 VERBOSE ==> setting LANDO_INFO...
ramseyapps 09:38:12 DEBUG ==> ensuring exposed ports on appserver are bound to 127.0.0.1
ramseyapps 09:38:12 DEBUG ==> ensuring exposed ports on appserver are bound to 127.0.0.1
ramseyapps 09:38:12 DEBUG ==> ensuring exposed ports on database are bound to 127.0.0.1
ramseyapps 09:38:12 DEBUG ==> ensuring exposed ports on cache are bound to 127.0.0.1
ramseyapps 09:38:12 DEBUG ==> ensuring exposed ports on inbox are bound to 127.0.0.1
ramseyapps 09:38:12 DEBUG ==> ensuring exposed ports on inbox are bound to 127.0.0.1
ramseyapps 09:38:12 VERBOSE ==> app is ready!
ramseyapps 09:38:12 DEBUG ==> emitting event ready
ramseyapps 09:38:12 VERBOSE ==> discovering dynamic portforward info...
? Choose an Acquia key {my email address}
lando      09:38:14 DEBUG ==> emitting event cli-run
lando      09:38:14 DEBUG ==> emitting event cli-pull-run
lando      09:38:14 INFO ==> loading app ramseyapps from config files 0=/Users/path/to/project/.lando.yml
lando      09:38:14 DEBUG ==> app ramseyapps has config name=ramseyapps, recipe=acquia, acli_version=latest, ah_application_uuid=86e087b9-730f-4791-a446-994a61188e4f, ah_site_group=ramseyapps, php=8.0, push=disabled, description=Pull database & files from the dev environment, default=none, default=dev, default=dev
lando      09:38:14 DEBUG ==> emitting event pre-app-runner
lando      09:38:14 DEBUG ==> emitting event pre-command-runner
ramseyapps 09:38:14 VERBOSE ==> initiatilizing app at /Users/path/to/project...
lando      09:38:14 DEBUG ==> plugin lando-core loaded from /snapshot/cli/plugins/lando-core/app.js
lando      09:38:14 DEBUG ==> plugin lando-events loaded from /snapshot/cli/plugins/lando-events/app.js
lando      09:38:14 DEBUG ==> plugin lando-networking loaded from /snapshot/cli/plugins/lando-networking/app.js
ramseyapps 09:38:14 VERBOSE ==> proxy settings detected.
lando      09:38:14 DEBUG ==> plugin lando-proxy loaded from /snapshot/cli/plugins/lando-proxy/app.js
lando      09:38:14 DEBUG ==> plugin lando-recipes loaded from /snapshot/cli/plugins/lando-recipes/app.js
lando      09:38:14 DEBUG ==> plugin lando-services loaded from /snapshot/cli/plugins/lando-services/app.js
lando      09:38:14 DEBUG ==> plugin lando-sharing loaded from /snapshot/cli/plugins/lando-sharing/app.js
lando      09:38:14 DEBUG ==> plugin lando-tooling loaded from /snapshot/cli/plugins/lando-tooling/app.js
lando      09:38:14 DEBUG ==> plugin @lando/acquia loaded from /snapshot/cli/node_modules/@lando/acquia/app.js
lando      09:38:14 DEBUG ==> plugin @lando/lagoon loaded from /snapshot/cli/node_modules/@lando/lagoon/app.js
lando      09:38:14 DEBUG ==> plugin @lando/pantheon loaded from /snapshot/cli/node_modules/@lando/pantheon/app.js
lando      09:38:14 DEBUG ==> plugin @lando/platformsh loaded from /snapshot/cli/node_modules/@lando/platformsh/app.js
ramseyapps 09:38:14 DEBUG ==> emitting event pre-init
ramseyapps 09:38:14 VERBOSE ==> building acquia recipe named
lando      09:38:14 VERBOSE ==> proxy is ON.
lando      09:38:14 VERBOSE ==> Setting the default proxy certificate /certs/cert.crt
ramseyapps 09:38:14 VERBOSE ==> building php service appserver
ramseyapps 09:38:14 VERBOSE ==> building mysql service database
ramseyapps 09:38:14 VERBOSE ==> building memcached service cache
ramseyapps 09:38:14 VERBOSE ==> building mailhog service inbox
ramseyapps 09:38:14 DEBUG ==> emitting event post-init
ramseyapps 09:38:14 DEBUG ==> adding hostnames to the app...
ramseyapps 09:38:14 DEBUG ==> hostnames added to appserver 0=appserver.ramseyapps.internal
ramseyapps 09:38:14 DEBUG ==> hostnames added to database 0=database.ramseyapps.internal
ramseyapps 09:38:14 DEBUG ==> hostnames added to cache 0=cache.ramseyapps.internal
ramseyapps 09:38:14 DEBUG ==> hostnames added to inbox 0=inbox.ramseyapps.internal
ramseyapps 09:38:14 VERBOSE ==> attempting to find open services...
ramseyapps 09:38:14 VERBOSE ==> refreshing certificates... 0=appserver, 1=database, 2=cache, 3=inbox
ramseyapps 09:38:14 VERBOSE ==> perm sweeping flagged non-root containers ... 0=database
ramseyapps 09:38:14 VERBOSE ==> analyzing user ssh keys... using 1 of 1
ramseyapps 09:38:14 DEBUG ==> key config...  none
ramseyapps 09:38:14 VERBOSE ==> additional tooling detected
ramseyapps 09:38:14 DEBUG ==> adding app cli task composer
ramseyapps 09:38:14 DEBUG ==> adding app cli task db-import <file>
ramseyapps 09:38:14 DEBUG ==> adding app cli task db-export [file]
ramseyapps 09:38:14 DEBUG ==> adding app cli task php
ramseyapps 09:38:14 DEBUG ==> adding app cli task mysql
ramseyapps 09:38:14 DEBUG ==> adding app cli task drush
ramseyapps 09:38:14 DEBUG ==> adding app cli task acli
ramseyapps 09:38:14 DEBUG ==> adding app cli task pull
ramseyapps 09:38:14 DEBUG ==> adding app cli task push
ramseyapps 09:38:14 VERBOSE ==> setting LANDO_INFO...
ramseyapps 09:38:14 DEBUG ==> ensuring exposed ports on appserver are bound to 127.0.0.1
ramseyapps 09:38:14 DEBUG ==> ensuring exposed ports on appserver are bound to 127.0.0.1
ramseyapps 09:38:14 DEBUG ==> ensuring exposed ports on database are bound to 127.0.0.1
ramseyapps 09:38:14 DEBUG ==> ensuring exposed ports on cache are bound to 127.0.0.1
ramseyapps 09:38:14 DEBUG ==> ensuring exposed ports on inbox are bound to 127.0.0.1
ramseyapps 09:38:14 DEBUG ==> ensuring exposed ports on inbox are bound to 127.0.0.1
ramseyapps 09:38:14 VERBOSE ==> app is ready!
ramseyapps 09:38:14 DEBUG ==> emitting event ready
ramseyapps 09:38:14 VERBOSE ==> discovering dynamic portforward info...
ramseyapps 09:38:14 DEBUG ==> emitting event pre-pull
ramseyapps 09:38:14 DEBUG ==> process pid6 running /Applications/Docker.app/Contents/Resources/bin/docker exec ramseyapps_appserver_1 /helpers/acquia-pull.sh cstdio=[inherit, pipe, pipe], silent=false, mode=attach, detached=false
--

In CommandBase.php line 1634:

  This value is too short. It should have 10 characters or more.


auth:login [-k|--key KEY] [-s|--secret SECRET]



 [help] You can find Acquia CLI documentation at https://docs.acquia.com/acquia-cli/

        You can submit a support ticket at https://support-acquia.force.com/s/contactsupport
        Please re-run the command with the -vvv flag and include the full command output in
        your support ticket.


ramseyapps 09:38:15 DEBUG ==> process pid6 finished with exit code 1
lando      09:38:15 VERBOSE ==> reporting error action to report=true, url=https://metrics.lando.dev, report=true, url=https://metrics.lando.dev
lando      09:38:15 DEBUG ==> reported data command=lando pull, context=local, devMode=false, instance=b84ce6c90dc3d1bf0f0dc8b04b8f3cdc4d38718f, nodeVersion=v14.18.3, mode=cli, type=Darwin, platform=darwin, release=21.6.0, arch=x64, product=lando, version=3.6.4, message=, stack=Error
    at /snapshot/cli/lib/shell.js
From previous event:
    at Shell.sh (shell.js)
    at Object.dockerExec (utils.js)
    at /snapshot/cli/plugins/lando-tooling/lib/build.js
From previous event:
    at Object.run (build.js)
From previous event:
    at /snapshot/cli/lib/bootstrap.js
From previous event:
    at /snapshot/cli/lib/cli.js
From previous event:
    at Object.handler (cli.js)
    at Object.runCommand (command.js:238:44)
    at Object.parseArgs [as _parseArgs] (yargs.js:1063:30)
    at Function.get [as argv] (yargs.js:1004:21)
    at Cli.init (cli.js)
    at Cli.run (cli.js)
    at Object.<anonymous> (lando.js)
    at Module._compile (bootstrap.js:1794:22)
    at Function.runMain (bootstrap.js:1847:12)
    at internal/main/run_main_module.js:17:47, action=error, created=2022-09-15T14:38:15.304Z
lando      09:38:16 DEBUG ==> metrics post to https://metrics.lando.dev failed with 400 (Bad Request) No Living connections
lando      09:38:16 DEBUG ==> metrics post to https://metrics.lando.dev failed with 400 (Bad Request) No Living connections

Unhandled rejection TypeError: Cannot create property 'key' on string 'a

First installation of Lando 3.1.4 and Docker Desktop on MacOS 11.3.1 (Intel), I'm getting the following error when trying to initialize the "hello" example:

Unhandled rejection TypeError: Cannot create property 'key' on string 'a'
at /snapshot/lando/build/cli/integrations/lando-acquia/lib/utils.js
at /snapshot/lando/build/cli/node_modules/lodash/lodash.js:4943:15
at Function.forEach (/snapshot/lando/build/cli/node_modules/lodash/lodash.js:9410:14)
at Object.getHostKeys (/snapshot/lando/build/cli/integrations/lando-acquia/lib/utils.js)
at mergeKeys (/snapshot/lando/build/cli/integrations/lando-acquia/recipes/acquia/init.js)
at Object.options (/snapshot/lando/build/cli/integrations/lando-acquia/recipes/acquia/init.js)
at /snapshot/lando/build/cli/plugins/lando-recipes/lib/options.js
at arrayEach (/snapshot/lando/build/cli/node_modules/lodash/lodash.js:530:11)
at Function.forEach (/snapshot/lando/build/cli/node_modules/lodash/lodash.js:9410:14)
at Object.getConfigOptions (/snapshot/lando/build/cli/plugins/lando-recipes/lib/options.js)
at /snapshot/lando/build/cli/plugins/lando-recipes/tasks/init.js
at /snapshot/lando/build/cli/lib/lando.js
From previous event:
at processImmediate (internal/timers.js:456:21)

If I delete Docker Desktop and start over with an installation of Lando 3.1.2, the "hello" example initializes and starts up as expected. If I then stop the application, and upgrade to 3.1.4 again, trying to start it up again results in the same error as above. Downgrading back to 3.1.2 again results in a working application.

Acquia ACLI Failure - PullCommandBase.php: Unable to connect to local database using drupal:drupal

Lando Pull Command Stopped Working

Acquia CLI 2.12.3
Docker Desktop 4.20.1 (110738) | Version: 24.0.2
Lando v3.6.2

  • Looks to be using invalid DB connection credentials from Acquia receipe
  • acli validated to work manually
    image
In PullCommandBase.php line 334:

  Unable to connect to local database using credentials mysql:://drupal:drupal@localhost/drupal. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2)

image

Connection to Database Works Manually with acquia:acquia

image
drush status
  • shows correct connection string
show databases;
  • mysql query shows 2 tables (acquia & information_schema)

0 tables after truncated tables step before failure

Not using composer.json hooks for acli


Lando Command Pull Verbose

(base) d@D-001 myapp % lando pull -vvv

  __  __        __     __        ___            _ __     __   __    ______
 / / / /__  ___/ /__ _/ /____   / _ |_  _____ _(_) /__ _/ /  / /__ / / / /
/ /_/ / _ \/ _  / _ `/ __/ -_) / __ | |/ / _ `/ / / _ `/ _ \/ / -_)_/_/_/
\____/ .__/\_,_/\_,_/\__/\__/ /_/ |_|___/\_,_/_/_/\_,_/_.__/_/\__(_|_|_)
    /_/

Updating helps us provide the best support and saves us tons of time

Use the link below to get the latest and greatest
https://github.com/lando/lando/releases/tag/v3.18.0

Lando is FREE and OPEN SOURCE software that relies on contributions from developers like you!
If you like Lando then help us spend more time making, updating and supporting it by contributing at the link below
https://github.com/sponsors/lando

If you would like to customize the behavior of this message then check out:
https://docs.lando.dev/config/releases.html
lando 22:50:37 VERBOSE ==> starting bootstrap at level app...
lando 22:50:37 VERBOSE ==> config bootstrap beginning...
lando 22:50:37 DEBUG ==> emitting event pre-bootstrap-config
lando 22:50:37 DEBUG ==> plugin lando-core loaded from /snapshot/cli/plugins/lando-core/index.js
lando 22:50:37 DEBUG ==> plugin lando-events loaded from /snapshot/cli/plugins/lando-events/index.js
lando 22:50:37 DEBUG ==> plugin lando-networking loaded from /snapshot/cli/plugins/lando-networking/index.js
lando 22:50:37 DEBUG ==> plugin lando-proxy loaded from /snapshot/cli/plugins/lando-proxy/index.js
lando 22:50:37 DEBUG ==> plugin lando-recipes loaded from /snapshot/cli/plugins/lando-recipes/index.js
lando 22:50:37 DEBUG ==> plugin lando-services loaded from /snapshot/cli/plugins/lando-services/index.js
lando 22:50:37 DEBUG ==> plugin lando-sharing loaded from /snapshot/cli/plugins/lando-sharing/index.js
lando 22:50:37 DEBUG ==> plugin lando-test loaded from /snapshot/cli/plugins/lando-test/index.js
lando 22:50:37 DEBUG ==> plugin lando-tooling loaded from /snapshot/cli/plugins/lando-tooling/index.js
lando 22:50:37 DEBUG ==> plugin @lando/acquia loaded from /snapshot/cli/node_modules/@lando/acquia/index.js
lando 22:50:37 DEBUG ==> plugin @lando/apache loaded from /snapshot/cli/node_modules/@lando/apache/index.js
lando 22:50:37 DEBUG ==> plugin @lando/backdrop loaded from /snapshot/cli/node_modules/@lando/backdrop/index.js
lando 22:50:37 DEBUG ==> plugin @lando/compose loaded from /snapshot/cli/node_modules/@lando/compose/index.js
lando 22:50:37 DEBUG ==> plugin @lando/dotnet loaded from /snapshot/cli/node_modules/@lando/dotnet/index.js
lando 22:50:37 DEBUG ==> plugin @lando/drupal loaded from /snapshot/cli/node_modules/@lando/drupal/index.js
lando 22:50:37 DEBUG ==> plugin @lando/elasticsearch loaded from /snapshot/cli/node_modules/@lando/elasticsearch/index.js
lando 22:50:37 DEBUG ==> plugin @lando/go loaded from /snapshot/cli/node_modules/@lando/go/index.js
lando 22:50:37 DEBUG ==> plugin @lando/joomla loaded from /snapshot/cli/node_modules/@lando/joomla/index.js
lando 22:50:37 DEBUG ==> plugin @lando/lagoon loaded from /snapshot/cli/node_modules/@lando/lagoon/index.js
lando 22:50:37 DEBUG ==> plugin @lando/lamp loaded from /snapshot/cli/node_modules/@lando/lamp/index.js
lando 22:50:37 DEBUG ==> plugin @lando/laravel loaded from /snapshot/cli/node_modules/@lando/laravel/index.js
lando 22:50:37 DEBUG ==> plugin @lando/lemp loaded from /snapshot/cli/node_modules/@lando/lemp/index.js
lando 22:50:37 DEBUG ==> plugin @lando/mailhog loaded from /snapshot/cli/node_modules/@lando/mailhog/index.js
lando 22:50:37 DEBUG ==> plugin @lando/mariadb loaded from /snapshot/cli/node_modules/@lando/mariadb/index.js
lando 22:50:37 DEBUG ==> plugin @lando/mean loaded from /snapshot/cli/node_modules/@lando/mean/index.js
lando 22:50:37 DEBUG ==> plugin @lando/memcached loaded from /snapshot/cli/node_modules/@lando/memcached/index.js
lando 22:50:37 DEBUG ==> plugin @lando/mongo loaded from /snapshot/cli/node_modules/@lando/mongo/index.js
lando 22:50:37 DEBUG ==> plugin @lando/mssql loaded from /snapshot/cli/node_modules/@lando/mssql/index.js
lando 22:50:37 DEBUG ==> plugin @lando/mysql loaded from /snapshot/cli/node_modules/@lando/mysql/index.js
lando 22:50:37 DEBUG ==> plugin @lando/nginx loaded from /snapshot/cli/node_modules/@lando/nginx/index.js
lando 22:50:37 DEBUG ==> plugin @lando/node loaded from /snapshot/cli/node_modules/@lando/node/index.js
lando 22:50:37 DEBUG ==> plugin @lando/pantheon loaded from /snapshot/cli/node_modules/@lando/pantheon/index.js
lando 22:50:37 DEBUG ==> plugin @lando/php loaded from /snapshot/cli/node_modules/@lando/php/index.js
lando 22:50:37 DEBUG ==> plugin @lando/phpmyadmin loaded from /snapshot/cli/node_modules/@lando/phpmyadmin/index.js
lando 22:50:37 DEBUG ==> plugin @lando/platformsh loaded from /snapshot/cli/node_modules/@lando/platformsh/index.js
lando 22:50:37 DEBUG ==> plugin @lando/postgres loaded from /snapshot/cli/node_modules/@lando/postgres/index.js
lando 22:50:37 DEBUG ==> plugin @lando/python loaded from /snapshot/cli/node_modules/@lando/python/index.js
lando 22:50:37 DEBUG ==> plugin @lando/redis loaded from /snapshot/cli/node_modules/@lando/redis/index.js
lando 22:50:37 DEBUG ==> plugin @lando/ruby loaded from /snapshot/cli/node_modules/@lando/ruby/index.js
lando 22:50:37 DEBUG ==> plugin @lando/solr loaded from /snapshot/cli/node_modules/@lando/solr/index.js
lando 22:50:37 DEBUG ==> plugin @lando/symfony loaded from /snapshot/cli/node_modules/@lando/symfony/index.js
lando 22:50:37 DEBUG ==> plugin @lando/tomcat loaded from /snapshot/cli/node_modules/@lando/tomcat/index.js
lando 22:50:37 DEBUG ==> plugin @lando/varnish loaded from /snapshot/cli/node_modules/@lando/varnish/index.js
lando 22:50:37 DEBUG ==> plugin @lando/wordpress loaded from /snapshot/cli/node_modules/@lando/wordpress/index.js
lando 22:50:37 DEBUG ==> emitting event post-bootstrap-config
lando 22:50:37 VERBOSE ==> building proxy config...
lando 22:50:37 VERBOSE ==> config bootstrap completed.
lando 22:50:37 VERBOSE ==> tasks bootstrap beginning...
lando 22:50:37 DEBUG ==> emitting event pre-bootstrap-tasks
lando 22:50:37 DEBUG ==> autoloaded task config
lando 22:50:37 DEBUG ==> autoloaded task destroy
lando 22:50:37 DEBUG ==> autoloaded task info
lando 22:50:37 DEBUG ==> autoloaded task list
lando 22:50:37 DEBUG ==> autoloaded task logs
lando 22:50:37 DEBUG ==> autoloaded task poweroff
lando 22:50:37 DEBUG ==> autoloaded task rebuild
lando 22:50:37 DEBUG ==> autoloaded task restart
lando 22:50:37 DEBUG ==> autoloaded task share
lando 22:50:37 DEBUG ==> autoloaded task start
lando 22:50:37 DEBUG ==> autoloaded task stop
lando 22:50:37 DEBUG ==> autoloaded task version
lando 22:50:37 DEBUG ==> autoloaded task init
lando 22:50:37 DEBUG ==> autoloaded task ssh
lando 22:50:37 DEBUG ==> emitting event post-bootstrap-tasks
lando 22:50:37 VERBOSE ==> tasks bootstrap completed.
lando 22:50:37 VERBOSE ==> engine bootstrap beginning...
lando 22:50:37 DEBUG ==> emitting event pre-bootstrap-engine
lando 22:50:37 DEBUG ==> automoved scripts from /snapshot/cli/plugins/lando-core/scripts to /Users/d/.lando/scripts and set to mode 755
lando 22:50:37 DEBUG ==> automoved scripts from /snapshot/cli/plugins/lando-proxy/scripts to /Users/d/.lando/scripts and set to mode 755
lando 22:50:37 DEBUG ==> automoved scripts from /snapshot/cli/plugins/lando-recipes/scripts to /Users/d/.lando/scripts and set to mode 755
lando 22:50:37 DEBUG ==> automoved scripts from /snapshot/cli/plugins/lando-services/scripts to /Users/d/.lando/scripts and set to mode 755
lando 22:50:37 DEBUG ==> automoved scripts from /snapshot/cli/plugins/lando-sharing/scripts to /Users/d/.lando/scripts and set to mode 755
lando 22:50:37 DEBUG ==> automoved scripts from /snapshot/cli/node_modules/@lando/acquia/scripts to /Users/d/.lando/scripts and set to mode 755
lando 22:50:37 DEBUG ==> automoved scripts from /snapshot/cli/node_modules/@lando/lagoon/scripts to /Users/d/.lando/scripts and set to mode 755
lando 22:50:37 DEBUG ==> automoved scripts from /snapshot/cli/node_modules/@lando/pantheon/scripts to /Users/d/.lando/scripts and set to mode 755
lando 22:50:37 DEBUG ==> automoved scripts from /snapshot/cli/node_modules/@lando/platformsh/scripts to /Users/d/.lando/scripts and set to mode 755
lando 22:50:37 DEBUG ==> emitting event post-bootstrap-engine
lando 22:50:37 VERBOSE ==> engine bootstrap completed.
lando 22:50:37 VERBOSE ==> app bootstrap beginning...
lando 22:50:37 DEBUG ==> emitting event pre-bootstrap-app
lando 22:50:37 DEBUG ==> autoloaded builder LandoCompose
lando 22:50:37 DEBUG ==> autoloaded builder LandoAppserver
lando 22:50:37 DEBUG ==> autoloaded builder LandoService
lando 22:50:37 DEBUG ==> autoloaded builder LandoUtility
lando 22:50:37 DEBUG ==> autoloaded builder LandoWebServer
lando 22:50:37 DEBUG ==> autoloaded builder LandoDrupal
lando 22:50:37 DEBUG ==> autoloaded builder LandoLaemp
lando 22:50:37 DEBUG ==> autoloaded builder LandoAppserver
lando 22:50:37 DEBUG ==> autoloaded builder LandoPlatformAppserver
lando 22:50:37 DEBUG ==> autoloaded builder LandoPlatformService
lando 22:50:37 DEBUG ==> autoloaded builder LandoCa
lando 22:50:37 DEBUG ==> autoloaded builder LandoProxy
lando 22:50:37 DEBUG ==> autoloaded builder LandoInit
lando 22:50:37 DEBUG ==> autoloaded builder LandoMounter
lando 22:50:37 DEBUG ==> autoloaded builder LandoApache
lando 22:50:37 DEBUG ==> autoloaded builder LandoCompose
lando 22:50:37 DEBUG ==> autoloaded builder LandoDotNet
lando 22:50:37 DEBUG ==> autoloaded builder LandoElasticSearch
lando 22:50:37 DEBUG ==> autoloaded builder LandoGo
lando 22:50:37 DEBUG ==> autoloaded builder LandoLagoonElasticsearch
lando 22:50:37 DEBUG ==> autoloaded builder LandoLagoonMariaDb
lando 22:50:37 DEBUG ==> autoloaded builder LandoLagoonNginx
lando 22:50:37 DEBUG ==> autoloaded builder LandoLagoonNone
lando 22:50:37 DEBUG ==> autoloaded builder LandoLagoonPhp
lando 22:50:37 DEBUG ==> autoloaded builder LandoLagoonPhp
lando 22:50:37 DEBUG ==> autoloaded builder LandoLagoonPostgres
lando 22:50:37 DEBUG ==> autoloaded builder LandoLagoonRedis
lando 22:50:37 DEBUG ==> autoloaded builder LandoLagoonSolr
lando 22:50:37 DEBUG ==> autoloaded builder LandoLagoonVarnish
lando 22:50:37 DEBUG ==> autoloaded builder LandoMailHog
lando 22:50:37 DEBUG ==> autoloaded builder LandoMariaDb
lando 22:50:37 DEBUG ==> autoloaded builder LandoMemcached
lando 22:50:37 DEBUG ==> autoloaded builder LandoMongoDb
lando 22:50:37 DEBUG ==> autoloaded builder LandoMsSql
lando 22:50:37 DEBUG ==> autoloaded builder LandoMySql
lando 22:50:37 DEBUG ==> autoloaded builder LandoNginx
lando 22:50:37 DEBUG ==> autoloaded builder LandoNode
lando 22:50:37 DEBUG ==> autoloaded builder PantheonMariaDb
lando 22:50:37 DEBUG ==> autoloaded builder LandoPhp
lando 22:50:37 DEBUG ==> autoloaded builder LandoPma
lando 22:50:37 DEBUG ==> autoloaded builder LandoPlatformshChromeHeadless
lando 22:50:37 DEBUG ==> autoloaded builder LandoPlatformsElasticsearch
lando 22:50:37 DEBUG ==> autoloaded builder LandoPlatformshInfluxdb
lando 22:50:37 DEBUG ==> autoloaded builder LandoPlatformshKafka
lando 22:50:37 DEBUG ==> autoloaded builder LandoPlatformshMariaDB
lando 22:50:37 DEBUG ==> autoloaded builder LandoPlatformshMemcached
lando 22:50:37 DEBUG ==> autoloaded builder LandoPlatformsMongoDB
lando 22:50:37 DEBUG ==> autoloaded builder LandoPlatformshMySQL
lando 22:50:37 DEBUG ==> autoloaded builder LandoPlatformshPhp
lando 22:50:37 DEBUG ==> autoloaded builder LandoPlatformshPostgres
lando 22:50:37 DEBUG ==> autoloaded builder LandoPlatformshRabbitmq
lando 22:50:37 DEBUG ==> autoloaded builder LandoPlatformshRedis
lando 22:50:37 DEBUG ==> autoloaded builder LandoPlatformshSolr
lando 22:50:37 DEBUG ==> autoloaded builder LandoPlatformshVarnish
lando 22:50:37 DEBUG ==> autoloaded builder LandoPostgres
lando 22:50:37 DEBUG ==> autoloaded builder LandoPython
lando 22:50:37 DEBUG ==> autoloaded builder LandoRedis
lando 22:50:37 DEBUG ==> autoloaded builder LandoRuby
lando 22:50:37 DEBUG ==> autoloaded builder LandoSolr
lando 22:50:37 DEBUG ==> autoloaded builder LandoTomcat
lando 22:50:37 DEBUG ==> autoloaded builder LandoVarnish
lando 22:50:37 DEBUG ==> autoloaded builder LandoAcquia
lando 22:50:37 DEBUG ==> autoloaded builder LandoBackdrop
lando 22:50:37 DEBUG ==> autoloaded builder LandoDrupal10
lando 22:50:37 DEBUG ==> autoloaded builder LandoDrupal6
lando 22:50:37 DEBUG ==> autoloaded builder LandoDrupal7
lando 22:50:37 DEBUG ==> autoloaded builder LandoDrupal8
lando 22:50:37 DEBUG ==> autoloaded builder LandoDrupal9
lando 22:50:37 DEBUG ==> autoloaded builder LandoJoomla
lando 22:50:37 DEBUG ==> autoloaded builder LandoLagoon
lando 22:50:37 DEBUG ==> autoloaded builder LandoLamp
lando 22:50:37 DEBUG ==> autoloaded builder LandoLaravel
lando 22:50:37 DEBUG ==> autoloaded builder LandoLamp
lando 22:50:37 DEBUG ==> autoloaded builder LandoMean
lando 22:50:37 DEBUG ==> autoloaded builder LandoPantheon
lando 22:50:37 DEBUG ==> autoloaded builder LandoPlatformsh
lando 22:50:37 DEBUG ==> autoloaded builder LandoSymfony
lando 22:50:37 DEBUG ==> autoloaded builder LandoWordPress
lando 22:50:37 DEBUG ==> emitting event post-bootstrap-app
lando 22:50:37 VERBOSE ==> app bootstrap completed.
lando 22:50:37 VERBOSE ==> bootstrap completed.
lando 22:50:37 DEBUG ==> emitting event post-bootstrap
lando 22:50:37 VERBOSE ==> docker-engine exists: true
lando 22:50:37 VERBOSE ==> docker-compose exists: true
lando 22:50:37 DEBUG ==> emitting event cli-answers
lando 22:50:37 DEBUG ==> emitting event cli-pull-answers
lando 22:50:37 INFO ==> loading app localconnect from config files 0=/Users/d/Sites/GitHub/myapp/.lando.yml
lando 22:50:37 DEBUG ==> app localconnect has config name=localconnect, recipe=acquia, acli_version=latest, ah_application_uuid=b9b1f9ff-21da-4b02-9a0f-ad7dc165bbfc, ah_site_group=myapp, php=8.1, composer_version=2, xdebug=true, php=config/php.ini, PHP_IDE_CONFIG=serverName=localconnect.mdvip.com, run=[touch ~/.bashrc, curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash, . ~/.bashrc, /app/scripts/theme_build.sh], env_file=[.env], service=appserver, cmd=/app/vendor/bin/blt, service=appserver, description=Build theme, cmd=/app/scripts/theme_build.sh, service=appserver, cmd=/app/vendor/bin/drush --root=/app/docroot, service=appserver, description=Enable xdebug for apache., cmd=docker-php-ext-enable xdebug && /etc/init.d/apache2 reload, user=root, service=appserver, description=Disable xdebug for apache., cmd=rm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && /etc/init.d/apache2 reload, user=root, appserver=[localconnect.mdvip.com]
localconnect 22:50:37 VERBOSE ==> initiatilizing app at /Users/d/Sites/GitHub/myapp...
lando        22:50:37 DEBUG ==> plugin lando-core loaded from /snapshot/cli/plugins/lando-core/app.js
lando        22:50:37 DEBUG ==> plugin lando-events loaded from /snapshot/cli/plugins/lando-events/app.js
lando        22:50:37 DEBUG ==> plugin lando-networking loaded from /snapshot/cli/plugins/lando-networking/app.js
localconnect 22:50:37 VERBOSE ==> proxy settings detected.
lando        22:50:37 DEBUG ==> plugin lando-proxy loaded from /snapshot/cli/plugins/lando-proxy/app.js
lando        22:50:37 DEBUG ==> plugin lando-recipes loaded from /snapshot/cli/plugins/lando-recipes/app.js
lando        22:50:37 DEBUG ==> plugin lando-services loaded from /snapshot/cli/plugins/lando-services/app.js
lando        22:50:37 DEBUG ==> plugin lando-sharing loaded from /snapshot/cli/plugins/lando-sharing/app.js
lando        22:50:37 DEBUG ==> plugin lando-tooling loaded from /snapshot/cli/plugins/lando-tooling/app.js
lando        22:50:37 DEBUG ==> plugin @lando/acquia loaded from /snapshot/cli/node_modules/@lando/acquia/app.js
lando        22:50:37 DEBUG ==> plugin @lando/lagoon loaded from /snapshot/cli/node_modules/@lando/lagoon/app.js
lando        22:50:37 DEBUG ==> plugin @lando/pantheon loaded from /snapshot/cli/node_modules/@lando/pantheon/app.js
lando        22:50:37 DEBUG ==> plugin @lando/platformsh loaded from /snapshot/cli/node_modules/@lando/platformsh/app.js
localconnect 22:50:37 DEBUG ==> emitting event pre-init
localconnect 22:50:37 VERBOSE ==> building acquia recipe named
lando        22:50:37 VERBOSE ==> proxy is ON.
lando        22:50:37 VERBOSE ==> Setting the default proxy certificate /certs/cert.crt
localconnect 22:50:37 VERBOSE ==> building php service appserver
localconnect 22:50:37 VERBOSE ==> building mysql service database
localconnect 22:50:37 VERBOSE ==> building memcached service cache
localconnect 22:50:37 VERBOSE ==> building mailhog service inbox
localconnect 22:50:37 DEBUG ==> emitting event post-init
localconnect 22:50:37 DEBUG ==> adding hostnames to the app...
localconnect 22:50:37 DEBUG ==> hostnames added to appserver 0=appserver.localconnect.internal
localconnect 22:50:37 DEBUG ==> hostnames added to database 0=database.localconnect.internal
localconnect 22:50:37 DEBUG ==> hostnames added to cache 0=cache.localconnect.internal
localconnect 22:50:37 DEBUG ==> hostnames added to inbox 0=inbox.localconnect.internal
localconnect 22:50:37 VERBOSE ==> attempting to find open services...
lando        22:50:37 DEBUG ==> engine is up.
lando        22:50:37 DEBUG ==> docker is running.
lando        22:50:37 VERBOSE ==> checking docker version compatibility...
lando        22:50:37 DEBUG ==> compatibility results name=desktop, link=https://docs.docker.com/docker-for-mac/release-notes/, wants=2.1.0.0 - 3.6.99, version=4.20.1, semversion=4.20.1, semmin=2.1.0, semmax=3.6.99, dockerVersion=true, satisfied=false
localconnect 22:50:37 DEBUG ==> engine is up.
localconnect 22:50:38 VERBOSE ==> refreshing certificates... 0=appserver, 1=database, 2=cache, 3=inbox
localconnect 22:50:38 VERBOSE ==> perm sweeping flagged non-root containers ... 0=database
localconnect 22:50:38 VERBOSE ==> analyzing user ssh keys... using 14 of 14
localconnect 22:50:38 DEBUG ==> key config...  none
localconnect 22:50:38 VERBOSE ==> You have a lot of keys!
localconnect 22:50:38 VERBOSE ==> additional tooling detected
localconnect 22:50:38 DEBUG ==> adding app cli task composer
localconnect 22:50:38 DEBUG ==> adding app cli task db-import <file>
localconnect 22:50:38 DEBUG ==> adding app cli task db-export [file]
localconnect 22:50:38 DEBUG ==> adding app cli task php
localconnect 22:50:38 DEBUG ==> adding app cli task mysql
localconnect 22:50:38 DEBUG ==> adding app cli task drush
localconnect 22:50:38 DEBUG ==> adding app cli task acli
localconnect 22:50:38 DEBUG ==> adding app cli task pull
localconnect 22:50:38 DEBUG ==> adding app cli task push
localconnect 22:50:38 DEBUG ==> adding app cli task blt
localconnect 22:50:38 DEBUG ==> adding app cli task build-theme
localconnect 22:50:38 DEBUG ==> adding app cli task xdebug-on
localconnect 22:50:38 DEBUG ==> adding app cli task xdebug-off
localconnect 22:50:38 VERBOSE ==> setting LANDO_INFO...
localconnect 22:50:38 DEBUG ==> ensuring exposed ports on appserver are bound to 127.0.0.1
localconnect 22:50:38 DEBUG ==> ensuring exposed ports on appserver are bound to 127.0.0.1
localconnect 22:50:38 DEBUG ==> ensuring exposed ports on database are bound to 127.0.0.1
localconnect 22:50:38 DEBUG ==> ensuring exposed ports on cache are bound to 127.0.0.1
localconnect 22:50:38 DEBUG ==> ensuring exposed ports on inbox are bound to 127.0.0.1
localconnect 22:50:38 DEBUG ==> ensuring exposed ports on inbox are bound to 127.0.0.1
localconnect 22:50:38 VERBOSE ==> app is ready!
localconnect 22:50:38 DEBUG ==> emitting event ready
localconnect 22:50:38 VERBOSE ==> discovering dynamic portforward info...
? Pull code from? none
? Pull database from? Dev, dev (vcs: pipelines-build-develop)
? Pull files from? none
lando        22:50:50 DEBUG ==> emitting event cli-run
lando        22:50:50 DEBUG ==> emitting event cli-pull-run
lando        22:50:50 INFO ==> loading app localconnect from config files 0=/Users/d/Sites/GitHub/myapp/.lando.yml
lando        22:50:50 DEBUG ==> app localconnect has config name=localconnect, recipe=acquia, acli_version=latest, ah_application_uuid=b9b1f9ff-21da-4b02-9a0f-ad7dc165bbfc, ah_site_group=myapp, php=8.1, composer_version=2, xdebug=true, php=config/php.ini, PHP_IDE_CONFIG=serverName=localconnect.mdvip.com, run=[touch ~/.bashrc, curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash, . ~/.bashrc, /app/scripts/theme_build.sh], env_file=[.env], service=appserver, cmd=/app/vendor/bin/blt, service=appserver, description=Build theme, cmd=/app/scripts/theme_build.sh, service=appserver, cmd=/app/vendor/bin/drush --root=/app/docroot, service=appserver, description=Enable xdebug for apache., cmd=docker-php-ext-enable xdebug && /etc/init.d/apache2 reload, user=root, service=appserver, description=Disable xdebug for apache., cmd=rm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && /etc/init.d/apache2 reload, user=root, appserver=[localconnect.mdvip.com]
lando        22:50:50 DEBUG ==> emitting event pre-app-runner
lando        22:50:50 DEBUG ==> emitting event pre-command-runner
localconnect 22:50:50 VERBOSE ==> initiatilizing app at /Users/d/Sites/GitHub/myapp...
lando        22:50:50 DEBUG ==> plugin lando-core loaded from /snapshot/cli/plugins/lando-core/app.js
lando        22:50:50 DEBUG ==> plugin lando-events loaded from /snapshot/cli/plugins/lando-events/app.js
lando        22:50:50 DEBUG ==> plugin lando-networking loaded from /snapshot/cli/plugins/lando-networking/app.js
localconnect 22:50:50 VERBOSE ==> proxy settings detected.
lando        22:50:50 DEBUG ==> plugin lando-proxy loaded from /snapshot/cli/plugins/lando-proxy/app.js
lando        22:50:50 DEBUG ==> plugin lando-recipes loaded from /snapshot/cli/plugins/lando-recipes/app.js
lando        22:50:50 DEBUG ==> plugin lando-services loaded from /snapshot/cli/plugins/lando-services/app.js
lando        22:50:50 DEBUG ==> plugin lando-sharing loaded from /snapshot/cli/plugins/lando-sharing/app.js
lando        22:50:50 DEBUG ==> plugin lando-tooling loaded from /snapshot/cli/plugins/lando-tooling/app.js
lando        22:50:50 DEBUG ==> plugin @lando/acquia loaded from /snapshot/cli/node_modules/@lando/acquia/app.js
lando        22:50:50 DEBUG ==> plugin @lando/lagoon loaded from /snapshot/cli/node_modules/@lando/lagoon/app.js
lando        22:50:50 DEBUG ==> plugin @lando/pantheon loaded from /snapshot/cli/node_modules/@lando/pantheon/app.js
lando        22:50:50 DEBUG ==> plugin @lando/platformsh loaded from /snapshot/cli/node_modules/@lando/platformsh/app.js
localconnect 22:50:50 DEBUG ==> emitting event pre-init
localconnect 22:50:50 VERBOSE ==> building acquia recipe named
lando        22:50:50 VERBOSE ==> proxy is ON.
lando        22:50:50 VERBOSE ==> Setting the default proxy certificate /certs/cert.crt
localconnect 22:50:50 VERBOSE ==> building php service appserver
localconnect 22:50:50 VERBOSE ==> building mysql service database
localconnect 22:50:50 VERBOSE ==> building memcached service cache
localconnect 22:50:50 VERBOSE ==> building mailhog service inbox
localconnect 22:50:50 DEBUG ==> emitting event post-init
localconnect 22:50:50 DEBUG ==> adding hostnames to the app...
localconnect 22:50:50 DEBUG ==> hostnames added to appserver 0=appserver.localconnect.internal
localconnect 22:50:50 DEBUG ==> hostnames added to database 0=database.localconnect.internal
localconnect 22:50:50 DEBUG ==> hostnames added to cache 0=cache.localconnect.internal
localconnect 22:50:50 DEBUG ==> hostnames added to inbox 0=inbox.localconnect.internal
localconnect 22:50:50 VERBOSE ==> attempting to find open services...
localconnect 22:50:51 DEBUG ==> engine is up.
localconnect 22:50:51 VERBOSE ==> refreshing certificates... 0=appserver, 1=database, 2=cache, 3=inbox
localconnect 22:50:51 VERBOSE ==> perm sweeping flagged non-root containers ... 0=database
localconnect 22:50:51 VERBOSE ==> analyzing user ssh keys... using 14 of 14
localconnect 22:50:51 DEBUG ==> key config...  none
localconnect 22:50:51 VERBOSE ==> You have a lot of keys!
localconnect 22:50:51 VERBOSE ==> additional tooling detected
localconnect 22:50:51 DEBUG ==> adding app cli task composer
localconnect 22:50:51 DEBUG ==> adding app cli task db-import <file>
localconnect 22:50:51 DEBUG ==> adding app cli task db-export [file]
localconnect 22:50:51 DEBUG ==> adding app cli task php
localconnect 22:50:51 DEBUG ==> adding app cli task mysql
localconnect 22:50:51 DEBUG ==> adding app cli task drush
localconnect 22:50:51 DEBUG ==> adding app cli task acli
localconnect 22:50:51 DEBUG ==> adding app cli task pull
localconnect 22:50:51 DEBUG ==> adding app cli task push
localconnect 22:50:51 DEBUG ==> adding app cli task blt
localconnect 22:50:51 DEBUG ==> adding app cli task build-theme
localconnect 22:50:51 DEBUG ==> adding app cli task xdebug-on
localconnect 22:50:51 DEBUG ==> adding app cli task xdebug-off
localconnect 22:50:51 VERBOSE ==> setting LANDO_INFO...
localconnect 22:50:51 DEBUG ==> ensuring exposed ports on appserver are bound to 127.0.0.1
localconnect 22:50:51 DEBUG ==> ensuring exposed ports on appserver are bound to 127.0.0.1
localconnect 22:50:51 DEBUG ==> ensuring exposed ports on database are bound to 127.0.0.1
localconnect 22:50:51 DEBUG ==> ensuring exposed ports on cache are bound to 127.0.0.1
localconnect 22:50:51 DEBUG ==> ensuring exposed ports on inbox are bound to 127.0.0.1
localconnect 22:50:51 DEBUG ==> ensuring exposed ports on inbox are bound to 127.0.0.1
localconnect 22:50:51 VERBOSE ==> app is ready!
localconnect 22:50:51 DEBUG ==> emitting event ready
localconnect 22:50:51 VERBOSE ==> discovering dynamic portforward info...
localconnect 22:50:51 DEBUG ==> emitting event pre-pull
localconnect 22:50:51 DEBUG ==> process pid7 running /Applications/Docker.app/Contents/Resources/bin/docker exec localconnect_appserver_1 /helpers/acquia-pull.sh cstdio=[inherit, pipe, pipe], silent=false, mode=attach, detached=false
--
Saved credentials
    โœ” Destroying all current tables in local database if needed...

In PullCommandBase.php line 334:

  Unable to connect to local database using credentials mysql:://drupal:drupal@localhost/drupal. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2)


pull:database [--no-scripts] [--on-demand] [--no-import] [--multiple-dbs] [--] [<environmentId> [<site>]]



 [help] You can find Acquia CLI documentation at https://docs.acquia.com/acquia-cli/

        You can submit a support ticket at https://support-acquia.force.com/s/contactsupport
        Re-run the command with the -vvv flag and include the full command output in your
        support ticket.


localconnect 22:50:52 DEBUG ==> process pid7 finished with exit code 1

================= lando drush sql:query =====================

(base) d@D-001 myapp % lando drush sql:query -vvv

  __  __        __     __        ___            _ __     __   __    ______
 / / / /__  ___/ /__ _/ /____   / _ |_  _____ _(_) /__ _/ /  / /__ / / / /
/ /_/ / _ \/ _  / _ `/ __/ -_) / __ | |/ / _ `/ / / _ `/ _ \/ / -_)_/_/_/
\____/ .__/\_,_/\_,_/\__/\__/ /_/ |_|___/\_,_/_/_/\_,_/_.__/_/\__(_|_|_)
    /_/

Updating helps us provide the best support and saves us tons of time

Use the link below to get the latest and greatest
https://github.com/lando/lando/releases/tag/v3.18.0

Lando is FREE and OPEN SOURCE software that relies on contributions from developers like you!
If you like Lando then help us spend more time making, updating and supporting it by contributing at the link below
https://github.com/sponsors/lando

If you would like to customize the behavior of this message then check out:
https://docs.lando.dev/config/releases.html
lando 23:04:28 VERBOSE ==> starting bootstrap at level engine...
lando 23:04:28 VERBOSE ==> config bootstrap beginning...
lando 23:04:28 DEBUG ==> emitting event pre-bootstrap-config
lando 23:04:28 DEBUG ==> plugin lando-core loaded from /snapshot/cli/plugins/lando-core/index.js
lando 23:04:28 DEBUG ==> plugin lando-events loaded from /snapshot/cli/plugins/lando-events/index.js
lando 23:04:28 DEBUG ==> plugin lando-networking loaded from /snapshot/cli/plugins/lando-networking/index.js
lando 23:04:28 DEBUG ==> plugin lando-proxy loaded from /snapshot/cli/plugins/lando-proxy/index.js
lando 23:04:28 DEBUG ==> plugin lando-recipes loaded from /snapshot/cli/plugins/lando-recipes/index.js
lando 23:04:28 DEBUG ==> plugin lando-services loaded from /snapshot/cli/plugins/lando-services/index.js
lando 23:04:28 DEBUG ==> plugin lando-sharing loaded from /snapshot/cli/plugins/lando-sharing/index.js
lando 23:04:28 DEBUG ==> plugin lando-test loaded from /snapshot/cli/plugins/lando-test/index.js
lando 23:04:28 DEBUG ==> plugin lando-tooling loaded from /snapshot/cli/plugins/lando-tooling/index.js
lando 23:04:28 DEBUG ==> plugin @lando/acquia loaded from /snapshot/cli/node_modules/@lando/acquia/index.js
lando 23:04:28 DEBUG ==> plugin @lando/apache loaded from /snapshot/cli/node_modules/@lando/apache/index.js
lando 23:04:28 DEBUG ==> plugin @lando/backdrop loaded from /snapshot/cli/node_modules/@lando/backdrop/index.js
lando 23:04:28 DEBUG ==> plugin @lando/compose loaded from /snapshot/cli/node_modules/@lando/compose/index.js
lando 23:04:28 DEBUG ==> plugin @lando/dotnet loaded from /snapshot/cli/node_modules/@lando/dotnet/index.js
lando 23:04:28 DEBUG ==> plugin @lando/drupal loaded from /snapshot/cli/node_modules/@lando/drupal/index.js
lando 23:04:28 DEBUG ==> plugin @lando/elasticsearch loaded from /snapshot/cli/node_modules/@lando/elasticsearch/index.js
lando 23:04:28 DEBUG ==> plugin @lando/go loaded from /snapshot/cli/node_modules/@lando/go/index.js
lando 23:04:28 DEBUG ==> plugin @lando/joomla loaded from /snapshot/cli/node_modules/@lando/joomla/index.js
lando 23:04:28 DEBUG ==> plugin @lando/lagoon loaded from /snapshot/cli/node_modules/@lando/lagoon/index.js
lando 23:04:28 DEBUG ==> plugin @lando/lamp loaded from /snapshot/cli/node_modules/@lando/lamp/index.js
lando 23:04:28 DEBUG ==> plugin @lando/laravel loaded from /snapshot/cli/node_modules/@lando/laravel/index.js
lando 23:04:28 DEBUG ==> plugin @lando/lemp loaded from /snapshot/cli/node_modules/@lando/lemp/index.js
lando 23:04:28 DEBUG ==> plugin @lando/mailhog loaded from /snapshot/cli/node_modules/@lando/mailhog/index.js
lando 23:04:28 DEBUG ==> plugin @lando/mariadb loaded from /snapshot/cli/node_modules/@lando/mariadb/index.js
lando 23:04:28 DEBUG ==> plugin @lando/mean loaded from /snapshot/cli/node_modules/@lando/mean/index.js
lando 23:04:28 DEBUG ==> plugin @lando/memcached loaded from /snapshot/cli/node_modules/@lando/memcached/index.js
lando 23:04:28 DEBUG ==> plugin @lando/mongo loaded from /snapshot/cli/node_modules/@lando/mongo/index.js
lando 23:04:28 DEBUG ==> plugin @lando/mssql loaded from /snapshot/cli/node_modules/@lando/mssql/index.js
lando 23:04:28 DEBUG ==> plugin @lando/mysql loaded from /snapshot/cli/node_modules/@lando/mysql/index.js
lando 23:04:28 DEBUG ==> plugin @lando/nginx loaded from /snapshot/cli/node_modules/@lando/nginx/index.js
lando 23:04:28 DEBUG ==> plugin @lando/node loaded from /snapshot/cli/node_modules/@lando/node/index.js
lando 23:04:28 DEBUG ==> plugin @lando/pantheon loaded from /snapshot/cli/node_modules/@lando/pantheon/index.js
lando 23:04:28 DEBUG ==> plugin @lando/php loaded from /snapshot/cli/node_modules/@lando/php/index.js
lando 23:04:28 DEBUG ==> plugin @lando/phpmyadmin loaded from /snapshot/cli/node_modules/@lando/phpmyadmin/index.js
lando 23:04:28 DEBUG ==> plugin @lando/platformsh loaded from /snapshot/cli/node_modules/@lando/platformsh/index.js
lando 23:04:28 DEBUG ==> plugin @lando/postgres loaded from /snapshot/cli/node_modules/@lando/postgres/index.js
lando 23:04:28 DEBUG ==> plugin @lando/python loaded from /snapshot/cli/node_modules/@lando/python/index.js
lando 23:04:28 DEBUG ==> plugin @lando/redis loaded from /snapshot/cli/node_modules/@lando/redis/index.js
lando 23:04:28 DEBUG ==> plugin @lando/ruby loaded from /snapshot/cli/node_modules/@lando/ruby/index.js
lando 23:04:28 DEBUG ==> plugin @lando/solr loaded from /snapshot/cli/node_modules/@lando/solr/index.js
lando 23:04:28 DEBUG ==> plugin @lando/symfony loaded from /snapshot/cli/node_modules/@lando/symfony/index.js
lando 23:04:28 DEBUG ==> plugin @lando/tomcat loaded from /snapshot/cli/node_modules/@lando/tomcat/index.js
lando 23:04:28 DEBUG ==> plugin @lando/varnish loaded from /snapshot/cli/node_modules/@lando/varnish/index.js
lando 23:04:28 DEBUG ==> plugin @lando/wordpress loaded from /snapshot/cli/node_modules/@lando/wordpress/index.js
lando 23:04:28 DEBUG ==> emitting event post-bootstrap-config
lando 23:04:28 VERBOSE ==> building proxy config...
lando 23:04:28 VERBOSE ==> config bootstrap completed.
lando 23:04:28 VERBOSE ==> tasks bootstrap beginning...
lando 23:04:28 DEBUG ==> emitting event pre-bootstrap-tasks
lando 23:04:28 DEBUG ==> autoloaded task config
lando 23:04:28 DEBUG ==> autoloaded task destroy
lando 23:04:28 DEBUG ==> autoloaded task info
lando 23:04:28 DEBUG ==> autoloaded task list
lando 23:04:28 DEBUG ==> autoloaded task logs
lando 23:04:28 DEBUG ==> autoloaded task poweroff
lando 23:04:28 DEBUG ==> autoloaded task rebuild
lando 23:04:28 DEBUG ==> autoloaded task restart
lando 23:04:28 DEBUG ==> autoloaded task share
lando 23:04:28 DEBUG ==> autoloaded task start
lando 23:04:28 DEBUG ==> autoloaded task stop
lando 23:04:28 DEBUG ==> autoloaded task version
lando 23:04:28 DEBUG ==> autoloaded task init
lando 23:04:28 DEBUG ==> autoloaded task ssh
lando 23:04:28 DEBUG ==> emitting event post-bootstrap-tasks
lando 23:04:28 VERBOSE ==> tasks bootstrap completed.
lando 23:04:28 VERBOSE ==> engine bootstrap beginning...
lando 23:04:28 DEBUG ==> emitting event pre-bootstrap-engine
lando 23:04:28 DEBUG ==> automoved scripts from /snapshot/cli/plugins/lando-core/scripts to /Users/d/.lando/scripts and set to mode 755
lando 23:04:28 DEBUG ==> automoved scripts from /snapshot/cli/plugins/lando-proxy/scripts to /Users/d/.lando/scripts and set to mode 755
lando 23:04:28 DEBUG ==> automoved scripts from /snapshot/cli/plugins/lando-recipes/scripts to /Users/d/.lando/scripts and set to mode 755
lando 23:04:28 DEBUG ==> automoved scripts from /snapshot/cli/plugins/lando-services/scripts to /Users/d/.lando/scripts and set to mode 755
lando 23:04:28 DEBUG ==> automoved scripts from /snapshot/cli/plugins/lando-sharing/scripts to /Users/d/.lando/scripts and set to mode 755
lando 23:04:28 DEBUG ==> automoved scripts from /snapshot/cli/node_modules/@lando/acquia/scripts to /Users/d/.lando/scripts and set to mode 755
lando 23:04:28 DEBUG ==> automoved scripts from /snapshot/cli/node_modules/@lando/lagoon/scripts to /Users/d/.lando/scripts and set to mode 755
lando 23:04:28 DEBUG ==> automoved scripts from /snapshot/cli/node_modules/@lando/pantheon/scripts to /Users/d/.lando/scripts and set to mode 755
lando 23:04:28 DEBUG ==> automoved scripts from /snapshot/cli/node_modules/@lando/platformsh/scripts to /Users/d/.lando/scripts and set to mode 755
lando 23:04:28 DEBUG ==> emitting event post-bootstrap-engine
lando 23:04:28 VERBOSE ==> engine bootstrap completed.
lando 23:04:28 VERBOSE ==> bootstrap completed.
lando 23:04:28 DEBUG ==> emitting event post-bootstrap
lando 23:04:28 VERBOSE ==> docker-engine exists: true
lando 23:04:28 VERBOSE ==> docker-compose exists: true
lando 23:04:28 DEBUG ==> emitting event cli-answers
lando 23:04:28 DEBUG ==> emitting event cli-drush-answers
lando 23:04:28 DEBUG ==> emitting event cli-run
lando 23:04:28 DEBUG ==> emitting event cli-drush-run
lando 23:04:28 DEBUG ==> emitting event pre-command-runner
lando 23:04:28 DEBUG ==> emitting event pre-drush
lando 23:04:28 DEBUG ==> process pid5 running /Applications/Docker.app/Contents/Resources/bin/docker exec localconnect_appserver_1 /app/vendor/bin/drush sql:query cstdio=[inherit, pipe, pipe], silent=false, mode=attach, detached=false
lando 23:04:28 VERBOSE ==> checking docker version compatibility...
lando 23:04:28 DEBUG ==> compatibility results name=desktop, link=https://docs.docker.com/docker-for-mac/release-notes/, wants=2.1.0.0 - 3.6.99, version=4.20.1, semversion=4.20.1, semmin=2.1.0, semmax=3.6.99, dockerVersion=true, satisfied=false
lando 23:04:28 DEBUG ==> engine is up.
                                       lando 23:04:28 DEBUG ==> docker is running.
                                                                                    [preflight] Config paths: /app/vendor/drush/drush/drush.yml,/app/drush/drush.yml
 [preflight] Alias paths: /app/docroot/drush/sites,/app/drush/sites
 [preflight] Commandfile search paths: /app/vendor/drush/drush/src,/app/drush
 [info] Starting bootstrap to max [0.17 sec, 9.68 MB]
 [info] Drush bootstrap phase: bootstrapDrupalRoot() [0.17 sec, 9.68 MB]
 [info] Change working directory to /app/docroot [0.17 sec, 9.68 MB]
 [info] Initialized Drupal 9.5.9 root directory at /app/docroot [0.17 sec, 9.68 MB]
 [info] Drush bootstrap phase: bootstrapDrupalSite() [0.17 sec, 9.7 MB]
 [debug] Could not find a Drush config file at sites/default/drush.yml. [0.18 sec, 9.94 MB]
 [info] Initialized Drupal site default at sites/default [0.18 sec, 9.94 MB]
 [info] Drush bootstrap phase: bootstrapDrupalConfiguration() [0.18 sec, 9.94 MB]
 [debug] Add service modifier [0.18 sec, 10.16 MB]
 [info] Executing: command -v mysql [0.19 sec, 10.68 MB]
 [info] sql:query:  [0.2 sec, 10.8 MB]
 [info] Executing: mysql --defaults-file=/tmp/drush_djQeLw --database=acquia --host=database --port=3306 --silent -A < /tmp/drush_t40YJw [0.2 sec, 10.8 MB]

lando 23:04:28 DEBUG ==> process pid5 finished with exit code 0
lando 23:04:28 DEBUG ==> emitting event post-drush
lando 23:04:28 DEBUG ==> emitting event before-end
(base) d@D-001 myapp %

`lando pull` should pass in flags to acli, at the least the `--on-demand` flag

The lando pull command works great but it seems that it doesn't pass in flags that are available. Due to the output provided by acli it is seemingly confusing why the flags passed in won't work as well.

% lando pull
If you would like to customize the behavior of this message then check out:
https://docs.lando.dev/config/releases.html
? Pull code from? none
? Pull database from? Dev, dev (vcs: pipelines-build-development)
? Pull files from? Dev, dev (vcs: pipelines-build-development)
--
The following Cloud Platform API key is active:....

 [INFO] Using a database backup that is 21 hours old. Backup #269581476 was created at Fri Dec 21 3:47:05 UTC 2023.      
                                                                                                                        
        You can view your backups here: https://cloud.acquia.com/a/environments/.../databases
                                                                                                                        
        To generate a new backup, re-run this command with the --on-demand option.

As seen here the acli command outputs the detail about the --on-demand flag. That said, it was a bit confusing at first when that flag had no affect on the command. I realized however and would like to request that we be able to pass in that flag to lando pull and it will subsequently pass it into acli.

Can't Use Acquia Recipe "ERROR ==> Cannot read property 'hostname' of null "

I'm getting following error everytime i try Acquia recipe:

Creating network "landocasetupkenobi38ahsoka81a726e3273c2c9d05c5c06cd6e8c22168069de3_default" with the default driver
Creating volume "landocasetupkenobi38ahsoka81a726e3273c2c9d05c5c06cd6e8c22168069de3_data_ca" with default driver
Creating volume "landocasetupkenobi38ahsoka81a726e3273c2c9d05c5c06cd6e8c22168069de3_home_ca" with default driver
Creating landocasetupkenobi38ahsoka81a726e3273c2c9d05c5c06cd6e8c22168069de3_ca_1 ... done
setupca 06:44:46.70 INFO  ==> Looks like you do not have a Lando CA yet! Let's set one up!
setupca 06:44:46.70 INFO  ==> Trying to setup root CA with...
setupca 06:44:46.71 INFO  ==> LANDO_CA_CERT: /lando/certs/lndo.site.pem
setupca 06:44:46.71 INFO  ==> LANDO_CA_KEY: /lando/certs/lndo.site.key
setupca 06:44:46.71 INFO  ==> /lando/certs/lndo.site.pem not found... generating one
Generating RSA private key, 2048 bit long modulus (2 primes)
....+++++
...................................................................................................................+++++
e is 65537 (0x010001)
setupca 06:44:47.03 INFO  ==> /lando/certs/lndo.site.pem not found... generating one
setupca 06:44:47.08 INFO  ==> CA generated at /lando/certs/lndo.site.pem
Killing landocasetupkenobi38ahsoka81a726e3273c2c9d05c5c06cd6e8c22168069de3_ca_1 ... done
Going to remove landocasetupkenobi38ahsoka81a726e3273c2c9d05c5c06cd6e8c22168069de3_ca_1
Removing landocasetupkenobi38ahsoka81a726e3273c2c9d05c5c06cd6e8c22168069de3_ca_1 ... done
WARN ==> Version 1 Landonet detected, attempting upgrade... 
Creating network "landoproxyhyperion5000gandalfedition_edge" with driver "bridge"
Creating volume "landoproxyhyperion5000gandalfedition_proxy_config" with default driver
Creating volume "landoproxyhyperion5000gandalfedition_data_proxy" with default driver
Creating volume "landoproxyhyperion5000gandalfedition_home_proxy" with default driver
Pulling proxy (traefik:2.2.0)...
2.2.0: Pulling from library/traefik
cbdbe7a5bc2a: Already exists
f16506d32a25: Pull complete
2d2982f034f0: Pull complete
b731cd68f421: Pull complete
Digest: sha256:c32f75bfba23b0d22d4ee378e32833525cb0c85e971f7cae3bdb29d25586dba2
Status: Downloaded newer image for traefik:2.2.0
Creating landoproxyhyperion5000gandalfedition_proxy_1 ... done
ERROR ==> Cannot read property 'hostname' of null 
Creating network "bookmark_default" with the default driver
Creating volume "bookmark_data_appserver_nginx" with default driver
Creating volume "bookmark_home_appserver_nginx" with default driver
Creating volume "bookmark_data_appserver" with default driver
Creating volume "bookmark_home_appserver" with default driver
Creating volume "bookmark_data_database" with default driver
Creating volume "bookmark_home_database" with default driver
Creating volume "bookmark_data_cache" with default driver
Creating volume "bookmark_home_cache" with default driver
Creating volume "bookmark_data_inbox" with default driver
Creating volume "bookmark_home_inbox" with default driver
Creating volume "bookmark_data_edge" with default driver
Creating volume "bookmark_home_edge_ssl" with default driver
Creating volume "bookmark_home_edge" with default driver
Pulling appserver (devwithlando/php:7.4-fpm-3)...
7.4-fpm-3: Pulling from devwithlando/php
b380bbd43752: Already exists
2678eeaa3904: Pull complete
0f3fa9897c65: Pull complete
811790ff3537: Pull complete
916158d991e9: Pull complete
9e0eb555b358: Pull complete
56bcc979f13d: Pull complete
3966e30f0633: Pull complete
9750f6cfc07a: Pull complete
79a8805fe1ff: Pull complete

It can't start properly. Apparently, lando proxy can't read my hostname...

Unable to start lando in github actions

Here is the error we get:

Run lando start -v


/ / / / / |/ /__ ___ / / / / / / _____ / /
/ // / / / -) -) _ / \ / -) __/ // / _ //
_/ //|/_/_/_,/ //_/_/_,/ .__()
/
/

Lando has detected that it does not have all the dependencies it needs to run.
But FEAR NOT because we have a special hidden convenience command called lando setup
which will do the heavy lifting and set you right.

Run lando setup and when it completes try running Lando again.

If you get an error or have any issues we recommend you post an issue on
GitHub or ping us in our Slack channel!

โ—ผ Slack - https://launchpass.com/devwithlando
โ—ผ GitHub - https://github.com/lando/lando/issues/new/choose

Error: Process completed with exit code 1.

Command cache-rebuild needs a higher bootstrap level to run

I'm getting this error on fresh install, not sure if this error is part of the lando/acquia implementation.
Drupal 9 fresh installation on Acquia
Thank you

After fun:

  • Run lando init acquia
  • Run lando pull database
$  lando drush cr                                                                                                                        โŒ› 1m36s118ms
Command cache-rebuild needs a higher bootstrap level to run - you will need to invoke drush from a more functional Drupal environment to run this command.                                                                                           [error]
Command cache-rebuild requires Drupal core version 8+ to run.                                                                                                                                                                                        [error]
The drush command 'cr' could not be executed.                                                                                                                                                                                                        [error]
$  lando drush status                                                                                                                       โŒ› 1s871ms
 PHP configuration      :                       
 PHP OS                 :  Linux                
 Drush script           :  /usr/local/bin/drush 
 Drush version          :  8.4.8                
 Drush temp directory   :  /tmp                 
 Drush configuration    :                       
 Drush alias files      : 
  • Upgrade Drush to 11
$  lando drush cr                                                                                                                             โŒ› 712ms
In BootstrapHook.php line 36:                                              
  Bootstrap failed. Run your command with -vvv for more information.                                                     
$  lando drush status                 
PHP binary    : /usr/local/bin/php                
PHP OS        : Linux                             
Drush script  : /app/vendor/bin/drush             
Drush version : 11.0.7                            
Drush temp    : /tmp                              
Drush configs : /app/vendor/drush/drush/drush.yml 
$  lando drush cr -vvv 
In BootstrapHook.php line 36:
                                                                      
  [Exception]                                                         
  Bootstrap failed. Run your command with -vvv for more information.  
                                                                      

Exception trace:
  at /app/vendor/drush/drush/src/Boot/BootstrapHook.php:36
 Drush\Boot\BootstrapHook->initialize() at /app/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php:44
 Consolidation\AnnotatedCommand\Hooks\Dispatchers\InitializeHookDispatcher->doInitializeHook() at /app/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php:36
 Consolidation\AnnotatedCommand\Hooks\Dispatchers\InitializeHookDispatcher->callInitializeHook() at /app/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php:29
 Consolidation\AnnotatedCommand\Hooks\Dispatchers\InitializeHookDispatcher->initialize() at /app/vendor/consolidation/annotated-command/src/CommandProcessor.php:145
 Consolidation\AnnotatedCommand\CommandProcessor->initializeHook() at /app/vendor/consolidation/annotated-command/src/AnnotatedCommand.php:335
 Consolidation\AnnotatedCommand\AnnotatedCommand->initialize() at /app/vendor/symfony/console/Command/Command.php:264
 Symfony\Component\Console\Command\Command->run() at /app/vendor/symfony/console/Application.php:1033
 Symfony\Component\Console\Application->doRunCommand() at /app/vendor/symfony/console/Application.php:299
 Symfony\Component\Console\Application->doRun() at /app/vendor/symfony/console/Application.php:171
 Symfony\Component\Console\Application->run() at /app/vendor/drush/drush/src/Runtime/Runtime.php:121
 Drush\Runtime\Runtime->doRun() at /app/vendor/drush/drush/src/Runtime/Runtime.php:51
 Drush\Runtime\Runtime->run() at /app/vendor/drush/drush/drush.php:72
 require() at /app/vendor/drush/drush/drush:3
 include() at /app/vendor/bin/drush:112

lando 09:23:36 DEBUG ==> process pid4 finished with exit code 1 
lando 09:23:36 VERBOSE ==> reporting error action to report=true, url=https://metrics.lando.dev, report=true, url=https://metrics.lando.dev
lando 09:23:36 DEBUG ==> reported data command=lando drush,cr, context=local, devMode=false, instance=e050fad8a4a0a572fb442051451b399052ec3b00, nodeVersion=v14.17.2, mode=cli, type=Linux, platform=linux, release=5.13.0-39-generic, arch=x64, product=lando, version=3.6.2, message=, stack=Error
    at /snapshot/cli/lib/shell.js
From previous event:
    at Shell.sh (shell.js)
    at Object.dockerExec (utils.js)
    at /snapshot/cli/plugins/lando-tooling/lib/build.js
From previous event:
    at Object.run (build.js)
From previous event:
    at /snapshot/cli/lib/bootstrap.js
    at /snapshot/cli/lib/cli.js
From previous event:
    at /snapshot/cli/lib/cli.js
From previous event:
    at Object.handler (cli.js)
    at Object.runCommand (command.js:238:44)
    at Object.parseArgs [as _parseArgs] (yargs.js:1063:30)
    at Function.get [as argv] (yargs.js:1004:21)
    at Cli.init (cli.js)
    at Cli.run (cli.js)
    at Object.<anonymous> (lando.js)
    at Module._compile (bootstrap.js:1751:22)
    at Function.runMain (bootstrap.js:1804:12)
    at internal/main/run_main_module.js:17:47, action=error, created=2022-04-06T14:23:36.281Z
lando 09:23:36 VERBOSE ==> checking docker version compatibility... 
lando 09:23:36 DEBUG ==> compatibility results name=compose, link=https://docs.docker.com/compose/install/#install-compose-on-linux-systems, wants=1.23.0 - 1.30.0, version=1.29.2, semversion=1.29.2, semmin=1.23.0, semmax=1.30.0, dockerVersion=true, satisfied=true, name=engine, link=https://docs.docker.com/engine/install/, wants=18.09.3 - 20.10.99, version=20.10.14, semversion=20.10.14, semmin=18.9.3, semmax=20.10.99, dockerVersion=true, satisfied=true

Thank you

Acquia Integration QA Testing

  1. When the user selects a local token that has been deleted from Cloud, the resulting error is not clear: ERROR ==> Cannot read property 'filter' of undefined
  2. Add more helpful text to the Acquia specific options.
    • --acquia-app Acquia Cloud Platform Application UUID
    • --acquia-env Acquia Cloud Platform Environment ID
    • --acquia-key Acquia Cloud Platform API Token (key) UUID

lando acli: Permission denied (publickey).

I've been using lando acli for a while now and for security reasons I had to change my local public key.

I've added the new key to Acquia Cloud but lando acli is not picking it up.

My new key is working with acli i.e. acli remote:ssh server:env

Is there a way to refresh the key on lando acli? I tried creating and uploading the key via lando acli ssh-key:create-upload but an error shows up:

Unable to add the SSH key to local SSH agent:Could not open a connection to your authentication agent.

Lando won't start on Windows 10 after installation

The error I received after I ran lando init:

Unhandled rejection TypeError: Cannot create property 'key' on string 'a'
at C:\snapshot\lando\build\cli\integrations\lando-acquia\lib\utils.js
at C:\snapshot\lando\build\cli\node_modules\lodash\lodash.js:4943:15
at Function.forEach (C:\snapshot\lando\build\cli\node_modules\lodash\lodash.js:9410:14)
at Object.getHostKeys (C:\snapshot\lando\build\cli\integrations\lando-acquia\lib\utils.js)
at mergeKeys (C:\snapshot\lando\build\cli\integrations\lando-acquia\recipes\acquia\init.js)
at Object.options (C:\snapshot\lando\build\cli\integrations\lando-acquia\recipes\acquia\init.js)
at C:\snapshot\lando\build\cli\plugins\lando-recipes\lib\options.js
at arrayEach (C:\snapshot\lando\build\cli\node_modules\lodash\lodash.js:530:11)
at Function.forEach (C:\snapshot\lando\build\cli\node_modules\lodash\lodash.js:9410:14)
at Object.getConfigOptions (C:\snapshot\lando\build\cli\plugins\lando-recipes\lib\options.js)
at C:\snapshot\lando\build\cli\plugins\lando-recipes\tasks\init.js
at C:\snapshot\lando\build\cli\lib\lando.js
From previous event:
at processImmediate (internal/timers.js:456:21)

Please help. Thank you.

lando acli pull:db not working as expected

I tried searching the issues, but couldn't find the same issue I'm having. I've noticed an issue with the recent version of Lando (v3.6.0) that the lando acli pull:db does not work like it used to.

Whilst running it, I see this notice:

 ! [NOTE] Acquia CLI assumes that the Lando database name for the mtndecoupled database is mtndecoupled
โœ” Importing mtndecoupled database download

The default database created is setup with:

      user: acquia
      password: acquia
      database: acquia

I tried adding in my default database details, but it doesn't connect to the database when trying to run the command again. Neither does the Drupal site (can't connect to the database).

Adding the default database details in the .lando.yml file:

name: mtndecoupled
recipe: acquia
config:
  acli_version: master
  ah_site_group: mtndecoupled
  php: '7.4'
services:
  phpmyadmin:
    type: phpmyadmin
    hosts:
      - database
  database:
    type: mysql
    portforward: true
    creds:
      user: acquia
      password: acquia
      database: mtndecoupled

Not sure if I'm doing this correctly for config, any help would be appreciated on that.

The other solution seems to be working lando pull --code=none --database=dev --files=none which is great and might be more ideal to use, but just want to find out if this is the recommended way now so I can let my team know.

Lando pull doesn't recognize ACLI

After initializing lando on my acquia site, I went to run lando pull. I choose the code/database/files and it looks like it begins to pull but immediately flags this error:

/helpers/acquia-pull.sh: line 90: /usr/local/bin/acli: No such file or directory

I then downloaded the Acquia CLI using the documentation here. I ran lando rebuild and received error messages about
PHP Fatal error: Uncaught Error: Failed opening required '/app/vendor/composer/../../docroot/core/includes/bootstrap.inc'

but the rebuild still pushes through. After pulling again, I receive the same error about there not being a file or directory in acli.

This is what my lando.yml file looks like (removed the ah_application_uuid and ah_site_group):

recipe: acquia
config:
  webroot: ./docroot
  acli_version: latest
  php: '8.1'
services:
  appserver:
    type: 'php:8.1'

Acquia - Included software and utilities

Please complete the following steps.

Tell us about your setup

What is your lando version and operating system? (note that the older your version the less likely we are to reply)

v3.1.4 macOS Big Sur

Tell us about your .lando.yml

name: application
recipe: acquia
config:
  ah_application_uuid: 
  ah_site_group:

Tell us about the command you were running

lando start

Tell us about the error you got

Via lando logs

bash
appserver_1  | sh: 1: /usr/bin/jpegtran: not found

Tell us generally about your bug

The Acquia platform has a lot of built in programs and utilities available[1]

Your Cloud Platform server includes the following (non-complete) list of software packages:

APCu
ClamAV
Development tools (vim, emacs, gcc)
Drush 8 and 10 (default version: Drush 8)
FreeType
Git
Ghostscript
jpeg / libjpeg
jpegtran
OpenSSL
pngcrush
ssh2
sysdig
webp
xpm / libxpm

Acquia Cloud Platform includes the following programming languages for your convenience, without support or adding of more libraries:

C
Perl
PHP
Python
Ruby

Common Linux command-line utilities
Standard networking tools (including curl, wget, and traceroute)
Performance analysis tools (including ps, top, and strace)
Common PEAR and PECL libraries
Common PHP modules (including PDO, FreeTDS, OpenSSL, JSON, SOAP, curl, and XML). For detailed information, go to your Drupal websiteโ€™s PHP information page at /admin/reports/status/php

We have Drupal code that leverages these and they're not all available on the recipes which start causing issues that are hard to debug after just doing a lando start and expecting things to work.

Tell us more

Could better documentation have prevented this issue? if so what should we change?

No.

Does this bug prevent you from using lando?

No. It does make more custom code needed to get it closer to the environment Acquia provides.

Lando Acquia Integration Issues - Maddening

lando init
? From where should we get your app's codebase? acquia
? Enter an Acquia API token key, visit https://cloud.acquia.com/a/profile/tokens to create one [custom token goes here]
? Enter corresponding Acquia API token secret [hidden]
ERROR ==> Cannot read property 'data' of undefined

I can pull a new repo down using git but lando pull and/or lando rebuild are also impacted by this problem.

I am running lando 3.6.4. I've been able to replicate this problem on a completely new install on a Windows and Mac Computer from both an internal and external network. This rules out local machine issues, network issues and generally points to a problem with either lando and/or the Acquia integration. This worked in the past and I've not had issues before.

I walked through all the install instructions thoroughly. I also have opened an Acquia case regarding this issue: 00861474.

The application requires the version "^8.0" or greater.

Ubuntu 20.04.4 LTS
PHP (local) 7.4.29

I powered up a client's Drupal 8 Aquia BLT project today to be met with << The application requires the version "^8.0" or greater. >>

name: mggv2
recipe: acquia
config:
  acli_version: latest
  ah_application_uuid: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
  ah_site_group: mggv2
  php: 7.4
  xdebug: true
tooling:
  blt:
    service: appserver
    cmd: /app/vendor/bin/blt
services:
  appserver:
    type: php:7.4
    build_as_root:
      - apt update && apt install libgmp-dev -y && docker-php-ext-install gmp
      - docker-php-ext-enable gmp
    xdebug: "debug,develop"
    config:
      php: /app/config/php/php.ini/php74.ini
    overrides:
      environment:
        # Support debugging CLI with XDEBUG.
        PHP_IDE_CONFIG: "serverName=mggv2.lndo.site"
        XDEBUG_SESSION_START: lando

Updating both 7.4 refs to 8.1 and attempting to rebuild, produces :

PHP Parse error:  syntax error, unexpected token "match" in /app/vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/HtmlDiff.php on line 699

Parse error: syntax error, unexpected token "match" in /app/vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/HtmlDiff.php on line 699

ERROR ==>  message=, stack=Error
    at /snapshot/cli/lib/shell.js
From previous event:
    at Shell.sh (/snapshot/cli/lib/shell.js)
    at Object.dc (/snapshot/cli/lib/bootstrap.js)
    at compose (/snapshot/cli/lib/bootstrap.js)
From previous event:
    at /snapshot/cli/lib/router.js
    at processImmediate (internal/timers.js:464:21)
From previous event:
    at Object.run (/snapshot/cli/lib/router.js)
    at run (/snapshot/cli/lib/engine.js)
    at /snapshot/cli/lib/router.js
From previous event:
    at Object.eventWrapper (/snapshot/cli/lib/router.js)
    at Engine.engineCmd (/snapshot/cli/lib/engine.js)
    at Engine.run (/snapshot/cli/lib/engine.js)
    at Object.runBuild (/snapshot/cli/plugins/lando-services/lib/utils.js)
    at AsyncEvents.<anonymous> (/snapshot/cli/plugins/lando-services/app.js)
    at AsyncEvents.handle (/snapshot/cli/lib/events.js)
    at /snapshot/cli/lib/events.js
From previous event:
    at AsyncEvents.emit (/snapshot/cli/lib/events.js)
From previous event:
    at App.start (/snapshot/cli/lib/app.js)
    at /snapshot/cli/lib/app.js
From previous event:
    at App.rebuild (/snapshot/cli/lib/app.js)
    at Object.run (/snapshot/cli/plugins/lando-core/tasks/rebuild.js)
From previous event:
    at /snapshot/cli/lib/cli.js
From previous event:
    at Object.handler (/snapshot/cli/lib/cli.js)
    at Object.runCommand (/snapshot/cli/node_modules/yargs/lib/command.js:238:44)
    at Object.parseArgs [as _parseArgs] (/snapshot/cli/node_modules/yargs/yargs.js:1063:30)
    at Function.get [as argv] (/snapshot/cli/node_modules/yargs/yargs.js:1004:21)
    at Cli.init (/snapshot/cli/lib/cli.js)
    at Cli.run (/snapshot/cli/lib/cli.js)
    at Object.<anonymous> (/snapshot/cli/bin/lando.js)
    at Module._compile (pkg/prelude/bootstrap.js:1887:22)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Function.runMain (pkg/prelude/bootstrap.js:1940:12)
    at internal/main/run_main_module.js:17:47, __stackCleaned__=true

Have I entered vicious cycle territory? Any help would be very much appreciated! Thank you!

Mysql very slow on Lando

Hi,

I am using lando 3.5.1 with Acquia BLT. I see that performance of lando for mysql is very poor.
Can anyone please help me here?

Here is my .lando.yml file`

name: dep
recipe: drupal9
exclude:
  vendor
  docroot/modules/contrib
  docroot/themes/contrib
  docroot/themes/custom/dep/node_modules
  docroot/themes/custom/cbs/node_modules
config:
  webroot: docroot
  php: '7.4'
  via: apache
proxy:
  appserver:
    - demo.dep.local
  adminer:
    - adminer.dep.local
services:
  appserver:
    scanner: false
    build_as_root:
      - apt-get update
      - apt-get install libxss1
      - apt-get install libyaml-dev
      - pecl install yaml
      - docker-php-ext-enable yaml
      - echo "Run additional build commands here. Run lando rebuild after updating this file."
    overrides:
      environment:
        DRUSH_OPTIONS_URI: "http://demo.dep.local/"
      cap_add:
        - SYS_ADMIN
  demo_db:
    type: mysql:5.7
    portforward: true
    scanner: false
    creds:
      user: drupal
      password: drupal
      database: drupal_demo_dep_local
    config:
      database: config/mysql.cnf
  adminer:
    scanner: false
    type: compose
    services:
      image: dehy/adminer
      command: /bin/s6-svscan /etc/services.d
    portforward: true
tooling:
  blt:
    service: appserver
    cmd: /app/vendor/bin/blt

my mysql.cnf file

#
# The MySQL database server configuration file for Lando
#

[mysqld]
connect_timeout=1000
net_read_timeout=1000
net_write_timeout=1000

#
# * Basic Settings
#
# Data is stored in a volume on the db container /sql
default-storage-engine = innodb

#
# * Fine Tuning
#
key_buffer_size    = 384M
max_allowed_packet  = 500M
thread_stack    = 400K
thread_cache_size       = 8
# This replaces the startup script and checks MyISAM tables if needed
# the first time they are touched
#max_connections        = 100
#table_cache            = 64
#thread_concurrency     = 10
read_rnd_buffer_size = 8M
myisam_sort_buffer_size = 64M
table_open_cache = 512
sort_buffer_size = 2M
read_buffer_size = 2M

#
# * Query Cache Configuration
#
query_cache_limit = 1M
query_cache_size = 64M
#
# * Logging and Replication
#
# Both location gets rotated by the cronjob.
# Be aware that this log type is a performance killer.
# As of 5.1 you can enable the log at runtime!
#general_log_file        = /src/.lando/log/mysql.log
#general_log             = 1
#
# Error logging goes to syslog due to /etc/mysql/conf.d/mysqld_safe_syslog.cnf.
#
# Here you can see queries with especially long duration
#log_slow_queries = /var/log/mysql/mysql-slow.log
#long_query_time = 2
#log-queries-not-using-indexes
#
# The following can be used as easy to replay backup logs or for replication.
# note: if you are setting up a replication slave, see README.Debian about
#       other settings you may need to change.
#server-id    = 1
#log_bin      = /src/.lando/log/mysql-bin.log
expire_logs_days = 10
max_binlog_size = 100M
#binlog_do_db   = include_database_name
#binlog_ignore_db = include_database_name
#
# * InnoDB
#
# InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/.
# Read the manual for more InnoDB related options. There are many!
#
# Uncomment the following if you are using InnoDB tables
#innodb_data_file_path = ibdata1:2000M;ibdata2:10M:autoextend
#innodb_log_group_home_dir = C:\mysql\data/
# You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high
#innodb_buffer_pool_size = 384M
#innodb_additional_mem_pool_size = 20M
# Set .._log_file_size to 25 % of buffer pool size
innodb_log_file_size = 100M
#innodb_log_buffer_size = 8M
innodb_flush_log_at_trx_commit = 0
#innodb_lock_wait_timeout = 50
innodb_buffer_pool_size = 384M
innodb_log_buffer_size  = 4M
innodb_file_per_table   = 1
innodb_open_files       = 256
innodb_io_capacity      = 512
innodb_flush_method     = O_DIRECT
innodb_thread_concurrency = 8
innodb_lock_wait_timeout = 120
#
# * Security Features
#
# Read the manual, too, if you want chroot!
# chroot = /var/lib/mysql/
#
# For generating SSL certificates I recommend the OpenSSL GUI "tinyca".
#
# ssl-ca=/etc/mysql/cacert.pem
# ssl-cert=/etc/mysql/server-cert.pem
# ssl-key=/etc/mysql/server-key.pem

[mysqldump]
quick
quote-names
max_allowed_packet  = 500M

[mysql]
#no-auto-rehash # faster start of mysql but no tab completion

[isamchk]
key_buffer_size = 384M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M#
# The MySQL database server configuration file for Lando
#

[mysqld]
connect_timeout=1000
net_read_timeout=1000
net_write_timeout=1000

#
# * Basic Settings
#
# Data is stored in a volume on the db container /sql
default-storage-engine = innodb

#
# * Fine Tuning
#
key_buffer_size    = 384M
max_allowed_packet  = 500M
thread_stack    = 400K
thread_cache_size       = 8
# This replaces the startup script and checks MyISAM tables if needed
# the first time they are touched
#max_connections        = 100
#table_cache            = 64
#thread_concurrency     = 10
read_rnd_buffer_size = 8M
myisam_sort_buffer_size = 64M
table_open_cache = 512
sort_buffer_size = 2M
read_buffer_size = 2M

#
# * Query Cache Configuration
#
query_cache_limit = 1M
query_cache_size = 64M
#
# * Logging and Replication
#
# Both location gets rotated by the cronjob.
# Be aware that this log type is a performance killer.
# As of 5.1 you can enable the log at runtime!
#general_log_file        = /src/.lando/log/mysql.log
#general_log             = 1
#
# Error logging goes to syslog due to /etc/mysql/conf.d/mysqld_safe_syslog.cnf.
#
# Here you can see queries with especially long duration
#log_slow_queries = /var/log/mysql/mysql-slow.log
#long_query_time = 2
#log-queries-not-using-indexes
#
# The following can be used as easy to replay backup logs or for replication.
# note: if you are setting up a replication slave, see README.Debian about
#       other settings you may need to change.
#server-id    = 1
#log_bin      = /src/.lando/log/mysql-bin.log
expire_logs_days = 10
max_binlog_size = 100M
#binlog_do_db   = include_database_name
#binlog_ignore_db = include_database_name
#
# * InnoDB
#
# InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/.
# Read the manual for more InnoDB related options. There are many!
#
# Uncomment the following if you are using InnoDB tables
#innodb_data_file_path = ibdata1:2000M;ibdata2:10M:autoextend
#innodb_log_group_home_dir = C:\mysql\data/
# You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high
#innodb_buffer_pool_size = 384M
#innodb_additional_mem_pool_size = 20M
# Set .._log_file_size to 25 % of buffer pool size
innodb_log_file_size = 100M
#innodb_log_buffer_size = 8M
innodb_flush_log_at_trx_commit = 0
#innodb_lock_wait_timeout = 50
innodb_buffer_pool_size = 384M
innodb_log_buffer_size  = 4M
innodb_file_per_table   = 1
innodb_open_files       = 256
innodb_io_capacity      = 512
innodb_flush_method     = O_DIRECT
innodb_thread_concurrency = 8
innodb_lock_wait_timeout = 120
#
# * Security Features
#
# Read the manual, too, if you want chroot!
# chroot = /var/lib/mysql/
#
# For generating SSL certificates I recommend the OpenSSL GUI "tinyca".
#
# ssl-ca=/etc/mysql/cacert.pem
# ssl-cert=/etc/mysql/server-cert.pem
# ssl-key=/etc/mysql/server-key.pem

[mysqldump]
quick
quote-names
max_allowed_packet  = 500M

[mysql]
#no-auto-rehash # faster start of mysql but no tab completion

[isamchk]
key_buffer_size = 384M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M

OS: Windows 10.
Docker version: 3.6.0

acli - Add support for major version

Right now ACLI released a 2.0-alpha, but it requires PHP 8.

We are right now on 7.4, but requiring latest breaks.

Is it possible to add something like what composer has where you have the ability to add 1-latest?

Acquia test applications required to test

We would like to be able to test the following features but require access to existing apps, or the ability to re-create apps with these features. Apps configured by Acquia staff would be preferred to assure they represent common setups.

  • Multi-site
  • Memcached
  • Solr

acli executable not found

Hi, after installing lando 3.10.0 I get the following error:

$ lando acli pull:database
Error response from daemon: Container a8ee3458c816198c1547fe07af1cd28be53db8304e5c199bab7d68fcdd7142fb is not running
Starting iiedmain_appserver_1 ... done
OCI runtime exec failed: exec failed: unable to start container process: exec: "acli": executable file not found in $PATH: unknown

I've tried rebuilding, destroying and removing the docker containers but still can't run acli commands.

Acquia Recipe Performance Issues

Tell us about your setup

What is your lando version and operating system? (note that the older your version the less likely we are to reply)

  • Mac OS Catalina, 2.3 GHz 8-Core Intel Core i9 16gb Memory
  • Lando version 3.1.4
  • Docker Desktop version 3.3.3

Tell us about your .lando.yml

See https://github.com/Drupal4Gov/Drupal-GovCon-2017/blob/develop/.lando.yml

Tell us about the command you were running

This project has been using the drupal9 recipe for quite some time and we recently swapped to the Acquia recipe to help test. While things "work" what I'm noticing is that after running the VM / running commands in the VM (like automated tests, code linting, etc.) the VM just starts to crawl and becomes unresponsive. Pages won't load, commands seemingly silently fail (they just hang forever). If I destroy the VM and swap back to the drupal9 recipe I don't experience this. Nothing else changes other than the recipe (and the settings for the database, of course).

I've tried a fair bit of troubleshooting when this happens.... restart Lando, restart Docker, restart the computer, destroy and rebuild the vm, etc. The behavior is consistent with the Acquia recipe (and consistently not a problem with the drupal9 recipe).

Please detail the steps we can take to replicate this bug. Be as detailed as possible.

  1. Clone the govcon repository
  2. composer install
  3. lando start
  4. install all the things (lando blt setup)
  5. run / log into the site and browse around AND/OR run a command like lando blt validate. i typically start to see the issue within a few clicks in the UI or a minute or two into the validate run.

This bug is preventing me from using the acquia recipe.

Error when trying to initialize with Acquia recipe

MacOS 11.3.1
Docker Desktop 3.3.3
Lando 3.1.4

Having corrected my ACLI problem (thanks to Mike Milano), I got my "hello" application up and running under 3.1.4. I then tried initializing a project with the Acquia Cloud recipe:

% lando init --source acquia -v
? Enter an Acquia API key (obfuscated)
? Enter an Acquia API secret [hidden]
lando 09:41:24 ERROR ==> TypeError: Cannot read property 'data' of undefined
at /snapshot/lando/build/cli/integrations/lando-acquia/lib/api.js
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Same error occurs whether initializing an empty directory, or a directory into which I've already cloned a codebase from Acquia Cloud:

% lando init -v --source cwd --recipe acquia
? Enter an Acquia API key (obfuscated)
? Enter an Acquia API secret [hidden]
lando 09:40:00 ERROR ==> TypeError: Cannot read property 'data' of undefined
at /snapshot/lando/build/cli/integrations/lando-acquia/lib/api.js
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Lando Pull / ACLI Pull and multisites

Using the multisite approach defined on lando docs, ie, creating proxies for each multisite, there seems to be no way I can find to specify a Host in either the ACLI or Lando pull commands. This all means, I cannot automate pulling databases from acquia into a specific site, of a multisite install, afaik.

We used to work around this with a drush sql export/download, and a lando db-import, however, Acquia cloud next seems to have made doing that no longer feasable (cant seem to run a drush sql export/download anymore, per acquias docs).

Additionally, the closest ACLI operation to a SQL download, ACLI pull:db does not let you specify either a file name or location when using the --no-import flag, which would then allow us to import via lando db-import MY_FILE.sql --host MYSITE or similar, easily.

All this is to say, using multisites with acquia and lando is still extremely problematic, unless I am missing something here.

Is there a way, or any plans to allow the setting of host for these commands?

Lando missing dependencies for latest update of ACLI

When I try to run lando pull I am able to enter my Acquia API credentials but then I am presented with this error.

Box Requirements Checker
========================

> Using PHP 7.4.28
> PHP is using the following php.ini file:
  WARNING: No configuration file (php.ini) used by PHP!

> Checking Box requirements:
  ........E.


 [ERROR] Your system is not ready to run the application.


Fix the following mandatory requirements:
=========================================

 * The package "rlanvin/php-ip" requires the extension "gmp". Enable it or install a polyfill.

I know it is an error within the ACLI command, but it just looks like the container may be missing a dependency if I am understanding that correctly. Let me know if I am entirely off base.

I am using Lando v3.6.2 and my lando config is set up like this when running the command:

recipe: acquia
config:
  acli_version: latest
  ah_application_uuid: -----
  ah_site_group: ----
  php: '7.4'
  xdebug: true
  build:
    run_scripts: false

In order to fix it, I had to define the acli_version as 1.27.0. Let me know if there is anything else that I can provide that may help!

Acquia Recipe Always Uses Composer 2

I have an Acquia site that I'm trying to clone down into lando but the site needs Composer version ^1.0 and regardless of the version specified in the .lando.yml files' config.composer_version setting, it's still using version 2.0.12. I've tried destroying and rebuilding after updating the .lando.yml with several different values specified for the composer_version setting (I tried 1, '1', and '1.10.21') and it still used 2.0.12. I was able to get around this issue in my case by using the config.build.run_scripts: false option to disable acli pull:run-scripts which prevented it from using composer during the init step but I'm still curious as to why it wouldn't use version 1 based on my config.

Lando YML:

name: test
recipe: acquia
config:
  acli_version: master
  ah_application_uuid: // removed for security reasons
  ah_site_group: test
  php: '7.3'
  composer_version: 1

Minor PHP version and missing php.ini error

Test .lando.yml file.

name: 20240308-lando-lamp
recipe: acquia
config:
  ah_application_uuid: 123
  ah_site_group: 123
  webroot: .
  xdebug: 'develop,debug'

To reproduce, lando start,

Error:

Box Requirements Checker
========================

> Using PHP 7.4.33
> PHP is using the following php.ini file:
  WARNING: No configuration file (php.ini) used by PHP!

> Checking Box requirements:
  E................



 [ERROR] Your system is not ready to run the application.




Fix the following mandatory requirements:
=========================================

 * The application requires a version matching "^8.1".

This is probably coming from acli, https://github.com/acquia/cli/blob/a52dddc14cc615b32f4e8daf113918fd217eb3af/composer.json#L15

If we are defaulting to latest,

acli_version: latest
, we should probably update the minimum version from 7.4.

Personally, I think tracking the newest version at Acquia and allowing downgrading with user interaction would be a good option. This would allow developing and testing against the 'latest and greatest' and find issues before they arise on prod.

Platform.sh custom xdebug configuration example not working

Link to the page that needs to be updated or changed.
https://docs.lando.dev/config/platformsh.html#xdebug

Describe the change you'd like
The example custom xdebug configuration is not picked up by lando.

config:
  id: PROJECT_ID
  overrides:
    app:
      runtime:
        extensions:
          - redis
          - xdebug
      php:
        # XDEBUG 2
        xdebug.remote_enable: 1
        xdebug.remote_mode: req
        xdebug.remote_port: 9000
        xdebug.remote_connect_back: 0

After placing the configuration in many different places, the following location was discovered to work correctly.

name: PROJECT_ID
config:
  variables:
    app:
      php:
        xdebug.remote_enable: 1
        xdebug.remote_mode: req
        xdebug.remote_port: 9000
        xdebug.remote_connect_back: 0
  overrides:
    app:
      runtime:
        extensions:
          - redis
          - xdebug

Can't use Multisite with Acquia recipe because of [site]-settings.inc require line

I get error complaining about missing settings.inc on multisite, since this is require statement in settings.php needed for Acquia sites.
I noticed lando acquia recipe sets up the default (main) site fine, without errors by automatically recreating Acquia site-settings.inc file locally, thus no errors or warnings about it.
However the settings.inc file is missing locally for any multisite i have. Am i doing something wrong. How do i get Lando to set this up automatically, as it does for the default site?

Issue using MariaDB database

I saw there was work done recently to add MariaDB. I tried adding database: mariadb in the config: portion in my .lando.yml file and it looked like it didn't take - it would still install MySQL.

The only way I could get MariaDB to install would be to specify it under the services:

database: 
      type: mariadb

And to my understanding this isn't the proper way - but I could be wrong. Any help would be appreciated. Thanks!

Missing directories available at Acquia

To better accommodate the directory structure of acquia, we are missing some folders.

Here is the logic suggested from Acquia. In our case, because this recipe defines the AH_SITE_ENVIRONMENT env variable, the logic is executed too,

if (isset($_ENV['AH_SITE_ENVIRONMENT'])) {
  $settings['file_private_path'] = '/mnt/files/' . $_ENV['AH_SITE_GROUP'] . '.' . $_ENV['AH_SITE_ENVIRONMENT'] . '/' . $site_path . '/files-private';
} else {
  $settings['file_private_path'] = '{PATH}';
}

The structure available at acquia is defined here,

The directories from the links above are,

  • /mnt/files/[site].[env]/files
  • /mnt/files/[site].[env]/sites/[sitedir]/files
  • /mnt/files/[site].[env]/files-private
  • /mnt/files/[site].[env]/sites/[sitedir]/files-private
  • /mnt/tmp/[site].[env]
  • /mnt/tmp/[site][env]/php_storage/twig
  • /mnt/files/[site].[env]/backups
  • /mnt/files/[site].[env]/import
  • /var/log/sites/[site].[env]/logs/[infrastructure name]/[logname].log
  • /mnt/gfs/[site].[env]/www
  • /mnt/tmp/[sitename].[env]

PHP 8

Acquia supports PHP 8, however Lando using the Acquia recipe does not, and you get an error when you try to use it: php version 8 is not supported. PHP 7.4 will be EOL in November, so we need to start building against PHP 8 now to avoid problems later in the year, especially with our new projects just getting started.

Acquia Recipe Database Connection

Tell us about your setup

I am currently running an Acquia BLT codebase and the drupal8 recipe. I have destroyed that VM and rebuilt using the experimental acquia recipe. As part of that process, I did update my database details to be 'acquia' across the board (vs. drupal8). What I am seeing is that with the drupal8 recipe, my setup works great. However, with the acquia recipe it cannot load my database setup.

In Database.php line 371:
                                                             
  The specified database connection is not defined: default

BLT does have a number of overrides for settings files, so I'm wondering if the acquia recipe is somehow changing the way these are handled? It's highly suspicious to me that the exact same codebase works fine on the drupal8 recipe but not the acquia one.

What is your lando version and operating system? (note that the older your version the less likely we are to reply)

lando version
v3.0.27

Mac OS 10.15.7

Tell us about your .lando.yml:

see https://github.com/Drupal4Gov/Drupal-GovCon-2017/blob/develop/.lando.yml

See above, TLDR database connectivity works fine on drupal8 but not on acquia (and yes, I did update the database name, user name, and password to be acquia not drupal8). This appears to be flat out not finding the default database array.

Please detail the steps we can take to replicate this bug. Be as detailed as possible.

The govcon codebase can be spun up locally and works as is. You can use the same codebase to test the acquia recipe (although you'll have to update the database credentials and lando yml file)

Support for M2 Macs

Following instructions provided on Acquia website, it appears to build completely, but generates "The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested" docker errors for database, inbox, and cache images. Eventually the build just craps out "waiting until database is ready" and then stating that landoproxyhyperion5000gandalfedition doesn't exist (even though it does).

Looking at internet support boards for other products, the long error message is apparently due the need to put in additional parameters during the build to accommodate the new architecture on M1/M2 macs. I tried the "export DOCKER_DEFAULT_PLATFORM=linux/amd64" trick suggested on various boards prior to build, but it didn't work. I have also tried it with different on/off combinations for "user containerd" and "Use Rosetta" options in "Features in Development" on Docker, with no effect.

Create PHP tests

Create tests for PHP versions,

  • 7.4
  • 8.0
  • 8.1
  • 8.2
  • 8.3
  • default
  • xdebug

Experimental toggle validation order

If you are not sure how to do that then please complete as much of the below section as possible

Tell us about your setup

What is your lando version and operating system? (note that the older your version the less likely we are to reply)

Lando v3.1.2 macOS Big Sur

Tell us about your .lando.yml

Paste in the contents of your .lando.yml this is SUPER HELPFUL for us.

Example:

name: application
recipe: acquia
config:
  ah_application_uuid:
  ah_site_group:

Tell us about the command you were running

lando --experimental

Tell us about the error you got

Example:

$ lando --experimental
WARN ==> acquia is not a supported recipe type.
Unhandled rejection TypeError: Cannot read property 'builder' of undefined
    at Factory.get (/snapshot/lando/build/cli/lib/factory.js)
    at AsyncEvents.<anonymous> (/snapshot/lando/build/cli/plugins/lando-recipes/app.js)
    at AsyncEvents.handle (/snapshot/lando/build/cli/lib/events.js)
    at /snapshot/lando/build/cli/lib/events.js
    at processImmediate (internal/timers.js:456:21)
From previous event:
    at AsyncEvents.emit (/snapshot/lando/build/cli/lib/events.js)
    at /snapshot/lando/build/cli/lib/app.js
From previous event:
    at App.init (/snapshot/lando/build/cli/lib/app.js)
    at /snapshot/lando/build/cli/bin/lando.js
From previous event:
    at Object.<anonymous> (/snapshot/lando/build/cli/bin/lando.js)
    at Module._compile (pkg/prelude/bootstrap.js:1433:22)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1156:10)
    at Module.load (internal/modules/cjs/loader.js:984:32)
    at Function.Module._load (internal/modules/cjs/loader.js:877:14)
    at Function.runMain (pkg/prelude/bootstrap.js:1488:12)
    at internal/main/run_main_module.js:17:47

Tell us generally about your bug

Validation about recipes are done before experimental is toggled.

There is a workaround of course (changing the recipe while toggling experimental) but it's come up as an issue.

I believe validation for --experimental shouldn't test the recipe.

Acquia Drush Not Found

Tell us about your setup

What is your lando version and operating system?

v3.0.29 on Pop!_OS 20.04 LTS

.lando.yml

name: ramsey
recipe: acquia
config:
  acli_version: master
  ah_application_uuid: 42be4899-9fa7-4b47-8ab2-fb8d90fdcf65
  ah_site_group: ramsey
  php: '7.3'

.acquia-cli.yml

cloud_app_uuid: 42be4899-9fa7-4b47-8ab2-fb8d90fdcf65

Tell us about the command you were running

Simply trying to invoke drush on my local site for a cache clear, config export, etc.

Paste in a series of commands that caused the bug.

lando drush

Tell us about the error you got

I get an error saying Drush can't be found:

/bin/sh: 1: drush: not found

Verbose output:

joseph@charlie:~/dev/Cw/Ramsey$ lando drush -vvv
lando 10:25:05 DEBUG ==> No update available. 
lando 10:25:05 VERBOSE ==> starting bootstrap at level engine... 
lando 10:25:05 VERBOSE ==> config bootstrap beginning... 
lando 10:25:05 DEBUG ==> emitting event pre-bootstrap-config 
lando 10:25:05 DEBUG ==> plugin lando-core loaded from /snapshot/lando/build/cli/plugins/lando-core/index.js 
lando 10:25:05 DEBUG ==> plugin lando-events loaded from /snapshot/lando/build/cli/plugins/lando-events/index.js 
lando 10:25:05 DEBUG ==> plugin lando-networking loaded from /snapshot/lando/build/cli/plugins/lando-networking/index.js 
lando 10:25:05 DEBUG ==> plugin lando-proxy loaded from /snapshot/lando/build/cli/plugins/lando-proxy/index.js 
lando 10:25:05 DEBUG ==> plugin lando-recipes loaded from /snapshot/lando/build/cli/plugins/lando-recipes/index.js 
lando 10:25:05 DEBUG ==> plugin lando-services loaded from /snapshot/lando/build/cli/plugins/lando-services/index.js 
lando 10:25:05 DEBUG ==> plugin lando-sharing loaded from /snapshot/lando/build/cli/plugins/lando-sharing/index.js 
lando 10:25:05 DEBUG ==> plugin lando-test loaded from /snapshot/lando/build/cli/plugins/lando-test/index.js 
lando 10:25:05 DEBUG ==> plugin lando-tooling loaded from /snapshot/lando/build/cli/plugins/lando-tooling/index.js 
lando 10:25:05 DEBUG ==> plugin lando-lagoon loaded from /snapshot/lando/build/cli/integrations/lando-lagoon/index.js 
lando 10:25:05 DEBUG ==> plugin lando-pantheon loaded from /snapshot/lando/build/cli/integrations/lando-pantheon/index.js 
lando 10:25:05 DEBUG ==> plugin lando-platformsh loaded from /snapshot/lando/build/cli/integrations/lando-platformsh/index.js 
lando 10:25:05 DEBUG ==> plugin lando-acquia loaded from /snapshot/lando/build/cli/experimental/lando-acquia/index.js 
lando 10:25:05 DEBUG ==> plugin lando-experimental loaded from /snapshot/lando/build/cli/experimental/lando-experimental/index.js 
lando 10:25:05 DEBUG ==> emitting event post-bootstrap-config 
lando 10:25:05 VERBOSE ==> building proxy config... 
lando 10:25:05 VERBOSE ==> config bootstrap completed. 
lando 10:25:05 VERBOSE ==> tasks bootstrap beginning... 
lando 10:25:05 DEBUG ==> emitting event pre-bootstrap-tasks 
lando 10:25:05 DEBUG ==> autoloaded task config 
lando 10:25:05 DEBUG ==> autoloaded task destroy 
lando 10:25:05 DEBUG ==> autoloaded task info 
lando 10:25:05 DEBUG ==> autoloaded task list 
lando 10:25:05 DEBUG ==> autoloaded task logs 
lando 10:25:05 DEBUG ==> autoloaded task poweroff 
lando 10:25:05 DEBUG ==> autoloaded task rebuild 
lando 10:25:05 DEBUG ==> autoloaded task restart 
lando 10:25:05 DEBUG ==> autoloaded task share 
lando 10:25:05 DEBUG ==> autoloaded task start 
lando 10:25:05 DEBUG ==> autoloaded task stop 
lando 10:25:05 DEBUG ==> autoloaded task version 
lando 10:25:05 DEBUG ==> autoloaded task init 
lando 10:25:05 DEBUG ==> autoloaded task ssh 
lando 10:25:05 DEBUG ==> emitting event post-bootstrap-tasks 
lando 10:25:05 VERBOSE ==> tasks bootstrap completed. 
lando 10:25:05 VERBOSE ==> engine bootstrap beginning... 
lando 10:25:05 DEBUG ==> emitting event pre-bootstrap-engine 
lando 10:25:05 DEBUG ==> automoved scripts from /snapshot/lando/build/cli/plugins/lando-core/scripts to /home/joseph/.lando/scripts and set to mode 755 
lando 10:25:05 DEBUG ==> automoved scripts from /snapshot/lando/build/cli/plugins/lando-proxy/scripts to /home/joseph/.lando/scripts and set to mode 755 
lando 10:25:05 DEBUG ==> automoved scripts from /snapshot/lando/build/cli/plugins/lando-recipes/scripts to /home/joseph/.lando/scripts and set to mode 755 
lando 10:25:05 DEBUG ==> automoved scripts from /snapshot/lando/build/cli/plugins/lando-services/scripts to /home/joseph/.lando/scripts and set to mode 755 
lando 10:25:05 DEBUG ==> automoved scripts from /snapshot/lando/build/cli/plugins/lando-sharing/scripts to /home/joseph/.lando/scripts and set to mode 755 
lando 10:25:05 DEBUG ==> automoved scripts from /snapshot/lando/build/cli/integrations/lando-lagoon/scripts to /home/joseph/.lando/scripts and set to mode 755 
lando 10:25:05 DEBUG ==> automoved scripts from /snapshot/lando/build/cli/integrations/lando-pantheon/scripts to /home/joseph/.lando/scripts and set to mode 755 
lando 10:25:05 DEBUG ==> automoved scripts from /snapshot/lando/build/cli/integrations/lando-platformsh/scripts to /home/joseph/.lando/scripts and set to mode 755 
lando 10:25:05 DEBUG ==> automoved scripts from /snapshot/lando/build/cli/experimental/lando-acquia/scripts to /home/joseph/.lando/scripts and set to mode 755 
lando 10:25:05 DEBUG ==> emitting event post-bootstrap-engine 
lando 10:25:05 VERBOSE ==> engine bootstrap completed. 
lando 10:25:05 VERBOSE ==> bootstrap completed. 
lando 10:25:05 DEBUG ==> emitting event post-bootstrap 
lando 10:25:05 VERBOSE ==> docker-engine exists: true 
lando 10:25:05 VERBOSE ==> docker-compose exists: true 
lando 10:25:05 DEBUG ==> emitting event cli-answers 
lando 10:25:05 DEBUG ==> emitting event cli-drush-answers 
lando 10:25:05 DEBUG ==> emitting event cli-run 
lando 10:25:05 DEBUG ==> emitting event cli-drush-run 
lando 10:25:05 DEBUG ==> emitting event pre-command-runner 
lando 10:25:05 DEBUG ==> emitting event pre-drush 
lando 10:25:05 DEBUG ==> process pid4 running /usr/bin/docker exec ramsey_appserver_1 drush cstdio=[inherit, pipe, pipe], silent=false, mode=attach, detached=false
lando 10:25:05 DEBUG ==> engine is up. 
                                       lando 10:25:05 DEBUG ==> docker is running. 
                                                                                   OCI runtime exec failed: exec failed: container_linux.go:367: starting container process caused: exec: "drush": executable file not found in $PATH: unknown
lando 10:25:05 DEBUG ==> process pid4 finished with exit code 126 
lando 10:25:05 VERBOSE ==> reporting error action to report=true, url=https://metrics.lando.dev, report=true, url=https://metrics.lando.dev
lando 10:25:05 DEBUG ==> reported data command=lando drush, context=local, devMode=false, instance=13a08edd14272b0ccb90b1a00af49c1bbd439955, nodeVersion=v12.13.1, mode=cli, type=Linux, platform=linux, release=5.11.0-7612-generic, arch=x64, product=lando, version=3.0.29, message=OCI runtime exec failed: exec failed: container_linux.go:367: starting container process caused: exec: "drush": executable file not found in $PATH: unknown, stack=Error: OCI runtime exec failed: exec failed: container_linux.go:367: starting container process caused: exec: "drush": executable file not found in $PATH: unknown
    at /snapshot/lando/build/cli/lib/shell.js
From previous event:
    at Shell.sh (shell.js)
    at Object.dockerExec (utils.js)
    at /snapshot/lando/build/cli/plugins/lando-tooling/lib/build.js
From previous event:
    at Object.run (build.js)
From previous event:
    at /snapshot/lando/build/cli/lib/bootstrap.js
From previous event:
    at /snapshot/lando/build/cli/lib/cli.js
From previous event:
    at Object.handler (cli.js)
    at Object.runCommand (command.js:238:44)
    at Object.parseArgs [as _parseArgs] (yargs.js:1063:30)
    at Function.get [as argv] (yargs.js:1004:21)
    at Cli.init (cli.js)
    at Cli.run (cli.js)
    at Object.<anonymous> (lando.js)
    at Module._compile (bootstrap.js:1324:22)
    at Function.Module.runMain (bootstrap.js:1379:12)
    at internal/main/run_main_module.js:17:11, action=error, created=2021-04-12T15:25:05.610Z
lando 10:25:05 VERBOSE ==> checking docker version compatibility... 
lando 10:25:05 DEBUG ==> compatibility results name=compose, link=https://docs.docker.com/compose/install/#install-compose-on-linux-systems, wants=1.23.0 - 1.27.4, version=1.27.4, semversion=1.27.4, semmin=1.23.0, semmax=1.27.4, dockerVersion=true, satisfied=true, name=engine, link=https://docs.docker.com/engine/install/, wants=18.09.3 - 20.10.99, version=20.10.5, semversion=20.10.5, semmin=18.9.3, semmax=20.10.99, dockerVersion=true, satisfied=true

Tell us generally about your bug

I initially pulled this website from Acquia using the lando init --source acquia as listed in the documentation. This Acquia site is running Drupal 7.

Please detail the steps we can take to replicate this bug. Be as detailed as possible.

Example:

1. Pull a Drupal 7 site in Acquia to lando using `lando init --source acquia`
2. `lando start`
3. Try to invoke drush: `lando drush`
4. Notice the error described above.

Acquia Integration

Lando init

  • List tokens that exist in a combination of Lando cache and the host system (~/.acquia) with option to add new token
  • Refactor to use Acquia's new format for storing host
  • Capture key & secret for new token & store in cache
  • List applications to select from
  • List environments to select from
  • Pull code based on git url (exists in /environments/{uuid})
  • Support local code init
  • Create .acquia-cli.yml file if it doesn't exist
  • Add composer to landofile if on an older version (i.e. 1.x)

Lando build (start/rebuild)

  • Install acli
  • Login user automatically if run after an init where we collected credentials
  • add support for memcached
  • add support for solr

Lando push/pull

  • Lando pull: environment/site selector & wrap acli pull
  • Lando push: environment/site selector & wrap acli push

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.