Skip to content

Error from HttpClientTrait.php when upgrading from the CLI #3931

@juliend2

Description

@juliend2

I'm on Dreamhost, and when I do a selfupgrade (bin/gpm selfupgrade -f), this is what I get:

Preparing to upgrade to v1.8.0-beta.4..
  |- Downloading upgrade [9.76M]...     0%
In HttpClientTrait.php line 223:
                                                                                                                                     
  Unsupported option "curl" passed to "Symfony\Component\HttpClient\NativeHttpClient", did you mean "auth_basic", "auth_bearer", "q  
  uery", "headers", "body", "json", "user_data", "max_redirects", "http_version", "base_uri", "buffer", "on_progress", "resolve", "  
  proxy", "no_proxy", "timeout", "max_duration", "bindto", "verify_peer", "verify_host", "cafile", "capath", "local_cert", "local_p  
  k", "passphrase", "ciphers", "peer_fingerprint", "capture_peer_cert_chain", "extra"?                                                                                                            

self-upgrade [-f|--force] [-y|--all-yes] [-o|--overwrite] [-t|--timeout [TIMEOUT]]

About the version I have and version i tried to get:

GPM Releases Configuration: Testing

Grav v1.8.0-beta.4 is now available [release date: Mon Jan 27 13:09:27 2025].
You are currently using v1.7.0.

(it says "Testing", but the URL I downloaded is https://getgrav.org/download/core/grav-admin/1.7.0)

About the server I'm on:

$ cat /etc/issue
Ubuntu 22.04.5 LTS \n \l

PHP version:

$ php -v
PHP 8.2.26 (cli) (built: Nov 21 2024 20:16:53) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.26, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.26, Copyright (c), by Zend Technologies

Installed modules:

$ php -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dh_php_ext
dom
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
imagick
imap
intl
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
pspell
random
Reflection
session
SimpleXML
soap
sockets
sodium
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions