I have to upgrade thingsboard from version 2.2 to 3.1pe. I can only find upgrade information for upgrading between minor versions.
Will I have to download/install every minor version and call the upgrade script for the previous version or is there a quicker way to upgrade the database directly from 2.2 to 3.1pe?
The update procedure is implemented in ThingsboardInstallService
(
https://github.com/thingsboard/thingsboard/blob/master/application/src/main/java/org/thingsboard/server/install/ThingsboardInstallService.java)
As you can see, it is implemented as a switch/case
that has no break
statements so it will fall through and perform all update-steps for each version up to the latest version in the right order.