web based updater blocked on line 50 in /updater/index.php

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

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 31.0.9 - 31.0.9.1
  • Operating system and version (e.g., Ubuntu 24.04):
    • Linux 6.1.0-0.deb11.21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1~bpo11+1 (2024-05-06) x86_64
  • Web server and version (e.g, Apache 2.4.25):
    • Apache (fpm-fcgi)
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • replace me
  • PHP version (e.g, 8.3):
    • 8.3.26
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • When I tried to update from version 31.0.9 to 31.0.12
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • web based updater
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

While updating from version 31.0.9 to 31.0.12 via the web based updater, the process stops in “Check for expected files” step.

The warning is :

Parsing response failed.

Warning:  The use statement with non-compound name 'CurlHandle' has no effect in <my path to the installation>/updater/index.php on line 50
{"proceed":true}

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

  1. connect to the /updater/ page

  2. click on the “Start update” button

  3. process stops in “Check for expected files” step

Log entries

Nextcloud

Nothing in nextcloud.log about the update.

Web Browser

No error in the Network tab

Configuration

Nextcloud

{
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "***REMOVED SENSITIVE VALUE***"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "31.0.9.1",
    "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "mail_smtpmode": "smtp",
    "mail_smtpsecure": "ssl",
    "mail_sendmailmode": "smtp",
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "465",
    "mail_smtpauth": 1,
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "default_phone_region": "FR",
    "enforce_theme": "dark",
    "dbdriveroptions": {
        "1002": "SET wait_timeout = 28800"
    },
    "twofactor_enforced": "true",
    "twofactor_enforced_groups": [
        "admin"
    ],
    "twofactor_enforced_excluded_groups": [
        "famille"
    ],
    "maintenance_window_start": 1,
    "maintenance": false,
    "theme": "",
    "loglevel": 2,
    "app_install_overwrite": [
        "breezedark",
        "files_rightclick",
        "metadata"
    ],
    "defaultapp": "files,dashboard",
    "updater.secret": "***REMOVED SENSITIVE VALUE***"
}

Apps

Enabled:
 - activity: 4.0.0
 - app_api: 5.0.2
 - breezedark: 29.0.0
 - bruteforcesettings: 4.0.0
 - circles: 31.0.0
 - comments: 1.21.0
 - contactsinteraction: 1.12.0
 - cookbook: 0.11.5
 - dashboard: 7.11.0
 - federation: 1.21.0
 - files_downloadlimit: 4.0.0
 - files_pdfviewer: 4.0.0
 - files_reminders: 1.4.0
 - files_sharing: 1.23.1
 - files_trashbin: 1.21.0
 - files_versions: 1.24.0
 - firstrunwizard: 4.0.0
 - logreader: 4.0.0
 - nextcloud_announcements: 3.0.0
 - notes: 4.12.4
 - notifications: 4.0.0
 - password_policy: 3.0.0
 - photos: 4.0.0
 - privacy: 3.0.0
 - recommendations: 4.0.0
 - related_resources: 2.0.0
 - serverinfo: 3.0.0
 - sharebymail: 1.21.0
 - support: 3.0.0
 - survey_client: 3.0.0
 - systemtags: 1.21.1
 - text: 5.0.0
 - twofactor_totp: 13.0.0-dev.0
 - updatenotification: 1.21.0
 - user_status: 1.11.0
 - weather_status: 1.11.0
 - webhook_listeners: 1.2.0
Disabled:
 - admin_audit
 - encryption
 - files_external
 - suspicious_login
 - twofactor_nextcloud_notification
 - user_ldap

Hey @Wilbird welcome to the Nextcloud community :waving_hand:

see

1 Like

Thank you for the welcome and for the help.

The setting : display_errors=off

solved the problem.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.