Stand with Ukraine flag
Pricing Try it now
Professional Edition
Getting Started Documentation Guides
Architecture API FAQ
On this page

ThingsBoard PE v4.2.x upgrade instructions for Docker

Upgrading ThingsBoard PE to latest 4.2.1 (4.2.1.2)

Doc info icon

NOTE:

These upgrade steps are applicable for ThingsBoard version 4.2.0 or any 4.2.1 patch. In order to upgrade to 4.2.1.2PE you need to upgrade to 4.2.0 first.

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 the 4.2.1.2PE.

  2. Execute the following commands:

1
2
3
  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
doc warn icon

If you are upgrading from 4.2, you must run the script below. However, if you are upgrading from version .1.x, DO NOT run the upgrade script; proceed directly to starting the service.

1
  docker compose run --rm -e UPGRADE_TB=true thingsboard-pe
1
  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 the 4.2.0PE.

  2. Execute the following commands:

1
2
3
  docker pull thingsboard/tb-pe-node:4.2.0PE
  docker pull thingsboard/tb-pe-web-report:4.2.0PE
  docker compose stop thingsboard-pe
doc warn icon

If you are upgrading from version 4.1, you must run the script below

1
  docker compose run --rm -e UPGRADE_TB=true thingsboard-pe
1
  docker compose up -d