thingsboard / thingsboard-ce-k8s

ThingsBoard Community Edition Kubernetes scripts and docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

drossi-unidata opened this issue · 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...

We found a workaround to make the upgrade process possible:

git checkout 5214573

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