Nextcloud build in updater no longer available

Steps to reproduce

https://DOMAIN/settings/admin/overview

Expected behaviour

You should be able to update Nextcloud via built-in updater

Actual behaviour

The built-in updater in the overview is no longer available. This did not come after an update of an installation but suddenly disappeared at some point.

Server configuration detail

Operating system: Linux 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l

Webserver: Apache (apache2handler)

Database: mysql 10.3.34

PHP version:

7.3.31-1~deb10u1
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, sodium, session, standard, apache2handler, mysqlnd, PDO, xml, bcmath, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, intl, json, ldap, exif, mysqli, pdo_mysql, Phar, posix, readline, redis, shmop, SimpleXML, smbclient, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, libsmbclient, Zend OPcache

Nextcloud version: 21.0.9 - 21.0.9.1

Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from: unknown

Signing status

Array
(
)

List of activated apps
Enabled:
 - accessibility: 1.7.0
 - activity: 2.14.3
 - admin_audit: 1.11.0
 - analytics: 4.0.3
 - announcementcenter: 5.0.1
 - breezedark: 21.1.0
 - cloud_federation_api: 1.4.0
 - comments: 1.11.0
 - contacts: 4.0.8
 - contactsinteraction: 1.2.0
 - dashboard: 7.1.0
 - dav: 1.17.1
 - external: 3.8.2
 - extract: 1.3.3
 - federatedfilesharing: 1.11.0
 - federation: 1.11.0
 - files: 1.16.0
 - files_downloadactivity: 1.12.0
 - files_pdfviewer: 2.1.1
 - files_rightclick: 1.0.0
 - files_sharing: 1.13.1
 - files_trackdownloads: 1.10.0
 - files_trashbin: 1.11.0
 - files_versions: 1.14.0
 - files_videoplayer: 1.10.0
 - geoblocker: 0.5.4
 - issuetemplate: 0.7.0
 - limit_login_to_ip: 3.1.0
 - logreader: 2.6.0
 - lookup_server_connector: 1.9.0
 - nextcloud_announcements: 1.10.0
 - nextcloudpi: 0.0.1
 - notifications: 2.9.0
 - oauth2: 1.9.0
 - password_policy: 1.11.0
 - photos: 1.3.0
 - privacy: 1.5.0
 - provisioning_api: 1.11.0
 - recommendations: 1.0.0
 - serverinfo: 1.11.0
 - settings: 1.3.0
 - sharebymail: 1.11.0
 - survey_client: 1.9.0
 - systemtags: 1.11.0
 - text: 3.2.0
 - theming: 1.12.0
 - twofactor_backupcodes: 1.10.0
 - user_status: 1.1.1
 - user_usage_report: 1.5.0
 - viewer: 1.5.0
 - weather_status: 1.1.0
 - workflowengine: 2.3.1
Disabled:
 - calendar
 - deck
 - encryption
 - files_external
 - files_linkeditor
 - firstrunwizard
 - groupfolders
 - guests
 - health
 - integration_github
 - integration_gitlab
 - integration_moodle
 - mail
 - news
 - notes
 - onlyoffice
 - openhab
 - previewgenerator
 - previewgenerator.orig
 - ransomware_protection
 - richdocuments
 - spreed
 - support
 - tasks
 - updatenotification
 - user_ldap

Configuration (config/config.php)
{
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": {
        "0": "localhost",
        "11": "REMOVED",
        "1": "192.168.1.6",
        "5": "nextcloudpi.local",
        "7": "REMOVED.ddns.net",
        "9": "REMOVED.ddns.net",
        "8": "https:\/\/REMOVED.ddns.net",
        "3": "raspberrypi",
        "2": "https:\/\/REMOVED.ddns.net",
        "12": "192.168.1.6",
        "22": "192.168.1.6",
        "14": "raspberrypi",
        "": "raspberrypi"
    },
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "21.0.9.1",
    "overwrite.cli.url": "https:\/\/raspberrypi\/",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "default_phone_region": "DE",
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "memcache.local": "\\OC\\Memcache\\Redis",
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "port": 0,
        "timeout": 0,
        "password": "***REMOVED SENSITIVE VALUE***"
    },
    "tempdirectory": "\/media\/clouddrive\/ncpdata\/tmp",
    "mail_smtpmode": "smtp",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "preview_max_x": "2048",
    "preview_max_y": "2048",
    "jpeg_quality": "60",
    "overwriteprotocol": "https",
    "loglevel": "1",
    "log_type": "file",
    "maintenance": false,
    "logfile": "\/media\/clouddrive\/ncpdata\/nextcloud.log",
    "theme": "",
    "htaccess.RewriteBase": "\/",
    "updater.release.channel": "stable",
    "default_language": "de",
    "simpleSignUpLink.shown": false,
    "app_install_overwrite": [
        "user_usage_report",
        "nextcloudpi",
        "files_downloadactivity",
        "issuetemplate"
    ],
    "mail_sendmailmode": "smtp",
    "mail_smtpsecure": "ssl",
    "mail_smtpauthtype": "LOGIN",
    "mail_smtpauth": 1,
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "465",
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***"
}

Are you using encryption: Yes

Client configuration

Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36

I’m not sure but maybe the reason is, that you use an outdated version and there is no regular updatepath to the current mayor version.

Anyway if you use nextcloudpi it is not reccomended to use the build in NC-updater.
Please use the updater inside of ncp at IP:4443

The NC-updater was disabled in NCP some time ago due to its problems.
The upgrade in NCP is done with the nc-update-nextcloud at NCP panel or NCP web panel.

1 Like

It’s not a bug, it’s a feature :slight_smile:

Please use the ncp updater instead, which automatically creates a backup and restores it on failure.

3 Likes