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

downloading database backups with the acquia_cli doesn't work with the latest version of curl #185

Open
willm opened this issue Jul 12, 2022 · 1 comment

Comments

@willm
Copy link

willm commented Jul 12, 2022

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

@typhonius
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants