Question re 'occ update:check'

With nc33.0.5, command occ update:check reports “Everything up to date”. Since nc34 is out, why doesn’t it say Nextcloud needs to be updated?

The web console of my installation is broken despite the successful update to nc33.0.5. I’d like to update to nc34, so I am trying to get the equivalent of the “Update available” notification using the CLI, in order to ensure that my installation can be updated from v.33.0.5 to v.34.0.0.

IOW, if the v.33.0.5 update reported that it was successful, can I now update to v.34.0.0 using occ upgrade?

Since this is a question about the occ update:check command, I didn’t think the info in the Support template was needed. If it is then I’ll add it—the info is the same as that in this topic.

the occ-command just executes the Nextcloud (data/database) after the code has been updated. But it does not check for updates or fetch updates. You can use the updater for that:
sudo -u www-data php updater/updater.phar

I run occ upgrade after replacing the installation with the upgrade extracted from the new server archive, as documented here.

However, my question was about occ update:check:

> php occ help update:check 
Description: 
 Check for server and app updates

I’m pretty sure I’ve seen it report available updates for point releases, and it does report available app updates (if the app store is enabled in config.php). I’m running nc33.0.5 and it does not tell me that v.34.0.0 is available. Is this intended behavior?

Yes. As v34.0.0 is an initial release, it’s not automatically pushed to 100% of existing installations via the built-in updater/update checks. I believe it’s currently up to 30%.

See Maintenance and release schedule — Nextcloud 35 Administration Manual