Unable to update NC 24!

hi

I have a problem with an NC instance running NC 24.0.4. In the Admin menu in web of NC, it only lists the current version of NC and nothing else (no button to upgrade through web, or choice of channel for updates).

I have manually run the cron task multiple times but no change, it runs without any errors. I have also tried the occ update and occ check but not better.

  • Nextcloud Server version: 24.0.4
  • Operating system and version: Debian 12
  • Web server and version: Apache 2.4.62
  • Reverse proxy and version: none
  • PHP version: 8.1 (have also 8.2 and 8.3 avalaible on the server)
  • When did this problem seem to first start? no idea
  • Installation method: automated script of Virtualmin
  • Are you using Cloudflare, mod_security, or similar? No
root@myserver:/home/ebgpcj5c2s59zssw/public_html# sudo -u ebgpcj5c2s59zssw php8.1 occ config:list system
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "mydomainedited"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "24.0.4.1",
        "overwrite.cli.url": "https:\/\/mydomainedited",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "installed": true,
        "default_phone_region": "FR",
        "mail_smtpmode": "sendmail",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false
    }
}
root@myserver:/home/ebgpcj5c2s59zssw/public_html# sudo -u ebgpcj5c2s59zssw php8.1 occ app:list
Enabled:
  - accessibility: 1.10.0
  - activity: 2.16.0
  - bruteforcesettings: 2.4.0
  - calendar: 3.5.2
  - circles: 24.0.1
  - cloud_federation_api: 1.7.0
  - comments: 1.14.0
  - contacts: 4.2.2
  - contactsinteraction: 1.5.0
  - dashboard: 7.4.0
  - dav: 1.22.0
  - federatedfilesharing: 1.14.0
  - federation: 1.14.0
  - files: 1.19.0
  - files_pdfviewer: 2.5.0
  - files_rightclick: 1.3.0
  - files_sharing: 1.16.2
  - files_trashbin: 1.14.0
  - files_versions: 1.17.0
  - files_videoplayer: 1.13.0
  - firstrunwizard: 2.13.0
  - lookup_server_connector: 1.12.0
  - mail: 1.14.4
  - notifications: 2.12.0
  - oauth2: 1.12.0
  - password_policy: 1.14.0
  - photos: 1.6.0
  - privacy: 1.8.0
  - provisioning_api: 1.14.0
  - ransomware_protection: 1.13.0
  - recommendations: 1.3.0
  - richdocuments: 6.3.1
  - richdocumentscode: 22.5.802
  - settings: 1.6.0
  - sharebymail: 1.14.0
  - spreed: 14.0.5
  - survey_client: 1.12.0
  - suspicious_login: 4.2.1
  - systemtags: 1.14.0
  - text: 3.5.1
  - theming: 1.15.0
  - twofactor_backupcodes: 1.13.0
  - twofactor_nextcloud_notification: 3.4.0
  - twofactor_totp: 6.4.1
  - viewer: 1.8.0
  - weather_status: 1.4.0
  - workflowengine: 2.6.0
Disabled:
  - admin_audit
  - encryption
  - files_external
  - logreader: 2.9.0
  - nextcloud_announcements: 1.13.0
  - serverinfo: 1.14.0
  - support: 1.7.0
  - updatenotification: 1.14.0
  - user_ldap
  - user_status: 1.4.0

Is my only choice to use the archive and do the full manual update ? or something else I can try to force the update to 25 ?

Thanks

Vincèn

Will I went by manual upgrade to NC 25 which went quite smoothly and easily although now in NC25 it’ same. It doesn’t display next major release for upgrade neither choice of stable/beta channel :confused:
Perhaps it needs few hours and few runs of the cron script to find out the update :confused:

I think you will have to do more manual upgrades until you reach a still supported version.

If you have the command line, you can try to use the updater from command line:

sudo -u ebgpcj5c2s59zssw php8.1 updater/updater.phar

php8.1 should be ok, it is supported for NC24+.

Thanks a lot for the trick, I though it was either full manual or start with web and then ends up with occ update.
The updater.phar offers me to update to 26 :ok_hand:

However, it should go from NC24 → NC25 → NC26 → …
you cannot skip major updates. If it proposes the update to 26, it perhaps did already upgrade (partly) to NC 25?

Yeah did each major upgrade one by one, and being careful to run few times the cron task too to be sure all maintenances are done and the extra occ commands to adjust the db :slight_smile:
I have been able to upgrade few instances already from very outdated versions to version 30 :slight_smile: (and also moving of php version when needed of course :wink:

1 Like

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