I have a Hassen Hansson IT VM running on a QNAP successfully for a few years. I’ve been really conservative with upgrades, and I’m now on 23.0.12 and would like to upgrade to the latest 25.x.x release (NOT 26, it’s too new for me). Is this possible? The cmdline script /var/scripts/update.sh seems to only want to go to 26.
How should I upgrade to 25 with this VM? I know the other system components (PHP, the deb packages, etc) are up to date because I just ran the minor version upgrade.
The menu script automatically upgrades to the latest minor version, and then asks you if you want to go to the latest major version (if it exist). You can answer no.
Also, you shouldn’t be so conservative. You can’t jump from 23 to 25 in just one go. You need to upgrade each major version separately. We recommend upgrading at least one time each 2 months.
As already mentioned, the menu script will do this:
Your Nextcloud is on version 24 and 25 is latest:
NC 24 → latest NC 24 (asking question: do you want to upgrade to next major? yes/no) → (you choose yes) NC 25. But it only works for 1 major version as you can’t skip any.
Your Nextcloud is on version 24 and 25 is latest:
NC 24 → latest NC 24 (asking question: do you want to upgrade to next major? yes/no) → (you choose no) it stays at latest NC 24.
Your Nextcloud is on version 23 and 26 is latest:
NC 23 → latest NC 23 → Checks latest major (which is 26) and stops here since you can’t upgrade beteeen multiple major versions at once.