Upgrading ThingsBoard CE to latest 4.2.1 (4.2.1.2)
ThingsBoard CE service upgrade
-
Change the version of the
thingsboard/tb-nodein thedocker-compose.ymlfile to the 4.2.1.2. -
Execute the following commands:
1
2
docker pull thingsboard/tb-node:4.2.1.2
docker compose stop thingsboard-ce
1
docker compose run --rm -e UPGRADE_TB=true thingsboard-ce
1
docker compose up -d
Upgrading ThingsBoard CE to 4.2
ThingsBoard CE service upgrade
-
Change the version of the
thingsboard/tb-nodein thedocker-compose.ymlfile to the 4.2.0. -
Execute the following commands:
1
2
docker pull thingsboard/tb-node:4.2.0
docker compose stop thingsboard-ce
1
docker compose run --rm -e UPGRADE_TB=true thingsboard-ce
1
docker compose up -d