How to upgrade NC to 27.1.6

I try to upgrade from 27.1.5 to 27.1.6 using the following command:

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

Using the webupgrader, it shows I can upgrade NC. Why can I not upgrade using the terminal command? I have used it before to get to 27.1.5.
I’m skeptical of using the webupgrader, since it broke NC before, forcing me to restore from a backup.

Because you’re not following the correct process. occ upgrade just runs the database migrations after you’ve deployed an update. Please see the Admin Manual for the correct command-line process: https://docs.nextcloud.com[1]

[1] Specifically Upgrade via built-in updater — Nextcloud latest Administration Manual latest documentation

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