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

Lando missing dependencies for latest update of ACLI #37

Open
aalderman19 opened this issue Apr 5, 2022 · 5 comments
Open

Lando missing dependencies for latest update of ACLI #37

aalderman19 opened this issue Apr 5, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@aalderman19
Copy link

When I try to run lando pull I am able to enter my Acquia API credentials but then I am presented with this error.

Box Requirements Checker
========================

> Using PHP 7.4.28
> PHP is using the following php.ini file:
  WARNING: No configuration file (php.ini) used by PHP!

> Checking Box requirements:
  ........E.


 [ERROR] Your system is not ready to run the application.


Fix the following mandatory requirements:
=========================================

 * The package "rlanvin/php-ip" requires the extension "gmp". Enable it or install a polyfill.

I know it is an error within the ACLI command, but it just looks like the container may be missing a dependency if I am understanding that correctly. Let me know if I am entirely off base.

I am using Lando v3.6.2 and my lando config is set up like this when running the command:

recipe: acquia
config:
  acli_version: latest
  ah_application_uuid: -----
  ah_site_group: ----
  php: '7.4'
  xdebug: true
  build:
    run_scripts: false

In order to fix it, I had to define the acli_version as 1.27.0. Let me know if there is anything else that I can provide that may help!

@aalderman19 aalderman19 added the bug Something isn't working label Apr 5, 2022
@rubenvarela
Copy link
Collaborator

heh. I stumbled upon this too!

I tried to install php-gmp and php7.4-gmp but it reports the packages aren't there.

Since this isn't listed as a dependency, I opened an issue with Acquia, acquia/cli#888

@Chris820
Copy link

Chris820 commented Apr 5, 2022

Add this to your lando yml, then rebuild

services:
  appserver:
    build_as_root:
      - apt update && apt install libgmp-dev -y && docker-php-ext-install gmp

@rubenvarela
Copy link
Collaborator

Trying to figure out where the issue should be fixed.

Acquia says,

Acquia CLI requires PHP 7.4 or later with the PHP-JSON and PHP-PHAR extensions enabled.

over here, https://docs.acquia.com/acquia-cli/install/, under Requirements.

@tholcomb
Copy link

tholcomb commented Apr 6, 2022

This has been fixed on Acquia's end: https://github.com/acquia/cli/releases/tag/1.28.1

@rubenvarela
Copy link
Collaborator

Was just coming to post. Thank you @tholcomb!

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