lando / wordpress

The Official WordPress Lando Plugin
https://docs.lando.dev/wordpress/
GNU General Public License v3.0
13 stars 6 forks source link

Update to Lando 3.20.7 is breaking WordPress recipes #55

Closed sebastienserre closed 7 months ago

sebastienserre commented 7 months ago
$ lando rebuild --y
WARN ==> wordpress is not a supported recipe type.
ERROR ==> Could not find a service builder called wordpress in the builder registry!
$ 
name: helpdesk-polylang
recipe: wordpress
config:
  webroot: .
  xdebug: true
  database: mariadb
  php: '8.1'
  mariadb: '10.6'
  config:
    php: ./../../../php.ini
services:
  appserver:
    overrides:
      environment:
        # Support debugging CLI with XDEBUG.
        PHP_IDE_CONFIG: "serverName=helpdesk-polylang.lndo.site"
        XDEBUG_SESSION_START: lando
# can't make it working
#  database:
#    type: mariadb:10.5
  pma:
    type: phpmyadmin
    hosts:
      - database
  mailhog:
    type: mailhog
    hogfrom:
    - appserver
#  redis:
#    type: redis
#    portforward: true
tooling:
  composer:
    service: appserver
  phpdebug:
    service: appserver
    cmd:
      - php
    env:
      XDEBUG_TRIGGER: 1
      PHP_IDE_CONFIG: "serverName=helpdesk-polylang.lndo.site"
proxy:
  appserver:
    - helpdesk-polylang.lndo.site
    - url1.lndo.site
    - url2.lndo.site
    - url3.lndo.site
    - url4.lndo.site
    - english-website.lndo.site
    - french-website.lndo.site
    - en.helpdesk-polylang.lndo.site
    - fr.helpdesk-polylang.lndo.site
    - subdomain1.helpdesk-polylang.lndo.site
    - subdomain2.helpdesk-polylang.lndo.site
  pma:
    - pma-helpdesk.lndo.site
  mailhog:
    - mailhog-helpdesk.lndo.site
events:
  post-start:
    - appserver: sleep 20
    - appserver: wp core update
    - appserver: wp plugin update --all --exclude=polylang,polylang-pro,polylang-wc,fse-classic
    - appserver: wp language core update
    - appserver: wp language plugin update --all
    - appserver: wp theme update --all
    - appserver: wp language theme update --all

Back to Lando 3.20.6 and it works.

sebastienserre commented 7 months ago

Lando 3.20.8 seems to solve this