Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis Error When Using Lando #22

Open
kamran-zafar opened this issue Mar 23, 2023 · 3 comments
Open

Redis Error When Using Lando #22

kamran-zafar opened this issue Mar 23, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@kamran-zafar
Copy link

kamran-zafar commented Mar 23, 2023

Describe the bug

Im consistently getting redis error. I tried to follow lando/platformsh#31 but it didnt worked. I cant see lando reciepes for Drupal 10 on Docker https://hub.docker.com/r/devwithlando/php

Include some logs

lando restart -vvv
lando 15:16:12 DEBUG ==> No update available.
lando 15:16:12 VERBOSE ==> starting bootstrap at level app...
lando 15:16:12 VERBOSE ==> config bootstrap beginning...
lando 15:16:12 DEBUG ==> emitting event pre-bootstrap-config
lando 15:16:12 DEBUG ==> plugin lando-core loaded from /snapshot/cli/node_modules/@lando/core/plugins/lando-core/index.js
lando 15:16:12 DEBUG ==> plugin lando-events loaded from /snapshot/cli/node_modules/@lando/core/plugins/lando-events/index.js
lando 15:16:12 DEBUG ==> plugin lando-networking loaded from /snapshot/cli/node_modules/@lando/core/plugins/lando-networking/index.js
lando 15:16:12 DEBUG ==> plugin lando-proxy loaded from /snapshot/cli/node_modules/@lando/core/plugins/lando-proxy/index.js
lando 15:16:12 DEBUG ==> plugin lando-recipes loaded from /snapshot/cli/node_modules/@lando/core/plugins/lando-recipes/index.js
lando 15:16:12 DEBUG ==> plugin lando-services loaded from /snapshot/cli/node_modules/@lando/core/plugins/lando-services/index.js
lando 15:16:12 DEBUG ==> plugin lando-sharing loaded from /snapshot/cli/node_modules/@lando/core/plugins/lando-sharing/index.js
lando 15:16:12 DEBUG ==> plugin lando-test loaded from /snapshot/cli/node_modules/@lando/core/plugins/lando-test/index.js
lando 15:16:12 DEBUG ==> plugin lando-tooling loaded from /snapshot/cli/node_modules/@lando/core/plugins/lando-tooling/index.js
lando 15:16:12 DEBUG ==> plugin @lando/acquia loaded from /snapshot/cli/node_modules/@lando/acquia/index.js
lando 15:16:12 DEBUG ==> plugin @lando/apache loaded from /snapshot/cli/node_modules/@lando/apache/index.js
lando 15:16:12 DEBUG ==> plugin @lando/backdrop loaded from /snapshot/cli/node_modules/@lando/backdrop/index.js
lando 15:16:12 DEBUG ==> plugin @lando/compose loaded from /snapshot/cli/node_modules/@lando/compose/index.js
lando 15:16:12 DEBUG ==> plugin @lando/dotnet loaded from /snapshot/cli/node_modules/@lando/dotnet/index.js
lando 15:16:12 DEBUG ==> plugin @lando/drupal loaded from /snapshot/cli/node_modules/@lando/drupal/index.js
lando 15:16:12 DEBUG ==> plugin @lando/elasticsearch loaded from /snapshot/cli/node_modules/@lando/elasticsearch/index.js
lando 15:16:12 DEBUG ==> plugin @lando/go loaded from /snapshot/cli/node_modules/@lando/go/index.js
lando 15:16:12 DEBUG ==> plugin @lando/joomla loaded from /snapshot/cli/node_modules/@lando/joomla/index.js
lando 15:16:12 DEBUG ==> plugin @lando/lagoon loaded from /snapshot/cli/node_modules/@lando/lagoon/index.js
lando 15:16:12 DEBUG ==> plugin @lando/lamp loaded from /snapshot/cli/node_modules/@lando/lamp/index.js
lando 15:16:12 DEBUG ==> plugin @lando/laravel loaded from /snapshot/cli/node_modules/@lando/laravel/index.js
lando 15:16:12 DEBUG ==> plugin @lando/lemp loaded from /snapshot/cli/node_modules/@lando/lemp/index.js
lando 15:16:12 DEBUG ==> plugin @lando/mailhog loaded from /snapshot/cli/node_modules/@lando/mailhog/index.js
lando 15:16:12 DEBUG ==> plugin @lando/mariadb loaded from /snapshot/cli/node_modules/@lando/mariadb/index.js
lando 15:16:12 DEBUG ==> plugin @lando/mean loaded from /snapshot/cli/node_modules/@lando/mean/index.js
lando 15:16:12 DEBUG ==> plugin @lando/memcached loaded from /snapshot/cli/node_modules/@lando/memcached/index.js
lando 15:16:12 DEBUG ==> plugin @lando/mongo loaded from /snapshot/cli/node_modules/@lando/mongo/index.js
lando 15:16:12 DEBUG ==> plugin @lando/mssql loaded from /snapshot/cli/node_modules/@lando/mssql/index.js
lando 15:16:12 DEBUG ==> plugin @lando/mysql loaded from /snapshot/cli/node_modules/@lando/mysql/index.js
lando 15:16:12 DEBUG ==> plugin @lando/nginx loaded from /snapshot/cli/node_modules/@lando/nginx/index.js
lando 15:16:12 DEBUG ==> plugin @lando/node loaded from /snapshot/cli/node_modules/@lando/node/index.js
lando 15:16:12 DEBUG ==> plugin @lando/pantheon loaded from /snapshot/cli/node_modules/@lando/pantheon/index.js
lando 15:16:12 DEBUG ==> plugin @lando/php loaded from /snapshot/cli/node_modules/@lando/php/index.js
lando 15:16:12 DEBUG ==> plugin @lando/phpmyadmin loaded from /snapshot/cli/node_modules/@lando/phpmyadmin/index.js
lando 15:16:12 DEBUG ==> plugin @lando/platformsh loaded from /snapshot/cli/node_modules/@lando/platformsh/index.js
lando 15:16:12 DEBUG ==> plugin @lando/postgres loaded from /snapshot/cli/node_modules/@lando/postgres/index.js
lando 15:16:12 DEBUG ==> plugin @lando/python loaded from /snapshot/cli/node_modules/@lando/python/index.js
lando 15:16:12 DEBUG ==> plugin @lando/redis loaded from /snapshot/cli/node_modules/@lando/redis/index.js
lando 15:16:12 DEBUG ==> plugin @lando/ruby loaded from /snapshot/cli/node_modules/@lando/ruby/index.js
lando 15:16:12 DEBUG ==> plugin @lando/solr loaded from /snapshot/cli/node_modules/@lando/solr/index.js
lando 15:16:12 DEBUG ==> plugin @lando/symfony loaded from /snapshot/cli/node_modules/@lando/symfony/index.js
lando 15:16:12 DEBUG ==> plugin @lando/tomcat loaded from /snapshot/cli/node_modules/@lando/tomcat/index.js
lando 15:16:12 DEBUG ==> plugin @lando/varnish loaded from /snapshot/cli/node_modules/@lando/varnish/index.js
lando 15:16:12 DEBUG ==> plugin @lando/wordpress loaded from /snapshot/cli/node_modules/@lando/wordpress/index.js
lando 15:16:12 DEBUG ==> emitting event post-bootstrap-config
lando 15:16:12 VERBOSE ==> building proxy config...
lando 15:16:12 VERBOSE ==> config bootstrap completed.
lando 15:16:12 VERBOSE ==> tasks bootstrap beginning...
lando 15:16:12 DEBUG ==> emitting event pre-bootstrap-tasks
lando 15:16:12 DEBUG ==> autoloaded task config
lando 15:16:12 DEBUG ==> autoloaded task destroy
lando 15:16:12 DEBUG ==> autoloaded task info
lando 15:16:12 DEBUG ==> autoloaded task list
lando 15:16:12 DEBUG ==> autoloaded task logs
lando 15:16:12 DEBUG ==> autoloaded task poweroff
lando 15:16:12 DEBUG ==> autoloaded task rebuild
lando 15:16:12 DEBUG ==> autoloaded task restart
lando 15:16:12 DEBUG ==> autoloaded task share
lando 15:16:12 DEBUG ==> autoloaded task start
lando 15:16:12 DEBUG ==> autoloaded task stop
lando 15:16:12 DEBUG ==> autoloaded task version
lando 15:16:12 DEBUG ==> autoloaded task init
lando 15:16:12 DEBUG ==> autoloaded task ssh
lando 15:16:12 DEBUG ==> emitting event post-bootstrap-tasks
lando 15:16:12 VERBOSE ==> tasks bootstrap completed.
lando 15:16:12 VERBOSE ==> engine bootstrap beginning...
lando 15:16:12 DEBUG ==> emitting event pre-bootstrap-engine
lando 15:16:12 DEBUG ==> automoved scripts from /snapshot/cli/node_modules/@lando/core/plugins/lando-core/scripts to /home/kamran/.lando/scripts and set to mode 755
lando 15:16:12 DEBUG ==> automoved scripts from /snapshot/cli/node_modules/@lando/core/plugins/lando-proxy/scripts to /home/kamran/.lando/scripts and set to mode 755
lando 15:16:12 DEBUG ==> automoved scripts from /snapshot/cli/node_modules/@lando/core/plugins/lando-recipes/scripts to /home/kamran/.lando/scripts and set to mode 755
lando 15:16:12 DEBUG ==> automoved scripts from /snapshot/cli/node_modules/@lando/core/plugins/lando-services/scripts to /home/kamran/.lando/scripts and set to mode 755
lando 15:16:12 DEBUG ==> automoved scripts from /snapshot/cli/node_modules/@lando/core/plugins/lando-sharing/scripts to /home/kamran/.lando/scripts and set to mode 755
lando 15:16:12 DEBUG ==> automoved scripts from /snapshot/cli/node_modules/@lando/acquia/scripts to /home/kamran/.lando/scripts and set to mode 755
lando 15:16:12 DEBUG ==> automoved scripts from /snapshot/cli/node_modules/@lando/lagoon/scripts to /home/kamran/.lando/scripts and set to mode 755
lando 15:16:12 DEBUG ==> automoved scripts from /snapshot/cli/node_modules/@lando/pantheon/scripts to /home/kamran/.lando/scripts and set to mode 755
lando 15:16:12 DEBUG ==> automoved scripts from /snapshot/cli/node_modules/@lando/platformsh/scripts to /home/kamran/.lando/scripts and set to mode 755
lando 15:16:12 DEBUG ==> emitting event post-bootstrap-engine
lando 15:16:12 VERBOSE ==> engine bootstrap completed.
lando 15:16:12 VERBOSE ==> app bootstrap beginning...
lando 15:16:12 DEBUG ==> emitting event pre-bootstrap-app
lando 15:16:12 DEBUG ==> autoloaded builder LandoCompose
lando 15:16:12 DEBUG ==> autoloaded builder LandoAppserver
lando 15:16:12 DEBUG ==> autoloaded builder LandoService
lando 15:16:12 DEBUG ==> autoloaded builder LandoUtility
lando 15:16:12 DEBUG ==> autoloaded builder LandoWebServer
lando 15:16:12 DEBUG ==> autoloaded builder LandoDrupal
lando 15:16:12 DEBUG ==> autoloaded builder LandoLaemp
lando 15:16:12 DEBUG ==> autoloaded builder LandoAppserver
lando 15:16:12 DEBUG ==> autoloaded builder LandoPlatformAppserver
lando 15:16:12 DEBUG ==> autoloaded builder LandoPlatformService
lando 15:16:12 DEBUG ==> autoloaded builder LandoCa
lando 15:16:12 DEBUG ==> autoloaded builder LandoProxy
lando 15:16:12 DEBUG ==> autoloaded builder LandoInit
lando 15:16:12 DEBUG ==> autoloaded builder LandoMounter
lando 15:16:12 DEBUG ==> autoloaded builder LandoApache
lando 15:16:12 DEBUG ==> autoloaded builder LandoCompose
lando 15:16:12 DEBUG ==> autoloaded builder LandoDotNet
lando 15:16:12 DEBUG ==> autoloaded builder LandoElasticSearch
lando 15:16:12 DEBUG ==> autoloaded builder LandoGo
lando 15:16:12 DEBUG ==> autoloaded builder LandoLagoonElasticsearch
lando 15:16:12 DEBUG ==> autoloaded builder LandoLagoonMariaDb
lando 15:16:12 DEBUG ==> autoloaded builder LandoLagoonNginx
lando 15:16:12 DEBUG ==> autoloaded builder LandoLagoonNone
lando 15:16:12 DEBUG ==> autoloaded builder LandoLagoonPhp
lando 15:16:12 DEBUG ==> autoloaded builder LandoLagoonPhp
lando 15:16:12 DEBUG ==> autoloaded builder LandoLagoonPostgres
lando 15:16:12 DEBUG ==> autoloaded builder LandoLagoonRedis
lando 15:16:12 DEBUG ==> autoloaded builder LandoLagoonSolr
lando 15:16:12 DEBUG ==> autoloaded builder LandoLagoonVarnish
lando 15:16:12 DEBUG ==> autoloaded builder LandoMailHog
lando 15:16:12 DEBUG ==> autoloaded builder LandoMariaDb
lando 15:16:12 DEBUG ==> autoloaded builder LandoMemcached
lando 15:16:12 DEBUG ==> autoloaded builder LandoMongoDb
lando 15:16:12 DEBUG ==> autoloaded builder LandoMsSql
lando 15:16:12 DEBUG ==> autoloaded builder LandoMySql
lando 15:16:12 DEBUG ==> autoloaded builder LandoNginx
lando 15:16:12 DEBUG ==> autoloaded builder LandoNode
lando 15:16:12 DEBUG ==> autoloaded builder PantheonMariaDb
lando 15:16:12 DEBUG ==> autoloaded builder LandoPhp
lando 15:16:12 DEBUG ==> autoloaded builder LandoPma
lando 15:16:12 DEBUG ==> autoloaded builder LandoPlatformshChromeHeadless
lando 15:16:12 DEBUG ==> autoloaded builder LandoPlatformsElasticsearch
lando 15:16:12 DEBUG ==> autoloaded builder LandoPlatformshInfluxdb
lando 15:16:12 DEBUG ==> autoloaded builder LandoPlatformshKafka
lando 15:16:12 DEBUG ==> autoloaded builder LandoPlatformshMariaDB
lando 15:16:12 DEBUG ==> autoloaded builder LandoPlatformshMemcached
lando 15:16:12 DEBUG ==> autoloaded builder LandoPlatformsMongoDB
lando 15:16:12 DEBUG ==> autoloaded builder LandoPlatformshMySQL
lando 15:16:12 DEBUG ==> autoloaded builder LandoPlatformshPhp
lando 15:16:12 DEBUG ==> autoloaded builder LandoPlatformshPostgres
lando 15:16:12 DEBUG ==> autoloaded builder LandoPlatformshRabbitmq
lando 15:16:12 DEBUG ==> autoloaded builder LandoPlatformshRedis
lando 15:16:12 DEBUG ==> autoloaded builder LandoPlatformshSolr
lando 15:16:12 DEBUG ==> autoloaded builder LandoPlatformshVarnish
lando 15:16:12 DEBUG ==> autoloaded builder LandoPostgres
lando 15:16:12 DEBUG ==> autoloaded builder LandoPython
lando 15:16:12 DEBUG ==> autoloaded builder LandoRedis
lando 15:16:12 DEBUG ==> autoloaded builder LandoRuby
lando 15:16:12 DEBUG ==> autoloaded builder LandoSolr
lando 15:16:12 DEBUG ==> autoloaded builder LandoTomcat
lando 15:16:12 DEBUG ==> autoloaded builder LandoVarnish
lando 15:16:12 DEBUG ==> autoloaded builder LandoAcquia
lando 15:16:12 DEBUG ==> autoloaded builder LandoBackdrop
lando 15:16:12 DEBUG ==> autoloaded builder LandoDrupal10
lando 15:16:12 DEBUG ==> autoloaded builder LandoDrupal6
lando 15:16:12 DEBUG ==> autoloaded builder LandoDrupal7
lando 15:16:12 DEBUG ==> autoloaded builder LandoDrupal8
lando 15:16:12 DEBUG ==> autoloaded builder LandoDrupal9
lando 15:16:12 DEBUG ==> autoloaded builder LandoJoomla
lando 15:16:12 DEBUG ==> autoloaded builder LandoLagoon
lando 15:16:12 DEBUG ==> autoloaded builder LandoLamp
lando 15:16:12 DEBUG ==> autoloaded builder LandoLaravel
lando 15:16:12 DEBUG ==> autoloaded builder LandoLamp
lando 15:16:12 DEBUG ==> autoloaded builder LandoMean
lando 15:16:12 DEBUG ==> autoloaded builder LandoPantheon
lando 15:16:12 DEBUG ==> autoloaded builder LandoPlatformsh
lando 15:16:12 DEBUG ==> autoloaded builder LandoSymfony
lando 15:16:12 DEBUG ==> autoloaded builder LandoWordPress
lando 15:16:12 DEBUG ==> emitting event post-bootstrap-app
lando 15:16:12 VERBOSE ==> app bootstrap completed.
lando 15:16:12 VERBOSE ==> bootstrap completed.
lando 15:16:12 DEBUG ==> emitting event post-bootstrap
lando 15:16:12 VERBOSE ==> docker-engine exists: true
lando 15:16:12 VERBOSE ==> docker-compose exists: true
lando 15:16:12 DEBUG ==> emitting event cli-answers
lando 15:16:12 DEBUG ==> emitting event cli-restart-answers
lando 15:16:12 DEBUG ==> emitting event cli-run
lando 15:16:12 DEBUG ==> emitting event cli-restart-run
lando 15:16:12 INFO ==> loading app platformsh-drupal10 from config files 0=/home/kamran/teachorg/psh-d10/.lando.upstream.yml
lando 15:16:12 DEBUG ==> app platformsh-drupal10 has config name=platformsh-drupal10, recipe=platformsh, system.file:path:temporary=/tmp, skip_permissions_hardening=1, service=app
Stopping and restarting your app...Shiny!
platformsh-drupal10 15:16:12 INFO ==> restarting app...
platformsh-drupal10 15:16:12 INFO ==> stopping app...
platformsh-drupal10 15:16:12 VERBOSE ==> initiatilizing app at /home/kamran/teachorg/psh-d10...
lando 15:16:12 DEBUG ==> plugin lando-core loaded from /snapshot/cli/node_modules/@lando/core/plugins/lando-core/app.js
lando 15:16:12 DEBUG ==> plugin lando-events loaded from /snapshot/cli/node_modules/@lando/core/plugins/lando-events/app.js
lando 15:16:12 DEBUG ==> plugin lando-networking loaded from /snapshot/cli/node_modules/@lando/core/plugins/lando-networking/app.js
platformsh-drupal10 15:16:12 VERBOSE ==> proxy settings detected.
lando 15:16:12 DEBUG ==> plugin lando-proxy loaded from /snapshot/cli/node_modules/@lando/core/plugins/lando-proxy/app.js
lando 15:16:12 DEBUG ==> plugin lando-recipes loaded from /snapshot/cli/node_modules/@lando/core/plugins/lando-recipes/app.js
lando 15:16:12 DEBUG ==> plugin lando-services loaded from /snapshot/cli/node_modules/@lando/core/plugins/lando-services/app.js
lando 15:16:12 DEBUG ==> plugin lando-sharing loaded from /snapshot/cli/node_modules/@lando/core/plugins/lando-sharing/app.js
lando 15:16:12 DEBUG ==> plugin lando-tooling loaded from /snapshot/cli/node_modules/@lando/core/plugins/lando-tooling/app.js
lando 15:16:12 DEBUG ==> plugin @lando/acquia loaded from /snapshot/cli/node_modules/@lando/acquia/app.js
lando 15:16:12 DEBUG ==> plugin @lando/lagoon loaded from /snapshot/cli/node_modules/@lando/lagoon/app.js
lando 15:16:12 DEBUG ==> plugin @lando/pantheon loaded from /snapshot/cli/node_modules/@lando/pantheon/app.js
platformsh-drupal10 15:16:13 VERBOSE ==> identified a platformsh app
platformsh-drupal10 15:16:13 DEBUG ==> reset app id to ea2e538581aff0d92edef46ef91660309606bbe1
platformsh-drupal10 15:16:13 DEBUG ==> ensured /home/kamran/.lando/config/platformsh-drupal10 exists
lando 15:16:13 DEBUG ==> plugin @lando/platformsh loaded from /snapshot/cli/node_modules/@lando/platformsh/app.js
platformsh-drupal10 15:16:13 DEBUG ==> emitting event pre-init
platformsh-drupal10 15:16:13 VERBOSE ==> parsed platformsh routes
platformsh-drupal10 15:16:13 VERBOSE ==> parsed platformsh applications
platformsh-drupal10 15:16:13 VERBOSE ==> the closest platform app is at undefined
platformsh-drupal10 15:16:13 VERBOSE ==> the closest open cache is { database: [Array], redis: [Array] }
platformsh-drupal10 15:16:13 VERBOSE ==> determined platformsh relationships
platformsh-drupal10 15:16:13 VERBOSE ==> parsed platformsh services
platformsh-drupal10 15:16:13 VERBOSE ==> built platformsh config jsons
platformsh-drupal10 15:16:13 VERBOSE ==> building platformsh recipe named
lando 15:16:13 VERBOSE ==> proxy is ON.
lando 15:16:13 VERBOSE ==> Setting the default proxy certificate /certs/cert.crt
platformsh-drupal10 15:16:13 VERBOSE ==> building platformsh-php service drupal
platformsh-drupal10 15:16:13 VERBOSE ==> building platformsh-mariadb service db
platformsh-drupal10 15:16:13 VERBOSE ==> building platformsh-redis service cache
platformsh-drupal10 15:16:13 DEBUG ==> emitting event post-init
platformsh-drupal10 15:16:13 DEBUG ==> adding hostnames to the app...
platformsh-drupal10 15:16:13 DEBUG ==> hostnames added to drupal 0=drupal.platformshdrupal10.internal
platformsh-drupal10 15:16:13 DEBUG ==> hostnames added to db 0=db.platformshdrupal10.internal
platformsh-drupal10 15:16:13 DEBUG ==> hostnames added to cache 0=cache.platformshdrupal10.internal
platformsh-drupal10 15:16:13 VERBOSE ==> attempting to find open services...
lando 15:16:13 DEBUG ==> engine is up.
lando 15:16:13 DEBUG ==> docker is running.
platformsh-drupal10 15:16:13 DEBUG ==> engine is up.
platformsh-drupal10 15:16:13 VERBOSE ==> refreshing certificates... 0=drupal, 1=db, 2=cache
platformsh-drupal10 15:16:13 VERBOSE ==> analyzing user ssh keys... using 1 of 1
platformsh-drupal10 15:16:13 DEBUG ==> key config... none
platformsh-drupal10 15:16:13 VERBOSE ==> additional tooling detected
platformsh-drupal10 15:16:13 DEBUG ==> adding app cli task platform
platformsh-drupal10 15:16:13 DEBUG ==> adding app cli task composer
platformsh-drupal10 15:16:13 DEBUG ==> adding app cli task php
platformsh-drupal10 15:16:13 DEBUG ==> adding app cli task database
platformsh-drupal10 15:16:13 DEBUG ==> adding app cli task redis
platformsh-drupal10 15:16:13 DEBUG ==> adding app cli task pull
platformsh-drupal10 15:16:13 DEBUG ==> adding app cli task push
platformsh-drupal10 15:16:13 DEBUG ==> adding app cli task drush
platformsh-drupal10 15:16:13 VERBOSE ==> preparing to OPEN up platformsh containers...
platformsh-drupal10 15:16:13 DEBUG ==> found platformsh services to open 0=db, 1=cache
platformsh-drupal10 15:16:13 DEBUG ==> found platformsh appservers to open 0=drupal
platformsh-drupal10 15:16:13 VERBOSE ==> setting LANDO_INFO...
platformsh-drupal10 15:16:13 DEBUG ==> ensuring exposed ports on drupal are bound to 127.0.0.1
platformsh-drupal10 15:16:13 DEBUG ==> ensuring exposed ports on db are bound to 127.0.0.1
platformsh-drupal10 15:16:13 DEBUG ==> ensuring exposed ports on db are bound to 127.0.0.1
platformsh-drupal10 15:16:13 DEBUG ==> ensuring exposed ports on cache are bound to 127.0.0.1
platformsh-drupal10 15:16:13 DEBUG ==> ensuring exposed ports on cache are bound to 127.0.0.1
platformsh-drupal10 15:16:13 VERBOSE ==> app is ready!
platformsh-drupal10 15:16:13 DEBUG ==> emitting event ready
platformsh-drupal10 15:16:13 VERBOSE ==> discovering dynamic portforward info...
platformsh-drupal10 15:16:13 VERBOSE ==> reporting stop action to report=true, url=https://metrics.lando.dev
platformsh-drupal10 15:16:13 DEBUG ==> reported data command=lando restart, context=local, devMode=false, instance=4ce1418090ca5344ebcadf504c690e9c868639fb, nodeVersion=v16.14.2, mode=cli, type=Linux, platform=linux, release=5.10.16.3-microsoft-standard-WSL2, arch=x64, product=lando, version=3.11.0, app=ea2e538581aff0d92edef46ef91660309606bbe1, type=platformsh, services=[platformsh-php, platformsh-mariadb, platformsh-redis], action=stop, created=2023-03-23T10:16:13.323Z
platformsh-drupal10 15:16:13 DEBUG ==> emitting event pre-stop
platformsh-drupal10 15:16:13 DEBUG ==> process pid5 running /usr/share/lando/bin/docker-compose kill cstdio=inherit, silent=false, mode=spawn, detached=false
lando 15:16:13 VERBOSE ==> checking docker version compatibility...
lando 15:16:13 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.23, semversion=20.10.23, semmin=18.9.3, semmax=20.10.99, dockerVersion=true, satisfied=true
Killing platformshdrupal10_cache_1 ... done
Killing platformshdrupal10_db_1 ... done
platformsh-drupal10 15:16:15 DEBUG ==> process pid5 finished with exit code 0
platformsh-drupal10 15:16:15 DEBUG ==> emitting event post-stop
platformsh-drupal10 15:16:15 INFO ==> stopped app.
platformsh-drupal10 15:16:15 INFO ==> starting app...
platformsh-drupal10 15:16:15 DEBUG ==> emitting event ready
platformsh-drupal10 15:16:15 VERBOSE ==> discovering dynamic portforward info...
platformsh-drupal10 15:16:15 VERBOSE ==> reporting start action to report=true, url=https://metrics.lando.dev
platformsh-drupal10 15:16:15 DEBUG ==> reported data command=lando restart, context=local, devMode=false, instance=4ce1418090ca5344ebcadf504c690e9c868639fb, nodeVersion=v16.14.2, mode=cli, type=Linux, platform=linux, release=5.10.16.3-microsoft-standard-WSL2, arch=x64, product=lando, version=3.11.0, app=ea2e538581aff0d92edef46ef91660309606bbe1, type=platformsh, services=[platformsh-php, platformsh-mariadb, platformsh-redis], action=start, created=2023-03-23T10:16:15.288Z
platformsh-drupal10 15:16:15 DEBUG ==> emitting event pre-start
lando 15:16:15 DEBUG ==> process pid6 running /usr/share/lando/bin/docker-compose up cstdio=inherit, silent=false, mode=spawn, detached=false
landoproxyhyperion5000gandalfedition_proxy_1 is up-to-date
lando 15:16:15 DEBUG ==> process pid6 finished with exit code 0
platformsh-drupal10 15:16:15 DEBUG ==> app has proxy compose files 0=/home/kamran/.lando/compose/platformshdrupal10/proxy-0.yml
platformsh-drupal10 15:16:15 DEBUG ==> dumped platform config file for drupal to /home/kamran/.lando/config/platformsh-drupal10/drupal.json
platformsh-drupal10 15:16:15 DEBUG ==> dumped platform config file for db to /home/kamran/.lando/config/platformsh-drupal10/db.json
platformsh-drupal10 15:16:15 DEBUG ==> dumped platform config file for cache to /home/kamran/.lando/config/platformsh-drupal10/cache.json
platformsh-drupal10 15:16:15 INFO ==> running build steps...
platformsh-drupal10 15:16:15 DEBUG ==> process pid7 running /usr/share/lando/bin/docker-compose up cstdio=inherit, silent=false, mode=spawn, detached=false
platformsh-drupal10 15:16:16 DEBUG ==> metrics post to https://metrics.lando.dev failed with 400 (Bad Request) No Living connections
Starting platformshdrupal10_drupal_1 ...
Starting platformshdrupal10_drupal_1 ... done
platformsh-drupal10 15:16:18 DEBUG ==> process pid7 finished with exit code 0
platformsh-drupal10 15:16:18 DEBUG ==> process pid8 running /usr/share/lando/bin/docker-compose exec drupal /helpers/user-perms.sh cstdio=inherit, silent=false, mode=spawn, detached=false
platformsh-drupal10 15:16:19 DEBUG ==> process pid8 finished with exit code 0
platformsh-drupal10 15:16:19 DEBUG ==> process pid9 running /usr/share/lando/bin/docker-compose exec drupal /bin/sh /helpers/psh-recreate-users.sh cstdio=[inherit, pipe, pipe], silent=false, mode=spawn, detached=false
platformsh-drupal10 15:16:19 DEBUG ==> process pid9 finished with exit code 0
platformsh-drupal10 15:16:19 DEBUG ==> process pid10 running /usr/share/lando/bin/docker-compose exec drupal /bin/sh /helpers/load-keys.sh --silent cstdio=[inherit, pipe, pipe], silent=false, mode=spawn, detached=false
platformsh-drupal10 15:16:20 DEBUG ==> process pid10 finished with exit code 0
platformsh-drupal10 15:16:20 DEBUG ==> process pid11 running /usr/share/lando/bin/docker-compose exec drupal /bin/sh /helpers/psh-build.sh cstdio=[inherit, pipe, pipe], silent=false, mode=spawn, detached=false
Error response from daemon: Container 1663045202c94e73f54d577296b55540e77e0dce7252f98daef90c666e771b6f is not running
platformsh-drupal10 15:16:22 DEBUG ==> process pid11 finished with exit code 1
platformsh-drupal10 15:16:22 ERROR ==> Error response from daemon: Container 1663045202c94e73f54d577296b55540e77e0dce7252f98daef90c666e771b6f is not running

platformsh-drupal10 15:16:22 DEBUG ==> message=Error response from daemon: Container 1663045202c94e73f54d577296b55540e77e0dce7252f98daef90c666e771b6f is not running
, stack=Error: Error response from daemon: Container 1663045202c94e73f54d577296b55540e77e0dce7252f98daef90c666e771b6f is not running

at /snapshot/cli/node_modules/@lando/core/lib/shell.js

From previous event:
at Shell.sh (/snapshot/cli/node_modules/@lando/core/lib/shell.js)
at Object.dc (/snapshot/cli/node_modules/@lando/core/lib/bootstrap.js)
at compose (/snapshot/cli/node_modules/@lando/core/lib/bootstrap.js)
From previous event:
at Object.run (/snapshot/cli/node_modules/@lando/core/lib/router.js)
at run (/snapshot/cli/node_modules/@lando/core/lib/engine.js)
at /snapshot/cli/node_modules/@lando/core/lib/router.js
at processImmediate (node:internal/timers:466:21)
From previous event:
at Object.eventWrapper (/snapshot/cli/node_modules/@lando/core/lib/router.js)
at Engine.engineCmd (/snapshot/cli/node_modules/@lando/core/lib/engine.js)
at Engine.run (/snapshot/cli/node_modules/@lando/core/lib/engine.js)
at Object.runBuild (/snapshot/cli/node_modules/@lando/core/plugins/lando-services/lib/utils.js)
at AsyncEvents. (/snapshot/cli/node_modules/@lando/core/plugins/lando-services/app.js)
at AsyncEvents.handle (/snapshot/cli/node_modules/@lando/core/lib/events.js)
at /snapshot/cli/node_modules/@lando/core/lib/events.js
From previous event:
at AsyncEvents.emit (/snapshot/cli/node_modules/@lando/core/lib/events.js)
From previous event:
at App.start (/snapshot/cli/node_modules/@lando/core/lib/app.js)
at /snapshot/cli/node_modules/@lando/core/lib/app.js
From previous event:
at App.restart (/snapshot/cli/node_modules/@lando/core/lib/app.js)
at Object.run (/snapshot/cli/node_modules/@lando/core/plugins/lando-core/tasks/restart.js)
From previous event:
at /snapshot/cli/lib/cli.js
at processImmediate (node:internal/timers:466:21)
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. (/snapshot/cli/bin/lando.js)
at Module.compile (pkg/prelude/bootstrap.js:1887:22)
at Object.Module.extensions..js (node:internal/modules/cjs/loader:1157:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module.load (node:internal/modules/cjs/loader:822:12)
at Function.runMain (pkg/prelude/bootstrap.js:1940:12)
at node:internal/main/run_main_module:17:47, stackCleaned=true
platformsh-drupal10 15:16:22 VERBOSE ==> reporting error action to report=true, url=https://metrics.lando.dev
platformsh-drupal10 15:16:22 DEBUG ==> reported data command=lando restart, context=local, devMode=false, instance=4ce1418090ca5344ebcadf504c690e9c868639fb, nodeVersion=v16.14.2, mode=cli, type=Linux, platform=linux, release=5.10.16.3-microsoft-standard-WSL2, arch=x64, product=lando, version=3.11.0, message=Error response from daemon: Container 1663045202c94e73f54d577296b55540e77e0dce7252f98daef90c666e771b6f is not running
, action=error, created=2023-03-23T10:16:22.278Z
platformsh-drupal10 15:16:22 DEBUG ==> engine is up.
platformsh-drupal10 15:16:22 DEBUG ==> process pid13 running /usr/share/lando/bin/docker-compose up cstdio=inherit, silent=false, mode=spawn, detached=false
Starting platformshdrupal10_drupal_1 ...
Starting platformshdrupal10_drupal_1 ... done
Starting platformshdrupal10_db_1 ... done
Starting platformshdrupal10_cache_1 ... done
platformsh-drupal10 15:16:26 DEBUG ==> process pid13 finished with exit code 0
platformsh-drupal10 15:16:26 DEBUG ==> emitting event post-start
platformsh-drupal10 15:16:27 DEBUG ==> connected platformshdrupal10_db_1 to the landonet
platformsh-drupal10 15:16:27 DEBUG ==> connected platformshdrupal10_cache_1 to the landonet
platformsh-drupal10 15:16:27 DEBUG ==> connected platformshdrupal10_drupal_1 to the landonet
lando 15:16:27 DEBUG ==> engine is up.
platformsh-drupal10 15:16:28 DEBUG ==> aliased ["platformsh-drupal10.lndo.site","www.platformsh-drupal10.lndo.site","088d723a3aef"] to the proxynet
platformsh-drupal10 15:16:28 VERBOSE ==> attempting to find open services...
Opening platform.sh containers... this may take a bit...
lando 15:16:28 DEBUG ==> process pid15 running /usr/share/lando/bin/docker-compose exec db /helpers/psh-open.sh {"relationships":{}} cstdio=[ignore, pipe, ignore], silent=true, mode=spawn, detached=false
lando 15:16:28 DEBUG ==> process pid16 running /usr/share/lando/bin/docker-compose exec cache /helpers/psh-open.sh {"relationships":{}} cstdio=[ignore, pipe, ignore], silent=true, mode=spawn, detached=false
lando 15:16:29 DEBUG ==> process pid16 finished with exit code 0
lando 15:16:29 DEBUG ==> process pid15 finished with exit code 0
platformsh-drupal10 15:16:29 DEBUG ==> collected open data from platform services username=user, scheme=mysql, is_master=true, path=main, password=, port=3306, cluster=bespin, fragment=null, hostname=platformsh-drupal10.db.service.
.lndo.site, ip=172.26.0.2, rel=db, service=db, type=mariadb:10.4, scheme=redis, port=6379, cluster=bespin, fragment=null, hostname=platformsh-drupal10.cache.service.
.lndo.site, ip=172.26.0.3, rel=cache, service=cache, type=redis:6.0
platformsh-drupal10 15:16:29 VERBOSE ==> [object Object] has relationship config alias=database, path=db.mysql, alias=redis, path=cache.redis
platformsh-drupal10 15:16:29 VERBOSE ==> generated open payload for drupal database=[username=user, scheme=mysql, is_master=true, path=main, password=, port=3306, cluster=bespin, fragment=null, hostname=platformsh-drupal10.db.service.
.lndo.site, ip=172.26.0.2, rel=db, service=db, type=mariadb:10.4, host=database.internal], redis=[scheme=redis, port=6379, cluster=bespin, fragment=null, hostname=platformsh-drupal10.cache.service..lndo.site, ip=172.26.0.3, rel=cache, service=cache, type=redis:6.0, host=redis.internal]
platformsh-drupal10 15:16:29 DEBUG ==> cached open payload data to platformsh-drupal10.drupal.open.cache
lando 15:16:30 DEBUG ==> process pid17 running /usr/share/lando/bin/docker-compose up cstdio=[inherit, pipe, pipe], silent=true, mode=spawn, detached=false
lando 15:16:32 DEBUG ==> process pid17 finished with exit code 0
lando 15:16:32 DEBUG ==> process pid18 running /usr/share/lando/bin/docker-compose exec drupal /helpers/psh-open.sh {"relationships":{"database":[{"username":"user","scheme":"mysql","query":{"is_master":true},"path":"main","password":"","port":3306,"cluster":"bespin","fragment":null,"hostname":"platformsh-drupal10.db.service..lndo.site","ip":"172.26.0.2","rel":"db","service":"db","type":"mariadb:10.4","host":"database.internal"}],"redis":[{"scheme":"redis","port":6379,"cluster":"bespin","fragment":null,"hostname":"platformsh-drupal10.cache.service..lndo.site","ip":"172.26.0.3","rel":"cache","service":"cache","type":"redis:6.0","host":"redis.internal"}]}} cstdio=[inherit, pipe, pipe], silent=true, mode=spawn, detached=false
lando 15:16:34 DEBUG ==> process pid18 finished with exit code 1
platformsh-drupal10 15:16:34 ERROR ==> Exception: Extension '{'configuration': {}, 'name': u'redis'}' is unknown. message=Exception: Extension '{'configuration': {}, 'name': u'redis'}' is unknown., stack=Error: Exception: Extension '{'configuration': {}, 'name': u'redis'}' is unknown.
at /snapshot/cli/node_modules/@lando/core/lib/shell.js
From previous event:
at Shell.sh (/snapshot/cli/node_modules/@lando/core/lib/shell.js)
at Object.dc (/snapshot/cli/node_modules/@lando/core/lib/bootstrap.js)
at compose (/snapshot/cli/node_modules/@lando/core/lib/bootstrap.js)
From previous event:
at Object.run (/snapshot/cli/node_modules/@lando/core/lib/router.js)
at run (/snapshot/cli/node_modules/@lando/core/lib/engine.js)
at /snapshot/cli/node_modules/@lando/core/lib/router.js
From previous event:
at Object.eventWrapper (/snapshot/cli/node_modules/@lando/core/lib/router.js)
at Engine.engineCmd (/snapshot/cli/node_modules/@lando/core/lib/engine.js)
at Engine.run (/snapshot/cli/node_modules/@lando/core/lib/engine.js)
at /snapshot/cli/node_modules/@lando/platformsh/app.js
at processImmediate (node:internal/timers:466:21)
From previous event:
at /snapshot/cli/node_modules/@lando/platformsh/app.js
From previous event:
at AsyncEvents. (/snapshot/cli/node_modules/@lando/platformsh/app.js)
at AsyncEvents.handle (/snapshot/cli/node_modules/@lando/core/lib/events.js)
at /snapshot/cli/node_modules/@lando/core/lib/events.js
From previous event:
at AsyncEvents.emit (/snapshot/cli/node_modules/@lando/core/lib/events.js)
From previous event:
at App.start (/snapshot/cli/node_modules/@lando/core/lib/app.js)
at /snapshot/cli/node_modules/@lando/core/lib/app.js
From previous event:
at App.restart (/snapshot/cli/node_modules/@lando/core/lib/app.js)
at Object.run (/snapshot/cli/node_modules/@lando/core/plugins/lando-core/tasks/restart.js)
From previous event:
at /snapshot/cli/lib/cli.js
at processImmediate (node:internal/timers:466:21)
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. (/snapshot/cli/bin/lando.js)
at Module._compile (pkg/prelude/bootstrap.js:1887:22)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.runMain (pkg/prelude/bootstrap.js:1940:12)
at node:internal/main/run_main_module:17:47, stackCleaned=true

██╗ ██╗██╗ ██╗ ██████╗ ██╗ ██╗██╗
██║ ██║██║ ██║ ██╔═══██╗██║ ██║██║
██║ ██║███████║ ██║ ██║███████║██║
██║ ██║██╔══██║ ██║ ██║██╔══██║╚═╝
╚██████╔╝██║ ██║ ╚██████╔╝██║ ██║██╗
╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝

An error occurred while starting up your app!
Here are a few things you can try to get back into a good state:

■ Try running lando rebuild
■ Try restarting in debug mode lando restart -vvv
■ Try checking the logs with lando logs

If those fail then consult the troubleshooting materials:

https://docs.lando.dev/help/logs.html
https://docs.lando.dev/help/updating.html

Or post your issue to Slack or GitHub

■ Slack - https://launchpass.com/devwithlando
■ GitHub - https://github.com/lando/lando/issues/new/choose

lando 15:16:34 ERROR ==> Error: Exception: Extension '{'configuration': {}, 'name': u'redis'}' is unknown.
at /snapshot/cli/node_modules/@lando/core/lib/shell.js
From previous event:
at Shell.sh (/snapshot/cli/node_modules/@lando/core/lib/shell.js)
at Object.dc (/snapshot/cli/node_modules/@lando/core/lib/bootstrap.js)
at compose (/snapshot/cli/node_modules/@lando/core/lib/bootstrap.js)
From previous event:
at Object.run (/snapshot/cli/node_modules/@lando/core/lib/router.js)
at run (/snapshot/cli/node_modules/@lando/core/lib/engine.js)
at /snapshot/cli/node_modules/@lando/core/lib/router.js
From previous event:
at Object.eventWrapper (/snapshot/cli/node_modules/@lando/core/lib/router.js)
at Engine.engineCmd (/snapshot/cli/node_modules/@lando/core/lib/engine.js)
at Engine.run (/snapshot/cli/node_modules/@lando/core/lib/engine.js)
at /snapshot/cli/node_modules/@lando/platformsh/app.js
at processImmediate (node:internal/timers:466:21)
From previous event:
at /snapshot/cli/node_modules/@lando/platformsh/app.js
From previous event:
at AsyncEvents. (/snapshot/cli/node_modules/@lando/platformsh/app.js)
at AsyncEvents.handle (/snapshot/cli/node_modules/@lando/core/lib/events.js)
at /snapshot/cli/node_modules/@lando/core/lib/events.js
From previous event:
at AsyncEvents.emit (/snapshot/cli/node_modules/@lando/core/lib/events.js)
From previous event:
at App.start (/snapshot/cli/node_modules/@lando/core/lib/app.js)
at /snapshot/cli/node_modules/@lando/core/lib/app.js
From previous event:
at App.restart (/snapshot/cli/node_modules/@lando/core/lib/app.js)
at Object.run (/snapshot/cli/node_modules/@lando/core/plugins/lando-core/tasks/restart.js)
From previous event:
at /snapshot/cli/lib/cli.js
at processImmediate (node:internal/timers:466:21)
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. (/snapshot/cli/bin/lando.js)
at Module._compile (pkg/prelude/bootstrap.js:1887:22)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.runMain (pkg/prelude/bootstrap.js:1940:12)
at node:internal/main/run_main_module:17:47
lando 15:16:34 VERBOSE ==> reporting error action to report=true, url=https://metrics.lando.dev
lando 15:16:34 DEBUG ==> reported data command=lando restart, context=local, devMode=false, instance=4ce1418090ca5344ebcadf504c690e9c868639fb, nodeVersion=v16.14.2, mode=cli, type=Linux, platform=linux, release=5.10.16.3-microsoft-standard-WSL2, arch=x64, product=lando, version=3.11.0, message=Exception: Extension '{'configuration': {}, 'name': u'redis'}' is unknown., stack=Error: Exception: Extension '{'configuration': {}, 'name': u'redis'}' is unknown.
at /snapshot/cli/node_modules/@lando/core/lib/shell.js
From previous event:
at Shell.sh (shell.js)
at Object.dc (bootstrap.js)
at compose (bootstrap.js)
From previous event:
at Object.run (router.js)
at run (engine.js)
at /snapshot/cli/node_modules/@lando/core/lib/router.js
From previous event:
at Object.eventWrapper (router.js)
at Engine.engineCmd (engine.js)
at Engine.run (engine.js)
at /snapshot/cli/node_modules/@lando/platformsh/app.js
at processImmediate (timers:466:21)
From previous event:
at /snapshot/cli/node_modules/@lando/platformsh/app.js
From previous event:
at AsyncEvents. (app.js)
at AsyncEvents.handle (events.js)
at /snapshot/cli/node_modules/@lando/core/lib/events.js
From previous event:
at AsyncEvents.emit (events.js)
From previous event:
at App.start (app.js)
at /snapshot/cli/node_modules/@lando/core/lib/app.js
From previous event:
at App.restart (app.js)
at Object.run (restart.js)
From previous event:
at /snapshot/cli/lib/cli.js
at processImmediate (timers:466:21)
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. (lando.js)
at Module._compile (bootstrap.js:1887:22)
at Object.Module._extensions..js (loader:1157:10)
at Module.load (loader:981:32)
at Function.Module._load (loader:822:12)
at Function.runMain (bootstrap.js:1940:12)
at node:internal/main/run_main_module:17:47, action=error, created=2023-03-23T10:16:34.830Z
lando 15:16:36 DEBUG ==> metrics post to https://metrics.lando.dev failed with 400 (Bad Request) No Living connections

Reproducing

git clone
Install lando
In terminal run lando start

Expected behavior

Drupal 10 instance should started.

Your environment

Window 11 Pro
Using on WSL
Docker desktop

Screenshots

No response

Additional context

No response

@kamran-zafar kamran-zafar added the bug Something isn't working label Mar 23, 2023
@DangDinhThi
Copy link

DangDinhThi commented Apr 4, 2023

I got the same error.
just using the default Drupal 10 template from platformsh
.lando.upstream.yml

name: platformsh-drupal10
recipe: platformsh

config:
  overrides:
    app:
      variables:
        drupalconfig:
          "system.file:path:temporary": "/tmp"
        drupalsettings:
          "skip_permissions_hardening": 1

tooling:
  drush:
    service: app

.platform.app.yml

name: 'drupal'
type: 'php:8.1'
dependencies:
    php:
        composer/composer: '^2.1'
runtime:
    extensions:
        - redis
        - sodium
        - apcu
        - blackfire
relationships:
    database: 'db:mysql'
    redis: 'cache:redis'
....
....
  • Lando v3.11.0
  • Docker version 23.0.2, build 569dd73
  • Docker Compose version v2.17.2

ERROR ==> Exception: Extension '{'configuration': {}, 'name': u'redis'}' is unknown.

@gcosgreave-us
Copy link

Same issue here using:

  • Platform template platformsh-templates/drupal10
  • Lando version v3.11.0
  • Docker version 20.10.22, build 3a2c30b
  • Docker Compose version v2.15.1
Opening platform.sh containers... this may take a bit...
ERROR ==> Exception: Extension '{'configuration': {}, 'name': u'redis'}' is unknown. message=Exception: Extension '{'configuration': {}, 'name': u'redis'}' is unknown., stack=Error: Exception: Extension '{'configuration': {}, 'name': u'redis'}' is unknown.
    at /snapshot/cli/node_modules/@lando/core/lib/shell.js
From previous event:
    at Shell.sh (/snapshot/cli/node_modules/@lando/core/lib/shell.js)
    at Object.dc (/snapshot/cli/node_modules/@lando/core/lib/bootstrap.js)
    at compose (/snapshot/cli/node_modules/@lando/core/lib/bootstrap.js)
From previous event:
    at Object.run (/snapshot/cli/node_modules/@lando/core/lib/router.js)
    at run (/snapshot/cli/node_modules/@lando/core/lib/engine.js)
    at /snapshot/cli/node_modules/@lando/core/lib/router.js
From previous event:
    at Object.eventWrapper (/snapshot/cli/node_modules/@lando/core/lib/router.js)
    at Engine.engineCmd (/snapshot/cli/node_modules/@lando/core/lib/engine.js)
    at Engine.run (/snapshot/cli/node_modules/@lando/core/lib/engine.js)
    at /snapshot/cli/node_modules/@lando/platformsh/app.js
    at processImmediate (node:internal/timers:466:21)
From previous event:
    at /snapshot/cli/node_modules/@lando/platformsh/app.js
From previous event:
    at AsyncEvents.<anonymous> (/snapshot/cli/node_modules/@lando/platformsh/app.js)
    at AsyncEvents.handle (/snapshot/cli/node_modules/@lando/core/lib/events.js)
    at /snapshot/cli/node_modules/@lando/core/lib/events.js
From previous event:
    at AsyncEvents.emit (/snapshot/cli/node_modules/@lando/core/lib/events.js)
    at /snapshot/cli/node_modules/@lando/core/lib/app.js
From previous event:
    at App.start (/snapshot/cli/node_modules/@lando/core/lib/app.js)
    at Object.run (/snapshot/cli/node_modules/@lando/core/plugins/lando-core/tasks/start.js)
From previous event:
    at /snapshot/cli/lib/cli.js
    at processImmediate (node:internal/timers:466:21)
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 (node:internal/modules/cjs/loader:1157:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.runMain (pkg/prelude/bootstrap.js:1940:12)
    at node:internal/main/run_main_module:17:47, __stackCleaned__=true

@AaronFeledy
Copy link

AaronFeledy commented Jul 1, 2023

Lando is using docker.registry.platform.sh/php-8.1:latest which seems to be older than docker.registry.platform.sh/php-8.1:stable and doesn't have the redis, acpu, and blackfire extensions installed. I think P.sh needs to push a new latest image that matches the stable.

Looks like that's what @trolologuy may have done when this was an issue with the php-8.0 image: lando/platformsh#31

The workaround until the latest image is up to date is to put this in your .lando.yml:

services:
  drupal:
    overrides:
      image: docker.registry.platform.sh/php-8.1:stable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants