Skip to content

[Bug]: Update to NC 33.0.8 causes "Call to undefined method GuzzleHttp\Psr7\Utils::asciiToUpper()" #63327

Description

@arnowelzel

⚠️ This issue respects the following points: ⚠️

Bug description

When upgrading to NC 33.0.8 the occ upgrade command fails with the following error:

Setting log level to debug
Updating database schema
Updated database
An unhandled exception has been thrown:
Error: Call to undefined method GuzzleHttp\Psr7\Utils::asciiToUpper() in /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php:261
Stack trace:
#0 /var/www/nextcloud/lib/private/Http/Client/Client.php(219): GuzzleHttp\Client->request()
#1 /var/www/nextcloud/lib/private/App/AppStore/Fetcher/Fetcher.php(93): OC\Http\Client\Client->get()
#2 /var/www/nextcloud/lib/private/App/AppStore/Fetcher/AppFetcher.php(56): OC\App\AppStore\Fetcher\Fetcher->fetch()
#3 /var/www/nextcloud/lib/private/App/AppStore/Fetcher/Fetcher.php(180): OC\App\AppStore\Fetcher\AppFetcher->fetch()
#4 /var/www/nextcloud/lib/private/App/AppStore/Fetcher/AppFetcher.php(157): OC\App\AppStore\Fetcher\Fetcher->get()
#5 /var/www/nextcloud/lib/private/Installer.php(379): OC\App\AppStore\Fetcher\AppFetcher->get()
#6 /var/www/nextcloud/lib/private/Updater.php(380): OC\Installer->isUpdateAvailable()
#7 /var/www/nextcloud/lib/private/Updater.php(243): OC\Updater->upgradeAppStoreApps()
#8 /var/www/nextcloud/lib/private/Updater.php(101): OC\Updater->doUpgrade()
#9 /var/www/nextcloud/core/Command/Upgrade.php(193): OC\Updater->upgrade()
#10 /var/www/nextcloud/3rdparty/symfony/console/Command/Command.php(326): OC\Core\Command\Upgrade->execute()
#11 /var/www/nextcloud/3rdparty/symfony/console/Application.php(1098): Symfony\Component\Console\Command\Command->run()
#12 /var/www/nextcloud/3rdparty/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand()
#13 /var/www/nextcloud/3rdparty/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun()
#14 /var/www/nextcloud/lib/private/Console/Application.php(187): Symfony\Component\Console\Application->run()
#15 /var/www/nextcloud/console.php(92): OC\Console\Application->run()
#16 /var/www/nextcloud/occ(33): require_once('...')

Steps to reproduce

  1. Upgrade to Nextcloud 33.0.8

Expected behavior

Upgrade works

Nextcloud Server version

33

Operating system

Ubuntu 24.04

PHP engine version

PHP 8.5

Web server

Apache 2.4.68

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

update

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nextcloud.0x0c.de"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "skeletondirectory": "",
        "overwrite.cli.url": "https:\/\/nextcloud.0x0c.de",
        "dbtype": "mysql",
        "version": "33.0.7.1",
        "installed": true,
        "htaccess.RewriteBase": "\/",
        "maintenance": false,
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "dbpersistent": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "filelocking.enabled": true,
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "dbindex": 0
        },
        "knowledgebaseenabled": false,
        "theme": "",
        "simpleSignUpLink.shown": false,
        "loglevel": 2,
        "log_authfailip": true,
        "mysql.utf8mb4": true,
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "sendmail",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "ssl",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "updater.release.channel": "stable",
        "trashbin_retention_obligation": "auto, 30",
        "versions_retention_obligation": "auto, 180",
        "has_rebuilt_cache": true,
        "default_language": "de",
        "default_phone_region": "DE",
        "check_data_directory_permissions": false,
        "profile.enabled": false,
        "preview_max_x": 1920,
        "preview_max_y": 1920,
        "mail_sendmailmode": "smtp",
        "mail_smtpauth": true,
        "mail_smtpport": "465",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "auth.bruteforce.protection.enabled": true,
        "ratelimit.protection.enabled": true,
        "reference_opengraph": false,
        "integrity.check.disabled": false,
        "defaultapp": "files",
        "maintenance_window_start": 22,
        "apps_paths": [
            {
                "path": "\/var\/www\/nextcloud\/apps",
                "url": "\/apps",
                "writable": true
            }
        ],
        "app_install_overwrite": [],
        "forbidden_filename_characters": [
            "\\",
            "\/"
        ],
        "forbidden_filename_extensions": [
            ".filepart",
            ".part"
        ],
        "memories.db.triggers.fcu": true,
        "memories.exiftool": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/exiftool-amd64-glibc",
        "memories.vod.path": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/go-vod-amd64",
        "memories.index.path.blacklist": "\\\/(iRacing|Pornfilmfestival Berlin|heartcore)\\\/",
        "enabledPreviewProviders": [
            "OC\\Preview\\PNG",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\GIF",
            "OC\\Preview\\HEIC",
            "OC\\Preview\\BMP",
            "OC\\Preview\\XBitmap",
            "OC\\Preview\\MP3",
            "OC\\Preview\\TXT",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\Movie",
            "OC\\Preview\\MKV",
            "OC\\Preview\\MP4",
            "OC\\Preview\\AVI",
            "OC\\Preview\\Image",
            "OC\\Preview\\Imaginary"
        ],
        "dbtableprefix": "oc_",
        "memories.gis_type": 1,
        "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
        "memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
        "enable_previews": true,
        "preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
        "files.chunked_upload.max_size": 10485760,
        "files.chunked_upload.max_parallel_count": 5,
        "log_rotate_size": 0,
        "logfile": "\/var\/log\/nextcloud\/nextcloud.log",
        "overwriteprotocol": "https",
        "sentry.dsn": "***REMOVED SENSITIVE VALUE***"
    }
}

List of activated Apps

Enabled:
  - activity: 6.0.0
  - admin_audit: 1.23.0
  - app_api: 33.0.0
  - bookmarks: 16.2.4
  - bruteforcesettings: 6.0.0
  - calendar: 6.5.2
  - circles: 33.0.0
  - cloud_federation_api: 1.17.0
  - collectives: 4.4.3
  - comments: 1.23.0
  - contacts: 8.7.5
  - contactsinteraction: 1.14.1
  - dav: 1.36.0
  - dav_push: 1.0.2
  - deck: 1.17.4
  - dicomviewer: 2.3.3
  - drawio: 4.3.5
  - federatedfilesharing: 1.23.0
  - federation: 1.23.0
  - files: 2.5.0
  - files_downloadlimit: 5.1.0
  - files_pdfviewer: 6.0.0
  - files_reminders: 1.6.0
  - files_sharing: 1.25.2
  - files_trashbin: 1.23.0
  - files_versions: 1.26.0
  - flow_notifications: 4.0.0
  - impersonate: 4.0.0
  - logcleaner: 1.5.6
  - logreader: 6.0.0
  - lookup_server_connector: 1.21.0
  - memories: 8.1.0
  - nextcloud_announcements: 5.0.0
  - notes: 6.0.1
  - notifications: 6.0.0
  - notify_push: 1.3.5
  - oauth2: 1.21.0
  - password_policy: 5.0.0
  - photos: 6.0.0
  - previewgenerator: 5.14.0
  - privacy: 5.0.0
  - profile: 1.2.0
  - provisioning_api: 1.23.0
  - richdocuments: 10.3.0
  - sentry: 8.18.6
  - serverinfo: 5.0.0
  - settings: 1.16.0
  - sharebymail: 1.23.0
  - spreed: 23.0.9
  - support: 5.0.0
  - survey_client: 5.0.0
  - suspicious_login: 11.0.0
  - systemtags: 1.23.0
  - text: 7.0.1
  - theming: 2.8.0
  - theming_customcss: 1.21.0
  - twofactor_backupcodes: 1.22.0
  - twofactor_totp: 15.0.0
  - twofactor_webauthn: 2.7.0
  - updatenotification: 1.23.0
  - viewer: 6.0.0
  - webhook_listeners: 1.5.0
  - whiteboard: 1.5.9
  - workflowengine: 2.15.0
Disabled:
  - dashboard: 7.13.0 (installed 7.8.0)
  - encryption: 2.21.0 (installed 2.13.0)
  - files_external: 1.25.1 (installed 1.19.0)
  - firstrunwizard: 6.0.0 (installed 5.0.0-dev.0)
  - recommendations: 6.0.0 (installed 0.4.0)
  - related_resources: 4.0.0 (installed 1.1.0-alpha1)
  - testing: 1.23.0
  - twofactor_nextcloud_notification: 7.0.0
  - user_ldap: 1.24.0
  - user_status: 1.13.0 (installed 1.5.0)
  - weather_status: 1.13.0 (installed 1.3.0)

Nextcloud Signing status

Nextcloud Logs

Additional info

I had to restore everything from the last backup (Nextcloud itself and the database).

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmap33-feedbackbug

    Type

    Projects

    Status
    To triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions