thingsboard-ce-k8s icon indicating copy to clipboard operation
thingsboard-ce-k8s copied to clipboard

No way to upgrade from 3.2.2 to 3.3.1 [+ workaround]

Open drossi-unidata opened this issue 3 years ago • 1 comments

Hello, following your instruction at the following link https://thingsboard.io/docs/user-guide/install/cluster/openshift-cluster-setup/ and considering your prerequisite at this link https://thingsboard.io/docs/user-guide/install/upgrade-instructions/#ubuntucentos-33, we understood that in order to upgrade to 3.3.1 we must upgrade to 3.3.0 first. We tried with the latest commit, with the commit of the early semptember and other cmmit, but we meet always the following error message: "Unable to upgrade ThingsBoard, unsupported fromVersion: 3.2.2" Where is a tag of this repo, or the right commit to find the 3.3.0 version? It seems you upgraded this repo directly from version 3.2.2 to 3.3.1...

drossi-unidata avatar Oct 07 '21 10:10 drossi-unidata

We found a workaround to make the upgrade process possible:

git checkout 5214573094f052fdb431c39ff85d57b564008345

cd openshift

sed -i 's/3.2.2/3.3.0/g' ./thingsboard.yml

sed -i 's/3.2.2/3.3.0/g' ./database-setup.yml

sed -i 's/3.2.2/3.3.0/g' ./tb-node.yml

In this way we upgraded to the 3.3.0 and then to the 3.3.1, using the latest git commit of this repository

drossi-unidata avatar Oct 07 '21 13:10 drossi-unidata