Updater/index.php line 50

The updater itself seams to have an error.I want to update from 31.0.9 to 31.0.10.The following warning appears: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}

Every time I try again the updater goes a step further (Create backup, download, verifying integrity).

The FPA-v.1.6.8 shows no errrors or warnings. Confiden A+

[quote=“Forum Post Assistant (v1.6.8) : 2-Nov-2025”][quote=“Basic Environment ::”][size=85]Joomla! Instance :: [color=orange]Not Found[/color]
Joomla! Configured :: [color=orange]Not Found[/color]

Host Configuration :: OS: Linux | OS Version: 3.10.0-1160.119.1.el7.tuxcare.els22.x86_64 | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate, br, zstd | System TMP Writable: [color=Green]Yes[/color] | Free Disk Space : 299.94 GiB |

PHP Configuration :: Version: 8.3.26 | PHP API: fpm-fcgi | Session Path Writable: [color=Green]Yes[/color] | Display Errors: 0 | Error Reporting: 22519 | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: /home/httpd/vhosts/solar-beo-ost.ch/:/tmp/ | Uploads: 1 | Max. Upload Size: 256M | Max. POST Size: 256M | Max. Input Time: 60 | Max. Execution Time: 240 | Memory Limit: 512M

Database Configuration :: [color=orange]Database Credentials incomplete or not available[/color] Nothing to display.
User Privileges : Unknown[/size][/quote][quote=“Detailed Environment ::”][size=85]PHP Extensions :: Core (8.3.26) | date (8.3.26) | [color=Green]libxml[/color] (8.3.26) | [color=Green]openssl[/color] (8.3.26) | pcre (8.3.26) | [color=Green]zlib[/color] (8.3.26) | bz2 (8.3.26) | calendar (8.3.26) | ctype (8.3.26) | hash (8.3.26) | filter (8.3.26) | ftp (8.3.26) | gettext (8.3.26) | gmp (8.3.26) | [color=Green]json[/color] (8.3.26) | [color=Green]iconv[/color] (8.3.26) | SPL (8.3.26) | random (8.3.26) | Reflection (8.3.26) | session (8.3.26) | standard (8.3.26) | [color=Green]mbstring[/color] (8.3.26) | [color=Green]SimpleXML[/color] (8.3.26) | sockets (8.3.26) | tokenizer (8.3.26) | [color=Green]xml[/color] (8.3.26) | [color=Green]cgi-fcgi[/color] (8.3.26) | mysqlnd (mysqlnd 8.3.26) | bcmath (8.3.26) | [color=Green]curl[/color] (8.3.26) | dba (8.3.26) | [color=Green]dom[/color] (20031129) | enchant (8.3.26) | [color=Green]fileinfo[/color] (8.3.26) | [color=Green]gd[/color] (8.3.26) | imagick (3.8.0) | imap (8.3.26) | intl (8.3.26) | ldap (8.3.26) | exif (8.3.26) | [color=Green]mysqli[/color] (8.3.26) | odbc (8.3.26) | PDO (8.3.26) | [color=Green]pdo_mysql[/color] (8.3.26) | PDO_ODBC (8.3.26) | pdo_sqlite (8.3.26) | Phar (8.3.26) | posix (8.3.26) | pspell (8.3.26) | redis (6.2.0) | soap (8.3.26) | sodium (8.3.26) | sqlite3 (8.3.26) | sysvmsg (8.3.26) | sysvsem (8.3.26) | sysvshm (8.3.26) | tidy (8.3.26) | xmlreader (8.3.26) | xmlwriter (8.3.26) | xsl (8.3.26) | [color=Green]zip[/color] (1.22.3) | Zend OPcache (8.3.26) | Zend Engine (4.3.26) |
Potential Missing Extensions :: [color=orange]mysql[/color] | [color=orange]mcrypt[/color] |
Disabled Functions :: opcache_get_status |

Switch User Environment :: PHP CGI: Yes | Server SU: Yes | PHP SU: Yes | Potential Ownership Issues: [color=orange]Unknown[/color] [/size][/quote][/quote]

Hello @svk,
welcome to the community of Nextcloud :handshake:

You started a topic in support category. Unfortunately you ignored the template and a lot of information to help you is missing. Please edit your original post and add all required details like Nextcloud version, webserver type and version, os version, related log file content. Use the support template.

Without additional information the community members cannot help you.

a major issue from your snippet is an issue with DB access

Regards,
wwe

Hello wwe

Thank you for the response. I thought that the FPA “click here to generate post” delivers all necessary information. How to do the database connection for the FPA?

Nextcloud version: 31.0.9
Web Server: Apache
Web Server Version: unknown
Linux 3.10.0-1160.119.1.el7.tuxcare.els22.x86_64

The logfile has no errors (more than 5000 lines).

The files /updater/index.php and /updater/updater.phar are from 11. September 2025. Could it be that there are newer once?

Thank you
svk

I have no idea what is FPA and if it is suited for Nextcloud. but you find most of data in admin > support area and support template

support → System information has not more information:

Operating system: Linux 3.10.0-1160.119.1.el7.tuxcare.els22.x86_64 #1 SMP Mon Aug 18 06:07:12 UTC 2025 x86_64

Webserver: Apache (fpm-fcgi)

Database: mysql 10.11.9

PHP version: 8.3.27

Modules loaded: Core, date, libxml, openssl, pcre, zlib, bz2, calendar, ctype, hash, filter, ftp, gettext, gmp, json, iconv, SPL, random, Reflection, session, standard, mbstring, SimpleXML, sockets, tokenizer, xml, cgi-fcgi, mysqlnd, bcmath, curl, dba, dom, enchant, fileinfo, gd, imagick, imap, intl, ldap, exif, mysqli, odbc, PDO, pdo_mysql, PDO_ODBC, pdo_sqlite, Phar, posix, pspell, redis, soap, sodium, sqlite3, sysvmsg, sysvsem, sysvshm, tidy, xmlreader, xmlwriter, xsl, zip, Zend OPcache

Nextcloud version: 31.0.9 - 31.0.9.1

Enabled:
 - activity: 4.0.0
 - admin_audit: 1.21.0
 - app_api: 5.0.2
 - bruteforcesettings: 4.0.0
 - calendar: 5.5.7
 - circles: 31.0.0
 - comments: 1.21.0
 - contactsinteraction: 1.12.0
 - dashboard: 7.11.0
 - documentserver_community: 0.2.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
 - impersonate: 2.0.0
 - logreader: 4.0.0
 - mail: 5.5.11
 - nextcloud_announcements: 3.0.0
 - notifications: 4.0.0
 - onlyoffice: 9.11.0
 - password_policy: 3.0.0
 - privacy: 3.0.0
 - recommendations: 4.0.0
 - related_resources: 2.0.0
 - richdocuments: 8.7.6
 - richdocumentscode: 25.4.504
 - serverinfo: 3.0.0
 - sharebymail: 1.21.0
 - support: 3.0.0
 - survey_client: 3.0.0
 - suspicious_login: 9.0.1
 - systemtags: 1.21.1
 - text: 5.0.0
 - twofactor_totp: 13.0.0-dev.0
 - twofactor_webauthn: 2.4.1
 - updatenotification: 1.21.0
 - user_status: 1.11.0
 - weather_status: 1.11.0
 - webhook_listeners: 1.2.0
Disabled:
 - encryption
 - files_external
 - photos: 3.0.2
 - twofactor_admin: 4.8.0
 - twofactor_nextcloud_notification
 - user_ldap

I had the same issue. The message “Warning: The use statement with non-compound name ‘CurlHandle’ has no effect in /updater/index.php on line 50“ by itself is harmless. But in this case the message and the json ({“proceed“:true}) is sent back to the front-end code, The front-end code only expects a json in the format like “{“proceed“:true}“.

You most probably have configure your php to display_errors, which produces this warning. According to the documentation of that settings, this should never be made to production systems. When you disable this option the updater should work again.

display_errors=”off”
See PHP: Runtime Configuration - Manual

I will file an issue for the updater in https://github.com/nextcloud/updater, as it should probably earlier turn off this settings to avoid such an issue.

1 Like