Update to Nextcloud 33.0.8 broken?

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 33.0.7
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 24.04
  • Web server and version (e.g, Apache 2.4.25):
    • Apache 2.4.68
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • (none)
  • PHP version (e.g, 8.3):
    • 8.5
  • Is this the first time you’ve seen this error? (Yes / No):
    • yes
  • When did this problem seem to first start?
    • 33.0.7
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Bare Metal
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • no

Summary of the issue you are facing:

When upgrading from Nextcloud 33.0.7 to 33.0.8 the command fails and the update can not be continued. The server is then in an unusable state and has to be restored from the last backup (Nextcloud core and database).

Steps to replicate it (hint: details matter!):

  1. Open a console to update Nextcloud using the command php updater/updater.phar

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

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('...')

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

{
    "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***"
    }
}

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)

Seems to be Sentry:

After removing Sentry, the update worked fine.

We run Nextcloud 34 with AIO and PostgreSQL. Unfortunately, recent releases have created more maintenance work than confidence.

With 34.0.0:

  • A ShareHelper.php bug generated thousands of unnecessary warnings during normal WebDAV deletes. We patched the two missing isset() guards ourselves; the same fix only arrived officially in 34.0.1.
  • Emptying a user’s trash removed files_trashbin, causing recurring background-job errors. We had to recreate and scan those folders manually. This was fixed in 34.0.2.
  • Because we patched a core file, we temporarily had to disable the integrity warning—another avoidable compromise.

Now 34.0.3 introduces a new preview database regression affecting PostgreSQL and MySQL/MariaDB. The correction is still under review with a stable34 backport requested: issue #63229 / PR #63286.

This is the frustrating part: maintenance releases should reduce risk, not introduce another known regression while users diagnose, patch and validate production systems themselves. It increasingly feels as if ordinary users have become the live testing environment.

We compared the official source, verified our custom fixes, checked our database, cron, WebDAV, mail, logs, containers and backups. Our current 34.0.0 installation is stable with the necessary patches.

Therefore, we will not install 34.0.3. For our installation, its benefits do not justify introducing a confirmed preview/database problem. We will wait until the fix is merged, backported and included in a properly tested maintenance release.

This is not written to attack the developers. It is a request for stronger regression testing and more care before labelling maintenance releases as stable.

I still stick with Nextcloud 33, since the new “waffle” menu in Nextcloud 34 makes using it less accessible and the custom menu app is not really a solution, since it has some visual bugs which are not solved yet.

Also see:

Discussion about the new Nextcloud toolbar: App Navigation Redesign · Issue #59888 · nextcloud/server · GitHub
Bugreport for custom menu: https://gitnet.fr/deblan/side_menu/issues/510