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

Setting PHP to version 8.1 with a drupal7/8 recipes makes Drush fail #152

Open
f1rf1n opened this issue Dec 13, 2024 · 2 comments
Open

Setting PHP to version 8.1 with a drupal7/8 recipes makes Drush fail #152

f1rf1n opened this issue Dec 13, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@f1rf1n
Copy link

f1rf1n commented Dec 13, 2024

I does not seem possible to set a newer php version and use drush for drupal7 and 8 recipes.

I have attached my yml file lando.yml.txt

Steps to reproduce:

  • lando init
  • choose name etc, and choose drupal7 (or drupal8) as the recipe
  • copy drupal files and import database
  • start up the app
  • type lando drush -> gives status report
  • add the following to lando.yml

services:
appserver:
type: php:8.1

  • lando rebuild -y
  • run lando drush again
    ERROR: OCI runtime exec failed: exec failed: container_linux.go:370: starting container process caused: exec: "drush": executable file not found in $PATH: unknown
@f1rf1n f1rf1n added the bug Something isn't working label Dec 13, 2024
@f1rf1n
Copy link
Author

f1rf1n commented Dec 13, 2024

Just noticed during the rebuild there is an error. Unfortunately it is not informative enough for me :-(

[+] Running 1/1
✔ Container baddrush_appserver_1 Started 0.5s
All settings correct for using Composer
Downloading...

Composer (version 2.2.22) successfully installed to: /usr/local/bin/composer
Use it: php /usr/local/bin/composer

**> curl: (6) getaddrinfo() thread failed to start

ERROR ==>**
[+] Running 2/2

@AaronFeledy
Copy link
Member

lando rebuild --debug will give more information about what is failing.

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

2 participants