Can't upgrade from 21.0.9 to 22.2.10

root@Server:/var/www/nextcloud# sudo -u www-data php7.4 ./occ update:check
Nextcloud 22.2.10 is available. Get more information on how to update at How to upgrade — Nextcloud latest Administration Manual latest documentation.
1 update available

root@Server:/var/www/nextcloud# sudo -u www-data php7.4 ./occ upgrade
Nextcloud is already latest version

Any idea why it refuses to upgrade? In the GUI, the upgrade button returns to the same place and I can’t upgrade either

Thanks

Can anyone here help with this? I couldn’t find any solution for this online (including asking ChatGPT and Bard).

Thanks

The command to start the updater is as follows:

sudo -u www-data php --define apc.enable_cli=1 /var/www/nextcloud/updater/updater.phar

See here: Upgrade via built-in updater — Nextcloud latest Administration Manual latest documentation

1 Like

Thank you very much @bb77 !!!
I managed to run that process several times and reached v25.0.12

1 Like