Upgradding Hansson IT VM from 23.0.12 -> 25 (latest)

IMO, the update.sh script should give me the option of going from latest on 27 to 28, then 28 to 29.

As it is, I keep getting stuck in a situation where I am on a supported release (latest major - 2) , and update.sh will not upgrade me to latest major -1, then on it latest

UPDATE: I didn’t realize this a year ago, but it turns out you can put a version into /tmp/nextmajor.version, then run update.sh and it will upgrade to that version. THIS is what I have been looking for. So to summarize:

  • I was on version 27.y.z (something old, not latest v27)
  • ran update.sh, script correctly upgraded me to latest 27 (27.1.11 as of right now)
  • Reboot, make sure 27.1.11 working as expected.
  • Check https://download.nextcloud.com/server/releases/ or https://nextcloud.com/changelog/ see that 28.0.8 is the latest v28.
  • From command line, create a file called /tmp/nextmajor.version put a single line in it 28.0.8
  • Run update.sh. It will upgrade to 28.0.8.
  • Reboot, check that 28.0.8 is working as expected.
  • Optionally, run update.sh again to update to latest v29.
2 Likes