On this page
ThingsBoard PE v3.2.x upgrade instructions for Docker
Upgrading ThingsBoard PE to 3.2.2
NOTE : These upgrade steps are applicable for ThingsBoard version 3.2.1PE. In order to upgrade to 3.2.2PE you need to upgrade to 3.2.1PE first .
ThingsBoard PE image download
Download ThingsBoard PE Docker image:
1
docker pull thingsboard/tb-pe:3.2.2PE
ThingsBoard PE service upgrade
Stop ThingsBoard mytbpe container if it is running.
1
docker compose stop mytbpe
If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command: docker-compose stop mytbpe
Update docker-compose.yml
1
2
3
4
< . . . >
mytbpe :
image : " thingsboard/tb-pe:3.2.2PE"
< . . . >
Change upgradeversion variable:
1
echo '3.2.1' | sudo tee ~/.mytbpe-data/.upgradeversion
Execute the following commands to upgrade ThingsBoard to the new version:
1
docker compose run mytbpe upgrade-tb.sh
If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command: docker-compose run mytbpe upgrade-tb.sh
If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command: docker-compose up -d
Upgrading ThingsBoard PE to 3.2.1
NOTE : These upgrade steps are applicable for ThingsBoard version 3.2PE. In order to upgrade to 3.2.1PE you need to upgrade to 3.2PE first .
ThingsBoard PE image download
Download ThingsBoard PE Docker image:
1
docker pull thingsboard/tb-pe:3.2.1PE
ThingsBoard PE service upgrade
Stop ThingsBoard mytbpe container if it is running.
1
docker compose stop mytbpe
If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command: docker-compose stop mytbpe
Update docker-compose.yml
1
2
3
4
< . . . >
mytbpe :
image : " thingsboard/tb-pe:3.2.1PE"
< . . . >
Change upgradeversion variable:
1
echo '3.2.0' | sudo tee ~/.mytbpe-data/.upgradeversion
Execute the following commands to upgrade ThingsBoard to the new version:
1
docker compose run mytbpe upgrade-tb.sh
If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command: docker-compose run mytbpe upgrade-tb.sh
If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command: docker-compose up -d
Upgrading ThingsBoard PE to 3.2
NOTE : These upgrade steps are applicable for ThingsBoard version 3.1.1PE. In order to upgrade to 3.2PE you need to upgrade to 3.1.1PE first .
ThingsBoard PE image download
Download ThingsBoard PE Docker image:
1
docker pull thingsboard/tb-pe:3.2.0PE
ThingsBoard PE service upgrade
Stop ThingsBoard mytbpe container if it is running.
1
docker compose stop mytbpe
If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command: docker-compose stop mytbpe
Update docker-compose.yml
1
2
3
4
< . . . >
mytbpe :
image : " thingsboard/tb-pe:3.2.0PE"
< . . . >
Change upgradeversion variable:
1
echo '3.1.1' | sudo tee ~/.mytbpe-data/.upgradeversion
Execute the following commands to upgrade ThingsBoard to the new version:
1
docker compose run mytbpe upgrade-tb.sh
If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command: docker-compose run mytbpe upgrade-tb.sh
If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command: docker-compose up -d
© 2025 The ThingsBoard Authors