"No update available" -- but I'm on Nextcloud 25

The Basics

  • Nextcloud Server version:
    • 25.0.13.2
  • Operating system and version:
    • Debian 11
  • Web server and version:
    • Apache 2.4.56
  • Reverse proxy and version:
    • N/A
  • PHP version:
    • 7.4.33
  • Is this the first time you’ve seen this error?:
    • It's the first time I've looked, because I always checked the upgrade tab in the admin panel and it keeps telling me "No update available" so I thought I was up-to-date until I checked the security scan...
  • When did this problem seem to first start?
    • N/A
  • Installation method:
    • Bare Metal
  • Are you using Cloudflare, mod_security, or similar?
    • No

I’m trying to upgrade my Nextcloud server after being given an F score by the security scan since the major version is no longer supported. I understand I need to upgrade one version at a time, but I can’t progress even a single version since no updater gives me the option of upgrading to any version.

I’ve tried occ:

$ sudo -u www-data php ./occ upgrade
Nextcloud is already latest version

I’ve tried updater:

$ sudo -u www-data php ./updater/updater.phar 
Nextcloud Updater - version: v25.0.11-5-g06c1bad

Current version is 25.0.13.

No update available.

Nothing to do.

And of course the web updater doesn’t give me anything either:

I’m stumped. How am I supposed to upgrade at all?

Any help would be appreciated.

1 Like

if you check Index of /server/releases you’ll find that 25.0.13 IS the latest 25.0-version, so you’ll have to upgrade to 26.
GOOD LUCK!

1 Like

Yeah I get that… so how do I upgrade to 26?

Since the upgrader can’t detect any new versions, no documentation helps (at least from what I can find):

https://docs.nextcloud.com/server/stable/admin_manual/maintenance/update.html

This is why. To upgrade, your environment has to meet the PHP version requirements.

See https://docs.nextcloud.com for the version you wish to upgrade to for reverse Server requirements.

Schaue auch hier rein:
https://help.nextcloud.com/t/php-updater-a-script-to-upgrade-php-in-a-safe-way/

Thank you everyone! I got it to work!

Documenting here in case anybody in the future runs into the same problem:

  • Install php8.2, and apache php8 module
  • Uninstall php7 (because I couldn’t figure out how to get 8 and 7 to coexist while forcing nextcloud to use 8) and apache php7 module
  • Restart apache
  • Run the upgrader (upgrader.phar was much easier) for every major version
1 Like

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