Skip to content

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

@willm

Description

@willm

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions