acquia_cli
acquia_cli copied to clipboard
downloading database backups with the acquia_cli doesn't work with the latest version of curl
Description
It is not possible to download database backups on a system that has a recent version of libcurl
To Reproduce
./vendor/bin/acquiacli db:backup:download \
--progress-delay=15 \
-n prod:********* \
dev downloads --path="/tmp" --filename="backup_dl"
➜ Downloading database backup to /tmp/backup_dl.sql.gz
0 [➤⚬⚬⚬⚬⚬⚬⚬⚬⚬⚬⚬⚬⚬⚬⚬⚬⚬⚬⚬⚬⚬⚬⚬⚬⚬⚬⚬]PHP Warning: curl_exec(): Cannot call the CURLOPT_PROGRESSFUNCTION in phar:///home/circleci/project/vendor/bin/acquiacli/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php on line 40
PHP Warning: curl_exec(): Cannot call the CURLOPT_PROGRESSFUNCTION in phar:///home/circleci/project/vendor/bin/acquiacli/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php on line 40
Expected behavior
The database backup is downloaded successfuly
Desktop (please complete the following information):
- OS: I've seen this both on ubuntu 20 in CI and macOS 12.4
Additional context I believe this has been patched in guzzle so updating should hopefully fix it
Thanks @willm - any chance you can link to where this has been patched in Guzzle so I know which version I need to pull in?
This might need to be patched upstream in typhonius/acquia-php-sdk-v2 as that's responsible for Guzzle.