Skip to content
Stand with Ukraine flag

ThingsBoard PE Docker 4.2.x Upgrade Instructions

← Back to all versions

Upgrading ThingsBoard PE to latest 4.2.2 (4.2.2.1)

ThingsBoard PE service upgrade

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

Upgrading ThingsBoard PE to latest 4.2.2 (4.2.2)

ThingsBoard PE service upgrade

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

Upgrading ThingsBoard PE to latest 4.2.1 (4.2.1.2)

ThingsBoard PE service upgrade

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

Upgrading ThingsBoard PE to 4.2

ThingsBoard PE service upgrade

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