Skip to content
Stand with Ukraine flag

ThingsBoard Docker 4.0.x Upgrade Instructions

← Back to all versions

Upgrading ThingsBoard to 4.0.2

ThingsBoard service upgrade

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

Upgrading ThingsBoard to 4.0.1

ThingsBoard service upgrade

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

Upgrading ThingsBoard to 4.0

ThingsBoard service upgrade

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