lando / cli

The cli part of Lando
https://docs.lando.dev/cli
GNU General Public License v3.0
31 stars 33 forks source link

Commands from reciepes disappeared #296

Open ericgsmith opened 3 days ago

ericgsmith commented 3 days ago

I recently ran a lando update which brought me to version 3.22.1 - but I have encountered an issue that I am having trouble debugging.

When I run lando I only see the core lando commands, or the custom lando tooling commands from the project lando file. I do not see the tooling from the recipes.

E.g using this .lando.yml file:

name: my-lando-app
recipe: lemp
config:
  webroot: .

I have these commands available:

$> lando

Usage: lando <command> [args] [options]

Commands:
  lando config             Displays the lando configuration
  lando destroy            Destroys your app
  lando exec               Runs command(s) on a service
  lando info               Prints info about your app
  lando init               Fetched code and/or initializes a Landofile
                           for use with lando
  lando list               Lists all running lando apps and containers
  lando logs               Displays logs for your app
  lando poweroff           Spins down all lando related containers
  lando rebuild            Rebuilds your app from scratch, preserving
                           data
  lando restart            Restarts your app
  lando start              Starts your app
  lando stop               Stops your app
  lando update             Updates lando
  lando version            Displays lando version information

Notably things like lando composer , lando php and lando db-export is missing.

If I add:

tooling:
  where-is-composer:
    service: appserver
    description: Runs composer because lando composer is missing
    cmd: composer

Then I do see where-is-composer in the list and it can run - but I'm crippled without the tooling of the recipes.

Status of lando update shows all my plugins are up to date.

I've also tried a complete install of lando but still no luck.

ericgsmith commented 3 days ago

From --debug I can see it is trying to add them:

  my-lando-app additional tooling detected  +201ms
  my-lando-app adding app cli task composer  +1ms
  my-lando-app adding app cli task db-import <file>  +0ms
  my-lando-app adding app cli task db-export [file]  +0ms
  my-lando-app adding app cli task php  +0ms
  my-lando-app adding app cli task mysql  +0ms

But for whatever reason they don't show - full dump below

Expand lando --debug output
lando --debug
  lando starting 'lando' version '3.21.2' runtime selector... +0ms
  lando merged in additional config source from file '/snapshot/cli/config.yml' +19ms
  lando merged in additional config source from file '/home/ericsmith/.lando/config.yml' +1ms
  lando merged in additional config source from 'LANDO_*' envvars with data {} +1ms
  lando final assembled minconf is {
  lando   configSources: [ '/snapshot/cli/config.yml', '/home/ericsmith/.lando/config.yml' ],
  lando   envPrefix: 'LANDO',
  lando   landoFile: '.lando.yml',
  lando   preLandoFiles: [
  lando     '.lando.base.yml',
  lando     '.lando.dist.yml',
  lando     '.lando.recipe.yml',
  lando     '.lando.upstream.yml'
  lando   ],
  lando   postLandoFiles: [ '.lando.local.yml', '.lando.user.yml' ],
  lando   runtime: 3,
  lando   srcRoot: '/snapshot/cli',
  lando   userConfRoot: '/home/ericsmith/.lando',
  lando   product: 'lando',
  lando   hyperdrive: 'hyperdrive',
  lando   channel: 'stable',
  lando   domain: 'lndo.site',
  lando   mode: 'cli',
  lando   stats: [ { report: true, url: 'https://metrics.lando.dev' } ]
  lando } +1ms
  lando detected an app 'my-lando-app' at '/home/ericsmith/Projects/lando-test' +22ms
  lando using '@lando/core' runtime version 3 +0ms
  lando starting lando with 'v3' runtime using cli { ENVPREFIX: undefined, LOGLEVELCONSOLE: 4, USERCONFROOT: undefined, COREBASE: '/home/ericsmith/.lando/plugins/@lando/core' } +16ms
  lando using cli config { args: [ '--dns-result-order=ipv4first' ], commit: false, coreBase: false, dev: false, entrypoint: '/usr/local/bin/lando', file: '/usr/local/bin/lando', installPath: '/home/ericsmith/.lando/bin', packaged: true, plugin: '/snapshot/cli', slim: true, source: false } +0ms
  lando using cli config { args: [ '--dns-result-order=ipv4first' ], commit: false, coreBase: false, dev: false, entrypoint: '/usr/local/bin/lando', file: '/usr/local/bin/lando', installPath: '/home/ericsmith/.lando/bin', packaged: true, plugin: '/snapshot/cli', slim: true, source: false } +39ms
  lando starting bootstrap at level APP...  +2ms
  lando config bootstrap beginning...  +6ms
  lando emitting event pre-bootstrap-config  +0ms
  lando plugin '@lando/core' loaded from /home/ericsmith/.lando/plugins/@lando/core/index.js  +12ms
  lando plugin '@lando/healthcheck' loaded from /home/ericsmith/.lando/plugins/@lando/core/plugins/healthcheck/index.js  +2ms
  lando plugin '@lando/networking' loaded from /home/ericsmith/.lando/plugins/@lando/core/plugins/networking/index.js  +1ms
  lando plugin '@lando/proxy' loaded from /home/ericsmith/.lando/plugins/@lando/core/plugins/proxy/index.js  +1ms
  lando plugin '@lando/scanner' loaded from /home/ericsmith/.lando/plugins/@lando/core/plugins/scanner/index.js  +1ms
  lando plugin '@lando/sharing' loaded from /home/ericsmith/.lando/plugins/@lando/core/plugins/sharing/index.js  +0ms
  lando plugin '@lando/acquia' loaded from /home/ericsmith/.lando/plugins/@lando/acquia/index.js  +1ms
  lando plugin '@lando/apache' loaded from /home/ericsmith/.lando/plugins/@lando/apache/index.js  +0ms
  lando plugin '@lando/backdrop' loaded from /home/ericsmith/.lando/plugins/@lando/backdrop/index.js  +1ms
  lando plugin '@lando/compose' loaded from /home/ericsmith/.lando/plugins/@lando/compose/index.js  +0ms
  lando plugin '@lando/dotnet' loaded from /home/ericsmith/.lando/plugins/@lando/dotnet/index.js  +1ms
  lando plugin '@lando/drupal' loaded from /home/ericsmith/.lando/plugins/@lando/drupal/index.js  +0ms
  lando plugin '@lando/elasticsearch' loaded from /home/ericsmith/.lando/plugins/@lando/elasticsearch/index.js  +0ms
  lando plugin '@lando/go' loaded from /home/ericsmith/.lando/plugins/@lando/go/index.js  +1ms
  lando plugin '@lando/joomla' loaded from /home/ericsmith/.lando/plugins/@lando/joomla/index.js  +0ms
  lando plugin '@lando/lagoon' loaded from /home/ericsmith/.lando/plugins/@lando/lagoon/index.js  +24ms
  lando plugin '@lando/lamp' loaded from /home/ericsmith/.lando/plugins/@lando/lamp/index.js  +0ms
  lando plugin '@lando/laravel' loaded from /home/ericsmith/.lando/plugins/@lando/laravel/index.js  +1ms
  lando plugin '@lando/lemp' loaded from /home/ericsmith/.lando/plugins/@lando/lemp/index.js  +0ms
  lando plugin '@lando/mailhog' loaded from /home/ericsmith/.lando/plugins/@lando/mailhog/index.js  +1ms
  lando plugin '@lando/mariadb' loaded from /home/ericsmith/.lando/plugins/@lando/mariadb/index.js  +0ms
  lando plugin '@lando/mean' loaded from /home/ericsmith/.lando/plugins/@lando/mean/index.js  +1ms
  lando plugin '@lando/memcached' loaded from /home/ericsmith/.lando/plugins/@lando/memcached/index.js  +0ms
  lando plugin '@lando/mongo' loaded from /home/ericsmith/.lando/plugins/@lando/mongo/index.js  +0ms
  lando plugin '@lando/mssql' loaded from /home/ericsmith/.lando/plugins/@lando/mssql/index.js  +1ms
  lando plugin '@lando/mysql' loaded from /home/ericsmith/.lando/plugins/@lando/mysql/index.js  +0ms
  lando plugin '@lando/nginx' loaded from /home/ericsmith/.lando/plugins/@lando/nginx/index.js  +0ms
  lando plugin '@lando/node' loaded from /home/ericsmith/.lando/plugins/@lando/node/index.js  +1ms
  lando plugin '@lando/pantheon' loaded from /home/ericsmith/.lando/plugins/@lando/pantheon/index.js  +51ms
  lando plugin '@lando/php' loaded from /home/ericsmith/.lando/plugins/@lando/php/index.js  +0ms
  lando plugin '@lando/phpmyadmin' loaded from /home/ericsmith/.lando/plugins/@lando/phpmyadmin/index.js  +1ms
  lando plugin '@lando/platformsh' loaded from /home/ericsmith/.lando/plugins/@lando/platformsh/index.js  +8ms
  lando plugin '@lando/postgres' loaded from /home/ericsmith/.lando/plugins/@lando/postgres/index.js  +1ms
  lando plugin '@lando/python' loaded from /home/ericsmith/.lando/plugins/@lando/python/index.js  +0ms
  lando plugin '@lando/redis' loaded from /home/ericsmith/.lando/plugins/@lando/redis/index.js  +1ms
  lando plugin '@lando/ruby' loaded from /home/ericsmith/.lando/plugins/@lando/ruby/index.js  +0ms
  lando plugin '@lando/solr' loaded from /home/ericsmith/.lando/plugins/@lando/solr/index.js  +0ms
  lando plugin '@lando/symfony' loaded from /home/ericsmith/.lando/plugins/@lando/symfony/index.js  +1ms
  lando plugin '@lando/tomcat' loaded from /home/ericsmith/.lando/plugins/@lando/tomcat/index.js  +0ms
  lando plugin '@lando/varnish' loaded from /home/ericsmith/.lando/plugins/@lando/varnish/index.js  +0ms
  lando plugin '@lando/wordpress' loaded from /home/ericsmith/.lando/plugins/@lando/wordpress/index.js  +1ms
  lando removed duplicate plugin entries %o name=@lando/core, path=/home/ericsmith/.lando/plugins/@lando/core, type=local +0ms
  lando emitting event post-bootstrap-config  +1ms
  lando building proxy config...  +0ms
  lando config bootstrap completed.  +1ms
  lando tasks bootstrap beginning...  +0ms
  lando emitting event pre-bootstrap-tasks  +0ms
  lando autoloaded global task config  +100ms
  lando autoloaded global task destroy  +0ms
  lando autoloaded global task exec  +1ms
  lando autoloaded global task info  +1ms
  lando autoloaded global task init  +7ms
  lando autoloaded global task list  +0ms
  lando autoloaded global task logs  +1ms
  lando autoloaded global task plugin-add  +0ms
  lando autoloaded global task plugin-login  +1ms
  lando autoloaded global task plugin-logout  +0ms
  lando autoloaded global task plugin-remove  +1ms
  lando autoloaded global task poweroff  +0ms
  lando autoloaded global task rebuild  +1ms
  lando autoloaded global task restart  +0ms
  lando autoloaded global task setup  +4ms
  lando autoloaded global task share  +0ms
  lando autoloaded global task shellenv  +1ms
  lando autoloaded global task ssh  +0ms
  lando autoloaded global task start  +1ms
  lando autoloaded global task stop  +0ms
  lando autoloaded global task update  +0ms
  lando autoloaded global task version  +1ms
  lando emitting event post-bootstrap-tasks  +2ms
  lando tasks bootstrap completed.  +0ms
  lando engine bootstrap beginning...  +1ms
  lando emitting event pre-bootstrap-engine  +0ms
  lando emitting event post-bootstrap-engine  +30ms
  lando engine bootstrap completed.  +1ms
  lando app bootstrap beginning...  +0ms
  lando emitting event pre-bootstrap-app  +0ms
  lando autoloaded legacy builder _platformsh_appserver  +13ms
  lando autoloaded legacy builder _platformsh_service  +0ms
  lando autoloaded legacy builder platformsh-chrome-headless  +0ms
  lando autoloaded legacy builder platformsh-elasticsearch  +0ms
  lando autoloaded legacy builder platformsh-influxdb  +0ms
  lando autoloaded legacy builder platformsh-kafka  +0ms
  lando autoloaded legacy builder platformsh-mariadb  +0ms
  lando autoloaded legacy builder platformsh-memcached  +0ms
  lando autoloaded legacy builder platformsh-mongodb  +0ms
  lando autoloaded legacy builder platformsh-mysql  +0ms
  lando autoloaded legacy builder platformsh-php  +0ms
  lando autoloaded legacy builder platformsh-postgresql  +0ms
  lando autoloaded legacy builder platformsh-rabbitmq  +1ms
  lando autoloaded legacy builder platformsh-redis  +0ms
  lando autoloaded legacy builder platformsh-solr  +0ms
  lando autoloaded legacy builder platformsh-varnish  +0ms
  lando autoloaded legacy builder platformsh  +0ms
  lando autodiscovered legacy api 3 builder _appserver  +5ms
  lando autodiscovered legacy api 3 builder _init  +0ms
  lando autodiscovered legacy api 3 builder _lando  +0ms
  lando autodiscovered legacy api 3 builder _landoutil  +0ms
  lando autodiscovered legacy api 4 builder _service  +0ms
  lando autodiscovered legacy api 3 builder _service  +0ms
  lando autodiscovered legacy api 3 builder _webserver  +0ms
  lando autodiscovered legacy api 4 builder lando  +0ms
  lando autodiscovered legacy api 3 builder lando  +0ms
  lando autodiscovered legacy api 3 builder _proxy  +1ms
  lando autodiscovered legacy api 3 builder _mounter  +0ms
  lando autodiscovered legacy api 3 builder acquia-base  +0ms
  lando autodiscovered legacy api 3 builder acquia-mailhog  +0ms
  lando autodiscovered legacy api 3 builder acquia-memcached  +0ms
  lando autodiscovered legacy api 3 builder acquia-mysql  +0ms
  lando autodiscovered legacy api 3 builder acquia-php  +0ms
  lando autodiscovered legacy api 3 builder acquia-postgres  +0ms
  lando autodiscovered legacy api 3 builder acquia  +0ms
  lando autodiscovered legacy api 3 builder apache  +0ms
  lando autodiscovered legacy api 3 builder backdrop-mariadb  +0ms
  lando autodiscovered legacy api 3 builder backdrop-mssql  +0ms
  lando autodiscovered legacy api 3 builder backdrop-mysql  +0ms
  lando autodiscovered legacy api 3 builder backdrop-nginx  +0ms
  lando autodiscovered legacy api 3 builder backdrop-php  +0ms
  lando autodiscovered legacy api 3 builder backdrop-postgres  +0ms
  lando autodiscovered legacy api 3 builder backdrop  +0ms
  lando autodiscovered legacy api 3 builder compose  +0ms
  lando autodiscovered legacy api 3 builder dotnet  +0ms
  lando autodiscovered legacy api 3 builder _drupaly  +1ms
  lando autodiscovered legacy api 3 builder drupal-mariadb  +0ms
  lando autodiscovered legacy api 3 builder drupal-mssql  +0ms
  lando autodiscovered legacy api 3 builder drupal-mysql  +0ms
  lando autodiscovered legacy api 3 builder drupal-nginx  +0ms
  lando autodiscovered legacy api 3 builder drupal-php  +0ms
  lando autodiscovered legacy api 3 builder drupal-postgres  +0ms
  lando autodiscovered legacy api 3 builder drupal10  +0ms
  lando autodiscovered legacy api 3 builder drupal11  +0ms
  lando autodiscovered legacy api 3 builder drupal6  +0ms
  lando autodiscovered legacy api 3 builder drupal7  +0ms
  lando autodiscovered legacy api 3 builder drupal8  +0ms
  lando autodiscovered legacy api 3 builder drupal9  +1ms
  lando autodiscovered legacy api 3 builder elasticsearch  +0ms
  lando autodiscovered legacy api 3 builder go  +0ms
  lando autodiscovered legacy api 3 builder joomla-mariadb  +0ms
  lando autodiscovered legacy api 3 builder joomla-mssql  +0ms
  lando autodiscovered legacy api 3 builder joomla-mysql  +0ms
  lando autodiscovered legacy api 3 builder joomla-nginx  +0ms
  lando autodiscovered legacy api 3 builder joomla-php  +0ms
  lando autodiscovered legacy api 3 builder joomla-postgres  +0ms
  lando autodiscovered legacy api 3 builder joomla  +0ms
  lando autodiscovered legacy api 3 builder _lagoon  +0ms
  lando autodiscovered legacy api 3 builder lagoon-basic  +0ms
  lando autodiscovered legacy api 3 builder lagoon-elasticsearch  +0ms
  lando autodiscovered legacy api 3 builder lagoon-mailhog  +0ms
  lando autodiscovered legacy api 3 builder lagoon-mariadb  +0ms
  lando autodiscovered legacy api 3 builder lagoon-nginx  +0ms
  lando autodiscovered legacy api 3 builder lagoon-node  +0ms
  lando autodiscovered legacy api 3 builder lagoon-none  +0ms
  lando autodiscovered legacy api 3 builder lagoon-php-cli  +0ms
  lando autodiscovered legacy api 3 builder lagoon-php  +0ms
  lando autodiscovered legacy api 3 builder lagoon-postgres  +1ms
  lando autodiscovered legacy api 3 builder lagoon-python  +0ms
  lando autodiscovered legacy api 3 builder lagoon-redis  +0ms
  lando autodiscovered legacy api 3 builder lagoon-ruby  +0ms
  lando autodiscovered legacy api 3 builder lagoon-solr  +0ms
  lando autodiscovered legacy api 3 builder lagoon-varnish  +0ms
  lando autodiscovered legacy api 3 builder lagoon  +0ms
  lando autodiscovered legacy api 3 builder lamp-mariadb  +0ms
  lando autodiscovered legacy api 3 builder lamp-mongo  +0ms
  lando autodiscovered legacy api 3 builder lamp-mssql  +0ms
  lando autodiscovered legacy api 3 builder lamp-mysql  +0ms
  lando autodiscovered legacy api 3 builder lamp-nginx  +0ms
  lando autodiscovered legacy api 3 builder lamp-php  +0ms
  lando autodiscovered legacy api 3 builder lamp-postgres  +0ms
  lando autodiscovered legacy api 3 builder lamp  +0ms
  lando autodiscovered legacy api 3 builder laravel-mariadb  +0ms
  lando autodiscovered legacy api 3 builder laravel-memcached  +0ms
  lando autodiscovered legacy api 3 builder laravel-mssql  +0ms
  lando autodiscovered legacy api 3 builder laravel-mysql  +0ms
  lando autodiscovered legacy api 3 builder laravel-nginx  +0ms
  lando autodiscovered legacy api 3 builder laravel-php  +1ms
  lando autodiscovered legacy api 3 builder laravel-postgres  +0ms
  lando autodiscovered legacy api 3 builder laravel-redis  +0ms
  lando autodiscovered legacy api 3 builder laravel  +0ms
  lando autodiscovered legacy api 3 builder lemp-mariadb  +0ms
  lando autodiscovered legacy api 3 builder lemp-mongo  +0ms
  lando autodiscovered legacy api 3 builder lemp-mssql  +0ms
  lando autodiscovered legacy api 3 builder lemp-mysql  +0ms
  lando autodiscovered legacy api 3 builder lemp-nginx  +0ms
  lando autodiscovered legacy api 3 builder lemp-php  +0ms
  lando autodiscovered legacy api 3 builder lemp-postgres  +0ms
  lando autodiscovered legacy api 3 builder lemp  +0ms
  lando autodiscovered legacy api 3 builder mailhog  +0ms
  lando autodiscovered legacy api 3 builder mariadb  +0ms
  lando autodiscovered legacy api 3 builder mean-mariadb  +0ms
  lando autodiscovered legacy api 3 builder mean-mongo  +0ms
  lando autodiscovered legacy api 3 builder mean-mysql  +0ms
  lando autodiscovered legacy api 3 builder mean-node  +0ms
  lando autodiscovered legacy api 3 builder mean-postgres  +0ms
  lando autodiscovered legacy api 3 builder mean  +0ms
  lando autodiscovered legacy api 3 builder memcached  +1ms
  lando autodiscovered legacy api 3 builder mongo  +0ms
  lando autodiscovered legacy api 3 builder mssql  +0ms
  lando autodiscovered legacy api 3 builder mysql  +0ms
  lando autodiscovered legacy api 3 builder nginx  +0ms
  lando autodiscovered legacy api 3 builder node  +0ms
  lando autodiscovered legacy api 3 builder pantheon-mariadb-arm  +0ms
  lando autodiscovered legacy api 3 builder pantheon-mariadb  +0ms
  lando autodiscovered legacy api 3 builder pantheon-nginx  +0ms
  lando autodiscovered legacy api 3 builder pantheon-php  +0ms
  lando autodiscovered legacy api 3 builder pantheon-redis  +0ms
  lando autodiscovered legacy api 3 builder pantheon-solr  +0ms
  lando autodiscovered legacy api 3 builder pantheon-varnish  +0ms
  lando autodiscovered legacy api 3 builder pantheon  +0ms
  lando autodiscovered legacy api 3 builder php-nginx  +0ms
  lando autodiscovered legacy api 3 builder php  +0ms
  lando autodiscovered legacy api 3 builder phpmyadmin  +0ms
  lando autodiscovered legacy api 3 builder postgres  +0ms
  lando autodiscovered legacy api 3 builder python  +0ms
  lando autodiscovered legacy api 3 builder redis  +0ms
  lando autodiscovered legacy api 3 builder ruby  +1ms
  lando autodiscovered legacy api 3 builder solr  +0ms
  lando autodiscovered legacy api 3 builder symfony-mariadb  +0ms
  lando autodiscovered legacy api 3 builder symfony-memcached  +0ms
  lando autodiscovered legacy api 3 builder symfony-mssql  +0ms
  lando autodiscovered legacy api 3 builder symfony-mysql  +0ms
  lando autodiscovered legacy api 3 builder symfony-nginx  +0ms
  lando autodiscovered legacy api 3 builder symfony-php  +0ms
  lando autodiscovered legacy api 3 builder symfony-postgres  +0ms
  lando autodiscovered legacy api 3 builder symfony-redis  +0ms
  lando autodiscovered legacy api 3 builder symfony  +0ms
  lando autodiscovered legacy api 3 builder tomcat  +0ms
  lando autodiscovered legacy api 3 builder varnish-nginx  +0ms
  lando autodiscovered legacy api 3 builder varnish  +0ms
  lando autodiscovered legacy api 3 builder wordpress-mariadb  +0ms
  lando autodiscovered legacy api 3 builder wordpress-mssql  +0ms
  lando autodiscovered legacy api 3 builder wordpress-mysql  +0ms
  lando autodiscovered legacy api 3 builder wordpress-nginx  +0ms
  lando autodiscovered legacy api 3 builder wordpress-php  +0ms
  lando autodiscovered legacy api 3 builder wordpress-postgres  +0ms
  lando autodiscovered legacy api 3 builder wordpress  +1ms
  lando emitting event post-bootstrap-app  +0ms
  lando app bootstrap completed.  +8ms
  lando bootstrap completed.  +0ms
  lando emitting event post-bootstrap  +0ms
  lando emitting event almost-ready  +1ms
  lando using docker-compose /home/ericsmith/.lando/bin/docker-compose-v2.29.2  +0ms
  lando emitting event ready  +8ms
  lando loading app my-lando-app from config files 0=/home/ericsmith/Projects/lando-test/.lando.yml +3ms
  lando app my-lando-app has config name=my-lando-app, recipe=lemp, webroot=., service=appserver, description=Runs composer, cmd=composer +0ms
  my-lando-app initiatilizing app at /home/ericsmith/Projects/lando-test...  +3ms
  lando plugin '@lando/core' loaded from /home/ericsmith/.lando/plugins/@lando/core/app.js  +8ms
  lando plugin '@lando/healthcheck' loaded from /home/ericsmith/.lando/plugins/@lando/core/plugins/healthcheck/app.js  +1ms
  lando plugin '@lando/networking' loaded from /home/ericsmith/.lando/plugins/@lando/core/plugins/networking/app.js  +0ms
  my-lando-app proxy settings detected.  +6ms
  lando plugin '@lando/proxy' loaded from /home/ericsmith/.lando/plugins/@lando/core/plugins/proxy/app.js  +3ms
  lando plugin '@lando/scanner' loaded from /home/ericsmith/.lando/plugins/@lando/core/plugins/scanner/app.js  +0ms
  lando plugin '@lando/sharing' loaded from /home/ericsmith/.lando/plugins/@lando/core/plugins/sharing/app.js  +1ms
  lando plugin '@lando/acquia' loaded from /home/ericsmith/.lando/plugins/@lando/acquia/app.js  +1ms
  lando plugin '@lando/lagoon' loaded from /home/ericsmith/.lando/plugins/@lando/lagoon/app.js  +1ms
  lando plugin '@lando/pantheon' loaded from /home/ericsmith/.lando/plugins/@lando/pantheon/app.js  +1ms
  lando plugin '@lando/platformsh' loaded from /home/ericsmith/.lando/plugins/@lando/platformsh/app.js  +30ms
  my-lando-app emitting event pre-init  +34ms
  my-lando-app building lemp recipe named mylandoapp  +4ms
  my-lando-app building v3 lemp-php service appserver  +31ms
  lando automoved scripts from /home/ericsmith/.lando/plugins/@lando/lemp/node_modules/@lando/php/scripts to /home/ericsmith/.lando/scripts and set to mode 755  +58ms
  my-lando-app building v3 lemp-mysql service database  +42ms
  lando checking docker version compatibility...  +34ms
  lando compatibility results name=compose, link=https://docs.docker.com/compose/install/#install-compose-on-linux-systems, satisfied=true, untested=false, rupdate=false, wants=1.x.x || 2.x.x, tested=<=2.29.2, update=<=2.24.6, dockerVersion=true, version=2.29.2, name=engine, link=https://docs.docker.com/engine/install/debian/#install-using-the-convenience-script, satisfied=true, untested=true, rupdate=true, wants=>=18 <28, tested=<=27.2.0, update=x.x.x, dockerVersion=true, version=27.3.1 +0ms
  lando proxy is ON.  +4ms
  lando Setting the default proxy certificate /certs/cert.crt  +0ms
  my-lando-app emitting event post-init  +23ms
  my-lando-app adding hostnames to the app...  +0ms
  my-lando-app hostnames added to appserver_nginx 0=appserver_nginx.mylandoapp.internal +0ms
  my-lando-app hostnames added to appserver 0=appserver.mylandoapp.internal +0ms
  my-lando-app hostnames added to database 0=database.mylandoapp.internal +0ms
  my-lando-app going to build v3 services if applicable 0=appserver, 1=database, 2=appserver_nginx +1ms
  my-lando-app refreshing certificates... 0=appserver_nginx, 1=appserver, 2=database +2ms
  my-lando-app perm sweeping flagged non-root containers ... 0=database +0ms
  my-lando-app analyzing user ssh keys... using 3 of 3  +1ms
  my-lando-app key config...  none  +0ms
  my-lando-app additional tooling detected  +200ms
  my-lando-app adding app cli task composer  +0ms
  my-lando-app adding app cli task db-import   +1ms
  my-lando-app adding app cli task db-export [file]  +0ms
  my-lando-app adding app cli task php  +0ms
  my-lando-app adding app cli task mysql  +0ms
  my-lando-app adding app cli task where-is-composer  +0ms
  my-lando-app setting LANDO_INFO...  +2ms
  my-lando-app ensuring exposed ports on appserver_nginx are bound to 127.0.0.1  +1ms
  my-lando-app ensuring exposed ports on appserver_nginx are bound to 127.0.0.1  +0ms
  my-lando-app ensuring exposed ports on database are bound to 127.0.0.1  +0ms
  my-lando-app emitting event post-init-engine  +0ms
  my-lando-app attempting to find open services...  +1ms
  lando emitting event pre-engine-autostart  +213ms
  lando build-engine exists: true  +1ms
  lando orchestrator exists: true  +0ms
  lando emitting event engine-autostart  +0ms
  lando engine is up.  +30ms
  lando emitting event pre-engine-up  +1ms
  lando emitting event post-engine-up  +1ms
  lando emitting event pre-engine-list  +0ms
  lando emitting event post-engine-list  +10ms
  lando emitting event pre-engine-autostart  +0ms
  lando emitting event pre-engine-autostart  +0ms
  lando emitting event pre-engine-autostart  +1ms
  lando emitting event engine-autostart  +0ms
  lando emitting event engine-autostart  +0ms
  lando emitting event engine-autostart  +0ms
  lando emitting event pre-engine-up  +0ms
  lando emitting event pre-engine-up  +0ms
  lando emitting event pre-engine-up  +1ms
  lando emitting event post-engine-up  +0ms
  lando emitting event post-engine-up  +0ms
  lando emitting event post-engine-up  +0ms
  lando emitting event pre-engine-isRunning  +0ms
  lando emitting event pre-engine-isRunning  +1ms
  lando emitting event pre-engine-isRunning  +0ms
  lando emitting event post-engine-isRunning  +3ms
  lando emitting event post-engine-isRunning  +1ms
  lando emitting event post-engine-isRunning  +0ms
  lando emitting event pre-engine-autostart  +1ms
  lando emitting event pre-engine-autostart  +0ms
  lando emitting event pre-engine-autostart  +0ms
  lando emitting event engine-autostart  +0ms
  lando emitting event engine-autostart  +1ms
  lando emitting event engine-autostart  +0ms
  lando emitting event pre-engine-up  +0ms
  lando emitting event pre-engine-up  +0ms
  lando emitting event pre-engine-up  +0ms
  lando emitting event post-engine-up  +1ms
  lando emitting event post-engine-up  +0ms
  lando emitting event post-engine-up  +0ms
  lando emitting event pre-engine-scan  +0ms
  lando emitting event pre-engine-scan  +0ms
  lando emitting event pre-engine-scan  +0ms
  lando emitting event post-engine-scan  +3ms
  lando emitting event post-engine-scan  +0ms
  lando emitting event post-engine-scan  +1ms
  my-lando-app app is ready!  +68ms
  my-lando-app emitting event ready  +0ms
  my-lando-app overriding task exec with dynamic app options  +1ms
  my-lando-app overriding task ssh with dynamic app options  +0ms
  my-lando-app v4 app is ready!  +8ms
  my-lando-app emitting event ready-v4  +0ms
  my-lando-app emitting event ready-engine  +2ms
  my-lando-app using docker-compose /home/ericsmith/.lando/bin/docker-compose-v2.29.2  +0ms
  my-lando-app discovering dynamic portforward info...  +0ms
  lando emitting event pre-engine-autostart  +23ms
  lando emitting event engine-autostart  +0ms
  lando emitting event pre-engine-up  +0ms
  lando emitting event post-engine-up  +0ms
  lando emitting event pre-engine-list  +0ms
  lando emitting event post-engine-list  +3ms
  lando emitting event pre-engine-autostart  +1ms
  lando emitting event engine-autostart  +0ms
  lando emitting event pre-engine-up  +0ms
  lando emitting event post-engine-up  +1ms
  lando emitting event pre-engine-scan  +0ms
  lando emitting event post-engine-scan  +1ms
  lando using cli config { args: [ '--dns-result-order=ipv4first' ], commit: false, coreBase: false, dev: false, entrypoint: '/usr/local/bin/lando', file: '/usr/local/bin/lando', installPath: '/home/ericsmith/.lando/bin', packaged: true, plugin: '/snapshot/cli', slim: true, source: false } +923ms
Usage: lando  [args] [options]

Commands:
  lando config             Displays the lando configuration
  lando destroy            Destroys your app
  lando exec               Runs command(s) on a service
  lando info               Prints info about your app
  lando init               Fetched code and/or initializes a Landofile
                           for use with lando
  lando list               Lists all running lando apps and containers
  lando logs               Displays logs for your app
  lando poweroff           Spins down all lando related containers
  lando rebuild            Rebuilds your app from scratch, preserving
                           data
  lando restart            Restarts your app
  lando start              Starts your app
  lando stop               Stops your app
  lando update             Updates lando
  lando version            Displays lando version information
  lando where-is-composer  Runs composer

Options:
  --channel      Sets the update channel
                           [array] [choices: "edge", "none", "stable"]
  --clear        Clears the lando tasks cache                [boolean]
  --debug        Shows debug output                          [boolean]
  --help         Shows lando or delegated command help if applicable
                                                             [boolean]
  --verbose, -v  Runs with extra verbosity                     [count]

Examples:
  lando start               Run lando start
  lando rebuild --help      Get help about using the lando rebuild
                            command
  lando destroy -y --debug  Run lando destroy non-interactively and
                            with maximum verbosity
  lando --clear             Clear the lando tasks cache

You need at least one command before moving on
AaronFeledy commented 3 days ago

Does lando version show the correct version?

Is everything up to date if you run lando update again?

Does lando setup find anything it needs to install?

Any errors or warnings during lando rebuild?

Does lando --clear help?

radimklaska commented 3 days ago

Hello, I'm having the same problem.

lando setup / update / rebuild, lando --clear did not help. An interesting observation is that the @lando/cli update is always available even after I finish running lando update:

✔ rk-fw16:~> lando version
v3.22.1
✔ rk-fw16:~> lando update
Generating plugin/cli update matrix... done [see table below]

 PACKAGE              STATUS             COMMENT                                           
 ──────────────────── ────────────────── ───────────────────────────────────────────────── 
...                                      
 @lando/cli           ⚠ Update available https://github.com/lando/cli/releases/tag/v3.22.1 
...
ericgsmith commented 2 days ago

Lando version shows 3.22.1 as expected.

Lando update - I missed it but yes I see the same output as @radimklaska - it always shows cli as needing an update. I see https://github.com/lando/cli/issues/263 - I will look in there for any clues.

Lando setup says I'm good to go.

Clear and rebuild made no difference / no errors, I will see the related thread about the cli being stuck.

ericgsmith commented 2 days ago

Right - some of the steps in #263 resolved this for me.

Previously when reinstalling I had removed the old binary and run the reinstall script.

This time I did a full uninstall of removing the binary and I think crucially the full cleanup here which I missed yesterday https://docs.lando.dev/getting-started/uninstalling.html#further-cleanup

This time after reinstalling its all back to normal.

I guess this is just a weird side effect of having something weird lingering somewhere - either way I'm good now :)

Happy for this to be closed if a full uninstall including removing lando configuration works for you too @radimklaska

AaronFeledy commented 2 days ago

This happens when lando is still lingering in the old install location. These steps are the fix: https://github.com/lando/cli/issues/263#issuecomment-2102984552

radimklaska commented 1 day ago
✔ rk-fw16:~> which lando
/usr/local/bin/lando
✔ rk-fw16:~> lando version --component @lando/cli
v3.21.0
✔ rk-fw16:~> sudo rm -rf /usr/local/bin/lando
[sudo] password for radimklaska: 
✔ rk-fw16:~> which lando
✘-1 rk-fw16:~> lando version --component @lando/cli
bash: /usr/local/bin/lando: No such file or directory
✘-127 rk-fw16:~>

That does not seem like an unusual location and I don't have any other Lando binaries. I would guess my binary was old version maybe? I installed Lando again with https://docs.lando.dev/install/linux.html#linux and I can see the recipe tooling again...

crbanman commented 15 hours ago

https://github.com/lando/cli/issues/296#issuecomment-2417874353 full uninstall ensuring i delete absolutely everything lando related fixed the issue for me as well. though i don't believe i had any weird setup going on as i had only recently re-setup my macbook from a fresh install a couple weeks ago and only worked on some pre-existing projects before upgrading