Automattic / vip-cli

The VIP CLI
https://docs.wpvip.com/vip-cli/
MIT License
59 stars 16 forks source link

Can't start site anymore on Docker 4.21.1 #1436

Closed Antonio-Laguna closed 1 year ago

Antonio-Laguna commented 1 year ago

Hi here!

I don't know what went south, perhaps a new Docker version.

This is what happens whenever I start the project now:

vip dev-env start --slug $PROJECT
Running validation steps...
✓ Check for Docker installation
✓ Check for docker-compose installation
✓ Check Docker connectivity
✓ Check DNS resolution
The most recent WordPress version available is: 6.3
Environment WordPress version is: 6.2 (6.2.2)
✔ Would You like to change the WordPress version?  · no (don't ask anymore)
We won't ask about upgrading this environment anymore.
To manually upgrade please run: vip dev-env update --slug=$PROJECT
no container to killNo stopped containers
[+] Pulling 21/21
 ✔ php Pulled                                                                                                2.0s
 ✔ vip-mu-plugins Pulled                                                                                     2.0s
 ✔ devtools Pulled                                                                                           1.9s
 ✔ elasticsearch 9 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿]      0B/0B      Pulled                                                16.9s
   ✔ eaead16dc43b Already exists                                                                             0.0s
   ✔ e247f12a2b5f Pull complete                                                                              1.6s
   ✔ a0495283e709 Pull complete                                                                              1.7s
   ✔ 7c7e458ee599 Pull complete                                                                             13.5s
   ✔ 00ffe59d0e26 Pull complete                                                                             13.5s
   ✔ aab476f874bd Pull complete                                                                             13.5s
   ✔ a20df4c47e64 Pull complete                                                                             13.6s
   ✔ ef90b430ba5b Pull complete                                                                             13.6s
   ✔ 79f96f41bfec Pull complete                                                                             13.6s
 ✔ nginx Pulled                                                                                              1.9s
 ✔ wordpress Pulled                                                                                          1.9s
 ✔ memcached Pulled                                                                                          2.4s
 ✔ mailpit 3 layers [⣿⣿⣿]      0B/0B      Pulled                                                             7.6s
   ✔ 31e352740f53 Already exists                                                                             0.0s
   ✔ 1913284c823c Pull complete                                                                              3.6s
   ✔ 8b66e07694a9 Pull complete                                                                              4.4s
 ✔ database Pulled                                                                                           2.4s
[+] Building 0.0s (0/0)
[+] Running 1/1
 ✔ Container vip-dev-env-proxy-proxy-1  Started                                                              1.5s
[+] Running 0/0
 ⠋ Network $PROJECT_default  Creating                                                                    0.1s
[+] Running 1/1twork with name vip-dev-env-proxy_edge exists but was not created for project "$PROJECT".
 ✔ Network $PROJECT_default  Created                                                                     0.1s
network vip-dev-env-proxy_edge was found but has incorrect label com.docker.compose.network set to "edge"
Error:

Please re-run the command with "--debug @automattic/vip:bin:dev-environment" appended to it and provide the stack trace on the support ticket.

Example:

vip dev-env <command> <arguments> --debug @automattic/vip:bin:dev-environment

My current environment is:

vip -v && node -v && npm -v && docker --version
2.32.0
v18.16.1
9.5.1
Docker version 24.0.2, build cb74dfc

I've tried to recreate the environment from the ground and I didn't have any luck either. I've changed (here and below) the slug with $PROJECT but it's an all lowercase, no symbols, environment.

Below is the debug:

See extended debug ``` @automattic/vip:bin:dev-environment Getting Lando config, using paths '~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando' and '~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/@lando' for plugins +0ms lando 19:22:36 VERBOSE ==> starting bootstrap at level app... lando 19:22:36 VERBOSE ==> config bootstrap beginning... lando 19:22:36 DEBUG ==> emitting event pre-bootstrap-config lando 19:22:36 DEBUG ==> plugin lando-core loaded from ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/plugins/lando-core/index.js lando 19:22:36 DEBUG ==> plugin lando-events loaded from ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/plugins/lando-events/index.js lando 19:22:36 DEBUG ==> plugin lando-networking loaded from ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/plugins/lando-networking/index.js lando 19:22:36 DEBUG ==> plugin lando-proxy loaded from ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/plugins/lando-proxy/index.js lando 19:22:36 DEBUG ==> plugin lando-recipes loaded from ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/plugins/lando-recipes/index.js lando 19:22:36 DEBUG ==> plugin lando-services loaded from ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/plugins/lando-services/index.js lando 19:22:36 DEBUG ==> plugin lando-sharing loaded from ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/plugins/lando-sharing/index.js lando 19:22:36 DEBUG ==> plugin lando-test loaded from ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/plugins/lando-test/index.js lando 19:22:36 DEBUG ==> plugin lando-tooling loaded from ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/plugins/lando-tooling/index.js lando 19:22:36 DEBUG ==> plugin @lando/compose loaded from ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/@lando/compose/index.js lando 19:22:36 DEBUG ==> plugin @lando/phpmyadmin loaded from ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/@lando/phpmyadmin/index.js lando 19:22:36 DEBUG ==> emitting event post-bootstrap-config lando 19:22:36 VERBOSE ==> building proxy config... lando 19:22:36 VERBOSE ==> config bootstrap completed. lando 19:22:36 VERBOSE ==> tasks bootstrap beginning... lando 19:22:36 DEBUG ==> emitting event pre-bootstrap-tasks lando 19:22:36 DEBUG ==> autoloaded task config lando 19:22:36 DEBUG ==> autoloaded task destroy lando 19:22:36 DEBUG ==> autoloaded task info lando 19:22:36 DEBUG ==> autoloaded task list lando 19:22:36 DEBUG ==> autoloaded task logs lando 19:22:36 DEBUG ==> autoloaded task poweroff lando 19:22:36 DEBUG ==> autoloaded task rebuild lando 19:22:36 DEBUG ==> autoloaded task restart lando 19:22:36 DEBUG ==> autoloaded task start lando 19:22:36 DEBUG ==> autoloaded task stop lando 19:22:36 DEBUG ==> autoloaded task version lando 19:22:36 DEBUG ==> autoloaded task init lando 19:22:36 DEBUG ==> autoloaded task ssh lando 19:22:36 DEBUG ==> emitting event post-bootstrap-tasks lando 19:22:36 VERBOSE ==> tasks bootstrap completed. lando 19:22:36 VERBOSE ==> engine bootstrap beginning... lando 19:22:36 DEBUG ==> emitting event pre-bootstrap-engine lando 19:22:36 DEBUG ==> automoved scripts from ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/plugins/lando-core/scripts to ~/.local/share/vip/lando/scripts and set to mode 755 lando 19:22:36 DEBUG ==> automoved scripts from ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/plugins/lando-proxy/scripts to ~/.local/share/vip/lando/scripts and set to mode 755 lando 19:22:36 DEBUG ==> automoved scripts from ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/plugins/lando-recipes/scripts to ~/.local/share/vip/lando/scripts and set to mode 755 lando 19:22:36 DEBUG ==> automoved scripts from ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/plugins/lando-services/scripts to ~/.local/share/vip/lando/scripts and set to mode 755 lando 19:22:36 DEBUG ==> automoved scripts from ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/plugins/lando-sharing/scripts to ~/.local/share/vip/lando/scripts and set to mode 755 lando 19:22:37 DEBUG ==> emitting event post-bootstrap-engine lando 19:22:37 VERBOSE ==> engine bootstrap completed. lando 19:22:37 VERBOSE ==> app bootstrap beginning... lando 19:22:37 DEBUG ==> emitting event pre-bootstrap-app lando 19:22:37 DEBUG ==> autoloaded builder LandoCompose lando 19:22:37 DEBUG ==> autoloaded builder LandoAppserver lando 19:22:37 DEBUG ==> autoloaded builder LandoService lando 19:22:37 DEBUG ==> autoloaded builder LandoUtility lando 19:22:37 DEBUG ==> autoloaded builder LandoWebServer lando 19:22:37 DEBUG ==> autoloaded builder LandoDrupal lando 19:22:37 DEBUG ==> autoloaded builder LandoLaemp lando 19:22:37 DEBUG ==> autoloaded builder LandoCa lando 19:22:37 DEBUG ==> autoloaded builder LandoProxy lando 19:22:37 DEBUG ==> autoloaded builder LandoInit lando 19:22:37 DEBUG ==> autoloaded builder LandoMounter lando 19:22:37 DEBUG ==> autoloaded builder LandoCompose lando 19:22:37 DEBUG ==> autoloaded builder LandoPma lando 19:22:37 DEBUG ==> emitting event post-bootstrap-app lando 19:22:37 VERBOSE ==> app bootstrap completed. lando 19:22:37 VERBOSE ==> bootstrap completed. lando 19:22:37 DEBUG ==> emitting event post-bootstrap @automattic/vip:bin:dev-environment bootstrapLando() took 942 ms +938ms Running validation steps... lando 19:22:37 VERBOSE ==> docker-engine exists: true lando 19:22:37 VERBOSE ==> docker-compose exists: true ✓ Check for Docker installation ✓ Check for Docker installation ✓ Check for docker-compose installation ✓ Check for Docker installation ✓ Check for docker-compose installation ✓ Check Docker connectivity ✓ Check DNS resolution @automattic/vip:bin:dev-environment Validation checks completed in 57 ms +1ms @automattic/vip:bin:dev-environment Will try to get instance data for environment $PROJECT +0ms @automattic/vip:bin:dev-environment Args: [] Options: { s: '$PROJECT', slug: '$PROJECT', d: '@automattic/vip:bin:dev-environment', debug: '@automattic/vip:bin:dev-environment' } +0ms @automattic/vip:bin:dev-environment Will start an environment $PROJECT +1s @automattic/vip:bin:dev-environment Instance path for $PROJECT is: ~/.local/share/vip/dev-environment/$PROJECT +1ms @automattic/vip:bin:dev-environment Will try to get instance data for environment $PROJECT +3ms The most recent WordPress version available is: 6.3 Environment WordPress version is: 6.2 (6.2.2) @automattic/vip:bin:dev-environment Will rebuild lando app on path: ~/.local/share/vip/dev-environment/$PROJECT +1s @automattic/vip:bin:dev-environment Will check for environment at ~/.local/share/vip/dev-environment/$PROJECT +0ms lando 19:22:38 INFO ==> loading app $PROJECT from config files 0=~/.local/share/vip/dev-environment/$PROJECT/.lando.yml lando 19:22:38 DEBUG ==> app $PROJECT has config name=$PROJECT, env_file=[.env], nginx=[$PROJECT.vipdev.lndo.site], phpmyadmin=[$PROJECT-pma.vipdev.lndo.site], mailpit=[$PROJECT-mailpit.vipdev.lndo.site:8025], type=compose, image=ghcr.io/automattic/vip-container-images/dev-tools:0.9, command=sleep infinity, volumes=[devtools:/dev-tools, scripts:/scripts], LANDO_NO_USER_PERMS=1, LANDO_NO_SCRIPTS=1, LANDO_NEEDS_EXEC=1, , scripts=null, type=compose, ssl=true, sslExpose=false, image=ghcr.io/automattic/vip-container-images/nginx:1.23.3, command=nginx -g "daemon off;", LANDO_NO_SCRIPTS=1, LANDO_NEEDS_EXEC=1, volumes=[./nginx/extra.conf:/etc/nginx/conf.extra/extra.conf, ./config:/wp/config, ./log:/wp/log, ./uploads:/wp/wp-content/uploads, ./wordpress:/wp, type=volume, source=mu-plugins, target=/wp/wp-content/mu-plugins, nocopy=true, ~/Projects/$PROJECT-com/client-mu-plugins:/wp/wp-content/client-mu-plugins, ~/Projects/$PROJECT-com/images:/wp/wp-content/images, ~/Projects/$PROJECT-com/languages:/wp/wp-content/languages, ~/Projects/$PROJECT-com/plugins:/wp/wp-content/plugins, ~/Projects/$PROJECT-com/private:/wp/wp-content/private, ~/Projects/$PROJECT-com/themes:/wp/wp-content/themes, ~/Projects/$PROJECT-com/vip-config:/wp/wp-content/vip-config], type=compose, image=ghcr.io/automattic/vip-container-images/php-fpm:8.0, command=run.sh, working_dir=/wp, XDEBUG=disable, VIP_DEV_AUTOLOGIN_KEY=346f1f3f-8c04-4d4b-af3b-f82865de2097, LANDO_NO_USER_PERMS=enable, LANDO_NEEDS_EXEC=1, volumes=[type=volume, source=devtools, target=/dev-tools, nocopy=true, type=volume, source=scripts, target=/scripts, nocopy=true, ./config:/wp/config, ./log:/wp/log, ./uploads:/wp/wp-content/uploads, ./wordpress:/wp, type=volume, source=mu-plugins, target=/wp/wp-content/mu-plugins, nocopy=true, ~/Projects/$PROJECT-com/client-mu-plugins:/wp/wp-content/client-mu-plugins, ~/Projects/$PROJECT-com/images:/wp/wp-content/images, ~/Projects/$PROJECT-com/languages:/wp/wp-content/languages, ~/Projects/$PROJECT-com/plugins:/wp/wp-content/plugins, ~/Projects/$PROJECT-com/private:/wp/wp-content/private, ~/Projects/$PROJECT-com/themes:/wp/wp-content/themes, ~/Projects/$PROJECT-com/vip-config:/wp/wp-content/vip-config], run_as_root=[chown www-data:www-data /wp/wp-content/mu-plugins /wp/config /wp/log /wp/wp-content/uploads /wp], run=[sh /dev-tools/setup.sh --host database --user root --domain "http://$PROJECT.vipdev.lndo.site/" --title "The Intercept" ], type=compose, image=mysql:8, command=docker-entrypoint.sh mysqld --sql-mode=ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION --max_allowed_packet=67M --default-authentication-plugin=mysql_native_password, ports=[:3306], MYSQL_ALLOW_EMPTY_PASSWORD=true, MYSQL_USER=wordpress, MYSQL_PASSWORD=wordpress, MYSQL_DATABASE=wordpress, LANDO_NO_USER_PERMS=1, LANDO_NO_SCRIPTS=1, LANDO_NEEDS_EXEC=1, volumes=[database_data:/var/lib/mysql], database_data=null, type=compose, image=memcached:1.6-alpine3.16, command=memcached -m 64, LANDO_NO_USER_PERMS=1, LANDO_NO_SCRIPTS=1, LANDO_NEEDS_EXEC=1, type=compose, image=elasticsearch:7.17.8, command=/usr/local/bin/docker-entrypoint.sh, ELASTICSEARCH_IS_DEDICATED_NODE=no, ELASTICSEARCH_CLUSTER_NAME=bespin, ELASTICSEARCH_NODE_NAME=lando, ELASTICSEARCH_PORT_NUMBER=9200, discovery.type=single-node, xpack.security.enabled=false, LANDO_NO_USER_PERMS=1, LANDO_NO_SCRIPTS=1, LANDO_NEEDS_EXEC=1, ports=[:9200], volumes=[search_data:/usr/share/elasticsearch/data], search_data=null, type=compose, image=ghcr.io/automattic/vip-container-images/wordpress:6.2, command=sh -c "rsync -a --chown=www-data:www-data /wp/ /shared/; sleep infinity", volumes=[./wordpress:/shared, type=volume, source=scripts, target=/scripts, nocopy=true], type=compose, image=ghcr.io/automattic/vip-container-images/mu-plugins:0.1, command=sh /run.sh, volumes=[mu-plugins:/shared, type=volume, source=scripts, target=/scripts, nocopy=true], LANDO_NO_SCRIPTS=1, LANDO_NEEDS_EXEC=1, , type=compose, image=axllent/mailpit:latest, command=/mailpit, ports=[:1025, :8025], LANDO_NO_USER_PERMS=1, LANDO_NO_SCRIPTS=1, LANDO_NEEDS_EXEC=1, service=php, description=Run WP-CLI command, user=www-data, cmd=[wp], service=php, description=Connect to the DB using mysql client (e.g. allow to run imports), cmd=[mysql -hdatabase -uwordpress -pwordpress -Dwordpress] $PROJECT 19:22:38 VERBOSE ==> initiatilizing app at ~/.local/share/vip/dev-environment/$PROJECT... lando 19:22:38 DEBUG ==> plugin lando-core loaded from ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/plugins/lando-core/app.js lando 19:22:38 DEBUG ==> plugin lando-events loaded from ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/plugins/lando-events/app.js lando 19:22:38 DEBUG ==> plugin lando-networking loaded from ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/plugins/lando-networking/app.js $PROJECT 19:22:38 VERBOSE ==> proxy settings detected. lando 19:22:38 DEBUG ==> plugin lando-proxy loaded from ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/plugins/lando-proxy/app.js lando 19:22:38 DEBUG ==> plugin lando-recipes loaded from ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/plugins/lando-recipes/app.js lando 19:22:38 DEBUG ==> plugin lando-services loaded from ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/plugins/lando-services/app.js lando 19:22:38 DEBUG ==> plugin lando-sharing loaded from ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/plugins/lando-sharing/app.js lando 19:22:38 DEBUG ==> plugin lando-tooling loaded from ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/plugins/lando-tooling/app.js $PROJECT 19:22:38 DEBUG ==> emitting event pre-init lando 19:22:38 VERBOSE ==> proxy is ON. lando 19:22:38 VERBOSE ==> Setting the default proxy certificate /certs/cert.crt $PROJECT 19:22:38 VERBOSE ==> building compose service devtools $PROJECT 19:22:38 VERBOSE ==> building compose service nginx $PROJECT 19:22:38 VERBOSE ==> building compose service php $PROJECT 19:22:38 VERBOSE ==> building compose service database $PROJECT 19:22:38 VERBOSE ==> building compose service memcached $PROJECT 19:22:38 VERBOSE ==> building compose service elasticsearch $PROJECT 19:22:38 VERBOSE ==> building compose service wordpress $PROJECT 19:22:38 VERBOSE ==> building compose service vip-mu-plugins $PROJECT 19:22:38 VERBOSE ==> building compose service mailpit $PROJECT 19:22:38 DEBUG ==> emitting event post-init $PROJECT 19:22:38 DEBUG ==> adding hostnames to the app... $PROJECT 19:22:38 DEBUG ==> hostnames added to devtools 0=devtools.$PROJECT.internal $PROJECT 19:22:38 DEBUG ==> hostnames added to nginx 0=nginx.$PROJECT.internal $PROJECT 19:22:38 DEBUG ==> hostnames added to php 0=php.$PROJECT.internal $PROJECT 19:22:38 DEBUG ==> hostnames added to database 0=database.$PROJECT.internal $PROJECT 19:22:38 DEBUG ==> hostnames added to memcached 0=memcached.$PROJECT.internal $PROJECT 19:22:38 DEBUG ==> hostnames added to elasticsearch 0=elasticsearch.$PROJECT.internal $PROJECT 19:22:38 DEBUG ==> hostnames added to wordpress 0=wordpress.$PROJECT.internal $PROJECT 19:22:38 DEBUG ==> hostnames added to vip-mu-plugins 0=vip-mu-plugins.$PROJECT.internal $PROJECT 19:22:38 DEBUG ==> hostnames added to mailpit 0=mailpit.$PROJECT.internal $PROJECT 19:22:38 VERBOSE ==> attempting to find open services... $PROJECT 19:22:38 DEBUG ==> engine is up. $PROJECT 19:22:38 VERBOSE ==> refreshing certificates... 0=devtools, 1=nginx, 2=php, 3=database, 4=memcached, 5=elasticsearch, 6=wordpress, 7=vip-mu-plugins, 8=mailpit $PROJECT 19:22:38 VERBOSE ==> analyzing user ssh keys... using 0 of 0 $PROJECT 19:22:38 DEBUG ==> key config... none $PROJECT 19:22:38 VERBOSE ==> additional tooling detected $PROJECT 19:22:38 DEBUG ==> adding app cli task wp $PROJECT 19:22:38 DEBUG ==> adding app cli task db $PROJECT 19:22:38 VERBOSE ==> setting LANDO_INFO... $PROJECT 19:22:38 DEBUG ==> ensuring exposed ports on database are bound to 127.0.0.1 $PROJECT 19:22:38 DEBUG ==> ensuring exposed ports on elasticsearch are bound to 127.0.0.1 $PROJECT 19:22:38 DEBUG ==> ensuring exposed ports on mailpit are bound to 127.0.0.1 $PROJECT 19:22:38 VERBOSE ==> app is ready! $PROJECT 19:22:38 DEBUG ==> emitting event ready $PROJECT 19:22:38 VERBOSE ==> discovering dynamic portforward info... @automattic/vip:bin:dev-environment getLandoApplication() took 565 ms +565ms $PROJECT 19:22:38 INFO ==> rebuilding app... $PROJECT 19:22:38 DEBUG ==> emitting event ready $PROJECT 19:22:38 VERBOSE ==> discovering dynamic portforward info... $PROJECT 19:22:38 VERBOSE ==> reporting rebuild action to $PROJECT 19:22:38 DEBUG ==> reported data command=lando unknown, context=local, devMode=false, instance=c31198c072a2308caf0942cc20ebbe89e3026b8b, nodeVersion=v18.16.1, mode=unknown, type=Darwin, platform=darwin, release=22.5.0, arch=x64, product=undefined, version=unknown, app=b224cba07e74e50986b25239fac33f0cdd5ec782, type=none, services=[compose, compose, compose, compose, compose, compose, compose, compose, compose], action=rebuild, created=2023-07-06T17:22:38.997Z $PROJECT 19:22:38 DEBUG ==> emitting event pre-rebuild $PROJECT 19:22:38 VERBOSE ==> determining pullable services... $PROJECT 19:22:38 DEBUG ==> determined pullable services service=devtools, isLocal=false, service=nginx, isLocal=false, service=php, isLocal=false, service=database, isLocal=false, service=memcached, isLocal=false, service=elasticsearch, isLocal=false, service=wordpress, isLocal=false, service=vip-mu-plugins, isLocal=false, service=mailpit, isLocal=false $PROJECT 19:22:39 INFO ==> stopping app... $PROJECT 19:22:39 DEBUG ==> emitting event ready $PROJECT 19:22:39 VERBOSE ==> discovering dynamic portforward info... $PROJECT 19:22:39 VERBOSE ==> reporting stop action to $PROJECT 19:22:39 DEBUG ==> reported data command=lando unknown, context=local, devMode=false, instance=c31198c072a2308caf0942cc20ebbe89e3026b8b, nodeVersion=v18.16.1, mode=unknown, type=Darwin, platform=darwin, release=22.5.0, arch=x64, product=undefined, version=unknown, app=b224cba07e74e50986b25239fac33f0cdd5ec782, type=none, services=[compose, compose, compose, compose, compose, compose, compose, compose, compose], action=stop, created=2023-07-06T17:22:39.012Z $PROJECT 19:22:39 DEBUG ==> emitting event pre-stop $PROJECT 19:22:39 DEBUG ==> process pid4 running /Applications/Docker.app/Contents/Resources/bin/docker-compose kill cstdio=inherit, silent=false, mode=spawn, detached=false no container to kill$PROJECT 19:22:39 DEBUG ==> process pid4 finished with exit code 0 $PROJECT 19:22:39 DEBUG ==> emitting event post-stop $PROJECT 19:22:39 INFO ==> stopped app. $PROJECT 19:22:39 INFO ==> uninstalling app... $PROJECT 19:22:39 DEBUG ==> emitting event ready $PROJECT 19:22:39 VERBOSE ==> discovering dynamic portforward info... $PROJECT 19:22:39 VERBOSE ==> reporting uninstall action to $PROJECT 19:22:39 DEBUG ==> reported data command=lando unknown, context=local, devMode=false, instance=c31198c072a2308caf0942cc20ebbe89e3026b8b, nodeVersion=v18.16.1, mode=unknown, type=Darwin, platform=darwin, release=22.5.0, arch=x64, product=undefined, version=unknown, app=b224cba07e74e50986b25239fac33f0cdd5ec782, type=none, services=[compose, compose, compose, compose, compose, compose, compose, compose, compose], action=uninstall, created=2023-07-06T17:22:39.542Z $PROJECT 19:22:39 DEBUG ==> emitting event pre-uninstall $PROJECT 19:22:39 DEBUG ==> process pid5 running /Applications/Docker.app/Contents/Resources/bin/docker-compose rm cstdio=inherit, silent=false, mode=spawn, detached=false No stopped containers $PROJECT 19:22:39 DEBUG ==> process pid5 finished with exit code 0 $PROJECT 19:22:39 DEBUG ==> emitting event post-uninstall $PROJECT 19:22:39 VERBOSE ==> removing tooling cache... @automattic/vip:bin:dev-environment Attempting to removing dev-tools volumes +965ms @automattic/vip:bin:dev-environment Will remove [] +11ms $PROJECT 19:22:39 INFO ==> uninstalled app. @automattic/vip:bin:dev-environment Will try to get instance data for environment $PROJECT +2s @automattic/vip:bin:dev-environment Registry ghcr.io is resolvable +17ms $PROJECT 19:22:39 DEBUG ==> process pid6 running /Applications/Docker.app/Contents/Resources/bin/docker-compose ps cstdio=inherit, silent=false, mode=spawn, detached=false $PROJECT 19:22:40 DEBUG ==> process pid6 finished with exit code 0 $PROJECT 19:22:40 DEBUG ==> process pid7 running /Applications/Docker.app/Contents/Resources/bin/docker-compose build cstdio=inherit, silent=false, mode=spawn, detached=false [+] Building 0.0s (0/0) $PROJECT 19:22:40 DEBUG ==> process pid7 finished with exit code 0 $PROJECT 19:22:40 INFO ==> starting app... $PROJECT 19:22:40 DEBUG ==> emitting event ready $PROJECT 19:22:40 VERBOSE ==> discovering dynamic portforward info... $PROJECT 19:22:40 VERBOSE ==> reporting start action to $PROJECT 19:22:40 DEBUG ==> reported data command=lando unknown, context=local, devMode=false, instance=c31198c072a2308caf0942cc20ebbe89e3026b8b, nodeVersion=v18.16.1, mode=unknown, type=Darwin, platform=darwin, release=22.5.0, arch=x64, product=undefined, version=unknown, app=b224cba07e74e50986b25239fac33f0cdd5ec782, type=none, services=[compose, compose, compose, compose, compose, compose, compose, compose, compose], action=start, created=2023-07-06T17:22:40.710Z $PROJECT 19:22:40 DEBUG ==> emitting event pre-start lando 19:22:40 VERBOSE ==> about to scan urls lando 19:22:40 DEBUG ==> scanning data urls=[http://127.0.0.1:80, http://127.0.0.1:8000, http://127.0.0.1:8080, http://127.0.0.1:8888, http://127.0.0.1:8008], max=1, waitCodes=[] lando 19:22:40 VERBOSE ==> about to scan urls lando 19:22:40 DEBUG ==> scanning data urls=[https://127.0.0.1:443, https://127.0.0.1:444, https://127.0.0.1:4433, https://127.0.0.1:4444, https://127.0.0.1:4443], max=1, waitCodes=[] lando 19:22:40 DEBUG ==> checking to see if http://127.0.0.1:80 is ready. lando 19:22:40 DEBUG ==> checking to see if http://127.0.0.1:8000 is ready. lando 19:22:40 DEBUG ==> checking to see if http://127.0.0.1:8080 is ready. lando 19:22:40 DEBUG ==> checking to see if http://127.0.0.1:8888 is ready. lando 19:22:40 DEBUG ==> checking to see if http://127.0.0.1:8008 is ready. lando 19:22:40 DEBUG ==> checking to see if https://127.0.0.1:443 is ready. lando 19:22:40 DEBUG ==> checking to see if https://127.0.0.1:444 is ready. lando 19:22:40 DEBUG ==> checking to see if https://127.0.0.1:4433 is ready. lando 19:22:40 DEBUG ==> checking to see if https://127.0.0.1:4444 is ready. lando 19:22:40 DEBUG ==> checking to see if https://127.0.0.1:4443 is ready. lando 19:22:40 DEBUG ==> scan failed for http://127.0.0.1:8080 code=ECONNREFUSED, message=connect ECONNREFUSED 127.0.0.1:8080 lando 19:22:40 DEBUG ==> No response for http://127.0.0.1:8080. Setting to bad lando 19:22:40 DEBUG ==> http://127.0.0.1:8080 not currently accessible lando 19:22:40 DEBUG ==> scan failed for http://127.0.0.1:8888 code=ECONNREFUSED, message=connect ECONNREFUSED 127.0.0.1:8888 lando 19:22:40 DEBUG ==> No response for http://127.0.0.1:8888. Setting to bad lando 19:22:40 DEBUG ==> http://127.0.0.1:8888 not currently accessible lando 19:22:40 DEBUG ==> scan failed for http://127.0.0.1:8008 code=ECONNREFUSED, message=connect ECONNREFUSED 127.0.0.1:8008 lando 19:22:40 DEBUG ==> No response for http://127.0.0.1:8008. Setting to bad lando 19:22:40 DEBUG ==> http://127.0.0.1:8008 not currently accessible lando 19:22:40 DEBUG ==> scan failed for https://127.0.0.1:444 code=ECONNREFUSED, message=connect ECONNREFUSED 127.0.0.1:444 lando 19:22:40 DEBUG ==> No response for https://127.0.0.1:444. Setting to bad lando 19:22:40 DEBUG ==> https://127.0.0.1:444 not currently accessible lando 19:22:40 DEBUG ==> scan failed for https://127.0.0.1:4433 code=ECONNREFUSED, message=connect ECONNREFUSED 127.0.0.1:4433 lando 19:22:40 DEBUG ==> No response for https://127.0.0.1:4433. Setting to bad lando 19:22:40 DEBUG ==> https://127.0.0.1:4433 not currently accessible lando 19:22:40 DEBUG ==> scan failed for https://127.0.0.1:4444 code=ECONNREFUSED, message=connect ECONNREFUSED 127.0.0.1:4444 lando 19:22:40 DEBUG ==> No response for https://127.0.0.1:4444. Setting to bad lando 19:22:40 DEBUG ==> https://127.0.0.1:4444 not currently accessible lando 19:22:40 DEBUG ==> scan failed for https://127.0.0.1:4443 code=ECONNREFUSED, message=connect ECONNREFUSED 127.0.0.1:4443 lando 19:22:40 DEBUG ==> No response for https://127.0.0.1:4443. Setting to bad lando 19:22:40 DEBUG ==> https://127.0.0.1:4443 not currently accessible lando 19:22:40 DEBUG ==> scan failed for http://127.0.0.1:8000 code=undefined, message=Request failed with status code 404, status=404, content-type=text/plain; charset=utf-8, x-content-type-options=nosniff, date=Thu, 06 Jul 2023 17:22:40 GMT, content-length=19, connection=close lando 19:22:40 DEBUG ==> Unkown failure for http://127.0.0.1:8000. Setting to good lando 19:22:40 DEBUG ==> http://127.0.0.1:8000 is ready lando 19:22:40 DEBUG ==> scan failed for https://127.0.0.1:443 code=undefined, message=Request failed with status code 404, status=404, content-type=text/plain; charset=utf-8, x-content-type-options=nosniff, date=Thu, 06 Jul 2023 17:22:40 GMT, content-length=19, connection=close lando 19:22:40 DEBUG ==> Unkown failure for https://127.0.0.1:443. Setting to good lando 19:22:40 DEBUG ==> https://127.0.0.1:443 is ready lando 19:22:40 DEBUG ==> scan response http://127.0.0.1:80 received status=200, date=Thu, 06 Jul 2023 17:22:40 GMT, server=Apache/2.4.56 (Unix), content-location=index.html.en, vary=negotiate, tcn=choice, last-modified=Thu, 15 Jun 2023 10:08:29 GMT, etag="2d-5fe283ff94140", accept-ranges=bytes, content-length=45, connection=close, content-type=text/html lando 19:22:40 DEBUG ==> http://127.0.0.1:80 is ready lando 19:22:41 DEBUG ==> checking to see if http://127.0.0.1:8080 is ready. lando 19:22:41 DEBUG ==> scan failed for http://127.0.0.1:8080 code=ECONNREFUSED, message=connect ECONNREFUSED 127.0.0.1:8080 lando 19:22:41 DEBUG ==> No response for http://127.0.0.1:8080. Setting to bad lando 19:22:41 DEBUG ==> http://127.0.0.1:8080 not currently accessible lando 19:22:41 DEBUG ==> checking to see if http://127.0.0.1:8888 is ready. lando 19:22:41 DEBUG ==> checking to see if http://127.0.0.1:8008 is ready. lando 19:22:41 DEBUG ==> checking to see if https://127.0.0.1:444 is ready. lando 19:22:41 DEBUG ==> checking to see if https://127.0.0.1:4433 is ready. lando 19:22:41 DEBUG ==> checking to see if https://127.0.0.1:4444 is ready. lando 19:22:41 DEBUG ==> checking to see if https://127.0.0.1:4443 is ready. lando 19:22:41 DEBUG ==> scan failed for http://127.0.0.1:8888 code=ECONNREFUSED, message=connect ECONNREFUSED 127.0.0.1:8888 lando 19:22:41 DEBUG ==> No response for http://127.0.0.1:8888. Setting to bad lando 19:22:41 DEBUG ==> http://127.0.0.1:8888 not currently accessible lando 19:22:41 DEBUG ==> scan failed for http://127.0.0.1:8008 code=ECONNREFUSED, message=connect ECONNREFUSED 127.0.0.1:8008 lando 19:22:41 DEBUG ==> No response for http://127.0.0.1:8008. Setting to bad lando 19:22:41 DEBUG ==> http://127.0.0.1:8008 not currently accessible lando 19:22:41 DEBUG ==> scan failed for https://127.0.0.1:444 code=ECONNREFUSED, message=connect ECONNREFUSED 127.0.0.1:444 lando 19:22:41 DEBUG ==> No response for https://127.0.0.1:444. Setting to bad lando 19:22:41 DEBUG ==> https://127.0.0.1:444 not currently accessible lando 19:22:41 DEBUG ==> scan failed for https://127.0.0.1:4433 code=ECONNREFUSED, message=connect ECONNREFUSED 127.0.0.1:4433 lando 19:22:41 DEBUG ==> No response for https://127.0.0.1:4433. Setting to bad lando 19:22:41 DEBUG ==> https://127.0.0.1:4433 not currently accessible lando 19:22:41 DEBUG ==> scan failed for https://127.0.0.1:4444 code=ECONNREFUSED, message=connect ECONNREFUSED 127.0.0.1:4444 lando 19:22:41 DEBUG ==> No response for https://127.0.0.1:4444. Setting to bad lando 19:22:41 DEBUG ==> https://127.0.0.1:4444 not currently accessible lando 19:22:41 DEBUG ==> scan failed for https://127.0.0.1:4443 code=ECONNREFUSED, message=connect ECONNREFUSED 127.0.0.1:4443 lando 19:22:41 DEBUG ==> No response for https://127.0.0.1:4443. Setting to bad lando 19:22:41 DEBUG ==> https://127.0.0.1:4443 not currently accessible lando 19:22:41 DEBUG ==> http://127.0.0.1:8080 not currently accessible lando 19:22:41 DEBUG ==> http://127.0.0.1:8888 not currently accessible lando 19:22:41 DEBUG ==> http://127.0.0.1:8008 not currently accessible lando 19:22:41 DEBUG ==> https://127.0.0.1:444 not currently accessible lando 19:22:41 DEBUG ==> https://127.0.0.1:4433 not currently accessible lando 19:22:41 DEBUG ==> https://127.0.0.1:4444 not currently accessible lando 19:22:41 DEBUG ==> https://127.0.0.1:4443 not currently accessible lando 19:22:41 VERBOSE ==> scan completed. lando 19:22:41 DEBUG ==> scan results. url=http://127.0.0.1:80, status=true, color=green, url=http://127.0.0.1:8000, status=true, color=green, url=http://127.0.0.1:8080, status=false, color=red, url=http://127.0.0.1:8888, status=false, color=red, url=http://127.0.0.1:8008, status=false, color=red lando 19:22:41 VERBOSE ==> scan completed. lando 19:22:41 DEBUG ==> scan results. url=https://127.0.0.1:443, status=true, color=green, url=https://127.0.0.1:444, status=false, color=red, url=https://127.0.0.1:4433, status=false, color=red, url=https://127.0.0.1:4444, status=false, color=red, url=https://127.0.0.1:4443, status=false, color=red lando 19:22:41 DEBUG ==> process pid8 running /Applications/Docker.app/Contents/Resources/bin/docker-compose up cstdio=inherit, silent=false, mode=spawn, detached=false [+] Running 1/1 ✔ Container vip-dev-env-proxy-proxy-1 Started 11.4s lando 19:22:53 DEBUG ==> process pid8 finished with exit code 0 $PROJECT 19:22:53 VERBOSE ==> Proxying to unknown service! $PROJECT 19:22:53 DEBUG ==> app has proxy compose files 0=~/.local/share/vip/lando/compose/$PROJECT/proxy-0.yml, 1=~/.local/share/vip/lando/compose/$PROJECT/proxy-1.yml, 2=~/.local/share/vip/lando/compose/$PROJECT/proxy-2.yml lando 19:22:53 DEBUG ==> engine is up. $PROJECT 19:22:53 DEBUG ==> process pid10 running /Applications/Docker.app/Contents/Resources/bin/docker-compose up cstdio=inherit, silent=false, mode=spawn, detached=false WARN[0000] a network with name vip-dev-env-proxy_edge exists but was not created for project "$PROJECT". Set `external: true` to use an existing network network vip-dev-env-proxy_edge was found but has incorrect label com.docker.compose.network set to "edge" $PROJECT 19:22:53 DEBUG ==> process pid10 finished with exit code 1 @automattic/vip:bin:dev-environment landoRebuild() took 15378 ms +14s Error: @automattic/vip:bin:dev-environment Error @automattic/vip:bin:dev-environment at ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/lib/shell.js:158:44 @automattic/vip:bin:dev-environment From previous event: @automattic/vip:bin:dev-environment at Shell.sh (~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/lib/shell.js:150:6) @automattic/vip:bin:dev-environment at exports.dc (~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/lib/bootstrap.js:160:16) @automattic/vip:bin:dev-environment at compose (~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/lib/bootstrap.js:261:43) @automattic/vip:bin:dev-environment at ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/lib/router.js:121:61 @automattic/vip:bin:dev-environment at ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/lib/router.js:21:80 @automattic/vip:bin:dev-environment at process.processImmediate (node:internal/timers:476:21) @automattic/vip:bin:dev-environment From previous event: @automattic/vip:bin:dev-environment at retryEach (~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/lib/router.js:21:42) @automattic/vip:bin:dev-environment at exports.start (~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/lib/router.js:121:36) @automattic/vip:bin:dev-environment at ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/lib/engine.js:379:57 @automattic/vip:bin:dev-environment at ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/lib/router.js:26:15 @automattic/vip:bin:dev-environment From previous event: @automattic/vip:bin:dev-environment at exports.eventWrapper (~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/lib/router.js:26:4) @automattic/vip:bin:dev-environment at Engine.engineCmd (~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/lib/engine.js:17:104) @automattic/vip:bin:dev-environment at Engine.start (~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/lib/engine.js:379:17) @automattic/vip:bin:dev-environment at ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/lib/app.js:428:29 @automattic/vip:bin:dev-environment From previous event: @automattic/vip:bin:dev-environment at App.start (~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/lib/app.js:428:6) @automattic/vip:bin:dev-environment at ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/lib/app.js:356:22 @automattic/vip:bin:dev-environment From previous event: @automattic/vip:bin:dev-environment at App.rebuild (~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/node_modules/lando/lib/app.js:356:6) @automattic/vip:bin:dev-environment at landoRebuild (~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/dist/lib/dev-environment/dev-environment-lando.js:227:15) @automattic/vip:bin:dev-environment at async startEnvironment (~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/dist/lib/dev-environment/dev-environment-core.js:81:5) @automattic/vip:bin:dev-environment at async ~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/dist/bin/vip-dev-env-start.js:65:5 @automattic/vip:bin:dev-environment at async _args.default.argv (~/.nvm/versions/node/v18.16.1/lib/node_modules/@automattic/vip/dist/lib/cli/command.js:446:11) +17s ```
Antonio-Laguna commented 1 year ago

I've downgraded to 4.20.1 and works

douglasfanucchi commented 1 year ago

I also had this issue and I think it's related to docker-compose version

ochoarobert1 commented 1 year ago

I've downgraded to 4.20.1 and it finally works.

It seems like a mismatch of proxy name or something inside generated lando.yml

tomjn commented 1 year ago

I'm also encountering this on the latest version, downgrading worked

sjinks commented 1 year ago

We have just shipped 2.32.1, it includes a fix for this bug.

ochoarobert1 commented 1 year ago

Confirmed that tis new version solves the problem. thanks a lot!

Current stack: VIP 2.32.1 Node v18.16.1 NPM 9.5.1 Docker version 24.0.2, build cb74dfc