I manage an automated system for updating NextCloud applications on shared webhosting services. We haven’t had too much trouble updating NextCloud apps but after a query from a user I just wanted to double-check that the approach we’re using is okay.
I’m interested in a portion of the documentation here: How to upgrade — Nextcloud latest Administration Manual latest documentation
Specifically this part:
Nextcloud must be upgraded step by step:
Before you can upgrade to the next major release, Nextcloud upgrades to the latest point release. Then run the upgrade again to upgrade to the next major release’s latest point release. You cannot skip major releases. Please re-run the upgrade until you have reached the highest available (or applicable) release. Example: 18.0.5 -> 18.0.11 -> 19.0.5 -> 20.0.2
If, for example, we currently have an application at 28.0.2
and the user wants to update to 29.0.1
then we update the app in two steps:
- first we update the app to the newest 28.0.x version that we support which is 28.0.4.
- then we update the app to 29.0.1.
And the question is this:
Is it okay that we only update the app to 28.0.4 in step 1, or should we update the app to the newest released version of 28.0.x which is 28.0.6? (And from there update the app to 29.0.1 for step 2.)
Thank you,
Rowan.