thingsboard-ce-k8s
thingsboard-ce-k8s copied to clipboard
No way to upgrade from 3.2.2 to 3.3.1 [+ workaround]
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...
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