lando / lando

A development tool for all your projects that is fast, easy, powerful and liberating
https://lando.dev
GNU General Public License v3.0
4.01k stars 544 forks source link

Issue with 3.20.7 debian package? #3642

Closed ericgsmith closed 5 months ago

ericgsmith commented 5 months ago

When updating to 3.20.7 I get a very odd experience.

Download https://github.com/lando/lando/releases/download/v3.20.7/lando-x64-v3.20.7.deb

sudo dpkg -i lando-x64-v3.20.7.deb

Then when I restart my terminal I get:

lando version
v3.21.0-alpha.7

And when I try to lando start by project I get:

ERROR ==> Could not find a service builder called drupal9 in the builder registry!

My colleague was able to reproduce the same issue trying to update to 3.20.7

I've never installed the alpha package listed, the tag diff looks normal to my eyes?

ericgsmith commented 5 months ago

https://github.com/lando/lando/compare/v3.20.6...v3.20.7 shows nothing of note - but the file size is 48.8MB for 3.20.6 and 36.1MB for 3.20.7

anthropos9 commented 5 months ago

I'm seeing the same thing with Linux Mint.

xurizaemon commented 5 months ago

Seeing this on Ubuntu Jammy, downgrade to 3.20.6 fixed it for me.

$ lando rebuild
WARN ==> drupal10 is not a supported recipe type.
ERROR ==> Could not find a service builder called drupal10 in the builder registry!
catgofire commented 5 months ago

Same thing on Mac

$ lando rebuild -y
WARN ==> wordpress is not a supported recipe type.
ERROR ==> Could not find a service builder called wordpress in the builder registry!

$ lando version
v3.21.0-alpha.7
megclaypool commented 5 months ago

Also on Mac:

$ lando version
v3.21.0-alpha.7   

$ lando rebuild -y
WARN ==> pantheon is not a supported recipe type.
ERROR ==> Could not find a service builder called pantheon in the builder registry!
reynoldsalec commented 5 months ago

Yeah recommend downgrading to v3.20.06; the CLI asset in that release was rolled against the wrong branch. Will be re-rolling a release against the correct branch shortly, apologies for the inconvenience.

megclaypool commented 5 months ago

@reynoldsalec: Will you be providing install files for the new release? It looks like you guys re-rolled 3.20.7, and Lando is prompting me to upgrade, but all I see are source files 😛 I guess I could build it locally, but I'd rather not 😆

reynoldsalec commented 5 months ago

@megclaypool it takes about an hour between a release getting posted and the assets getting compiled...an annoying issue that will fortunately be going away in the next couple weeks when we release Lando 3.21.

For now, it looks like the newly posted 3.20.7 assets should be working, so I'm going to close this out!

https://github.com/lando/lando/releases/tag/v3.20.7

kaszarobert commented 5 months ago

I installed now the latest deb and for some reason it still displays it is an alpha version, although not during install:

kaszarobert@acer-travelmate-p215-41-g2:~/Letöltések$ sudo dpkg -i lando-x64-v3.20.7.deb 
(Adatbázis olvasása ... 299354 fájl és könyvtár van jelenleg telepítve.)
Kibontás előkészítése: lando-x64-v3.20.7.deb ...
Kibontás: lando (3.20.7) e helyett: 3.20.6 ...
Beállítás: lando (3.20.7) ...
+ LANDO_ROOT=/usr/share/lando
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/usr/local/bin
+ TERM=xterm
+ chmod 755 -R /usr/share/lando
+ mkdir -p /usr/local/bin
+ ln -sf /usr/share/lando/bin/lando /usr/local/bin/lando
++ awk -F: '$1 == "sudo" {print $4}' /etc/group
+ SUDOERS=kaszarobert
+ for u in ${SUDOERS//,/ }
+ usermod -a -G docker kaszarobert
+ MAX_MAP_COUNT=262144
+ MMC_PARAMETER_PATH=/proc/sys/vm/max_map_count
+ '[' -f /proc/sys/vm/max_map_count ']'
++ sysctl -n vm.max_map_count
+ '[' 262144 -lt 262144 ']'
Aktiválók feldolgozása: gnome-menus (3.36.0-1ubuntu1) ...
Aktiválók feldolgozása: desktop-file-utils (0.24-1ubuntu3) ...
Aktiválók feldolgozása: mime-support (3.64ubuntu1) ...

kaszarobert@acer-travelmate-p215-41-g2:~/Letöltések$ lando version
v3.21.0-alpha.7
f1rf1n commented 5 months ago

Also getting a recipe drupal7 unknown. Hopefully that is not really getting removed (for at least a year)

edurenye commented 5 months ago

Just downloaded the package and I'm getting the error: drupal10 is not a supported recipe type.

xurizaemon commented 5 months ago

Yep, confirmed for me @reynoldsalec, downloaded a fresh copy just now and the .deb is still showing the same behaviours.

$ md5sum lando-x64-v3.20.7.deb 
e674425b957f8219d37a1fddc48c02da  lando-x64-v3.20.7.deb
$ lando version
v3.21.0-alpha.7
$ lando info
WARN ==> drupal10 is not a supported recipe type.
ERROR ==> Could not find a service builder called drupal10 in the builder registry!

Freshly downloaded, made sure to bypass any possible caches my side.

pirog commented 5 months ago

not sure what is going on here so i removed 3.20.7 from both the cli and package installer releases. please downgrade to 3.20.6 until we figure out what is going on

reynoldsalec commented 5 months ago

Re-rolled a 3.20.8 to make sure no incorrect cached resources are getting pulled in; sounds like that is working for folks: https://github.com/lando/lando/releases/tag/v3.20.8

ericgsmith commented 5 months ago

Thanks @reynoldsalec

3.20.8 working for me :+1:

lando version
v3.20.8
anthropos9 commented 5 months ago

Working correctly for me on Linux Mint 21.2. Thanks to everyone involved.

edurenye commented 5 months ago

Working correctly for me too. Thank you!

josebc commented 2 months ago

try running lando plugin-add @lando/drupal