Skip to content
Stand with Ukraine flag

ThingsBoard Docker 4.2.x Upgrade Instructions

← Back to all versions

Upgrading ThingsBoard to latest 4.2.2 (4.2.2.1)

ThingsBoard service upgrade

  1. Change the version of the thingsboard/tb-node in the docker-compose.yml file to 4.2.2.1.
  2. Execute the following commands:
docker pull thingsboard/tb-node:4.2.2.1
docker compose stop thingsboard-ce
docker compose run --rm -e UPGRADE_TB=true thingsboard-ce
docker compose up -d

Upgrading ThingsBoard to latest 4.2.2 (4.2.2)

ThingsBoard service upgrade

  1. Change the version of the thingsboard/tb-node in the docker-compose.yml file to 4.2.2.
  2. Execute the following commands:
docker pull thingsboard/tb-node:4.2.2
docker compose stop thingsboard-ce
docker compose run --rm -e UPGRADE_TB=true thingsboard-ce
docker compose up -d

Upgrading ThingsBoard to latest 4.2.1 (4.2.1.2)

ThingsBoard service upgrade

  1. Change the version of the thingsboard/tb-node in the docker-compose.yml file to 4.2.1.2.
  2. Execute the following commands:
docker pull thingsboard/tb-node:4.2.1.2
docker compose stop thingsboard-ce
docker compose run --rm -e UPGRADE_TB=true thingsboard-ce
docker compose up -d

Upgrading ThingsBoard to 4.2

ThingsBoard service upgrade

  1. Change the version of the thingsboard/tb-node in the docker-compose.yml file to 4.2.0.
  2. Execute the following commands:
docker pull thingsboard/tb-node:4.2.0
docker compose stop thingsboard-ce
docker compose run --rm -e UPGRADE_TB=true thingsboard-ce
docker compose up -d