On this page
ThingsBoard CE v3.3.x upgrade instructions for Docker
Upgrading ThingsBoard CE to 3.3.4.1
NOTE: These upgrade steps are applicable for ThingsBoard version 3.3.4. In order to upgrade to 3.3.4.1 you need to upgrade to 3.3.4 first .
ThingsBoard image download
Download ThingsBoard Docker image:
1
docker pull thingsboard/tb-postgres:3.3.4.1
ThingsBoard service upgrade
Stop ThingsBoard mytb container if it is running.
1
docker compose stop mytb
If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command: docker-compose stop mytb
Update docker-compose.yml
1
2
3
4
< . . . >
mytbce :
image : " thingsboard/tb-postgres:3.3.4.1"
< . . . >
If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command: docker-compose up -d
Upgrading ThingsBoard CE to 3.3.4
NOTE: These upgrade steps are applicable for ThingsBoard version 3.3.3. In order to upgrade to 3.3.4 you need to upgrade to 3.3.3 first .
ThingsBoard image download
Download ThingsBoard Docker image:
1
docker pull thingsboard/tb-postgres:3.3.4
ThingsBoard service upgrade
Stop ThingsBoard mytb container if it is running.
1
docker compose stop mytb
If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command: docker-compose stop mytb
Update docker-compose.yml
1
2
3
4
< . . . >
mytbce :
image : " thingsboard/tb-postgres:3.3.4"
< . . . >
Change upgradeversion variable:
1
echo '3.3.3' | sudo tee ~/.mytb-data/.upgradeversion
Execute the following commands to upgrade ThingsBoard to the new version:
1
docker run -it -v ~/.mytb-data:/data --rm thingsboard/tb-postgres:3.3.4 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 CE to 3.3.3
NOTE : These upgrade steps are applicable for ThingsBoard version 3.3.2. In order to upgrade to 3.3.3 you need to upgrade to 3.3.2 first .
Important note before upgrading to ThingsBoard 3.3.3
ThingsBoard UI was migrated to Angular 12. You need to re-build your custom widgets and rule nodes (which use UI) on Angular 12.
ThingsBoard image download
Download ThingsBoard Docker image:
1
docker pull thingsboard/tb-postgres:3.3.3
ThingsBoard service upgrade
Stop ThingsBoard mytb container if it is running.
1
docker compose stop mytb
If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command: docker-compose stop mytb
Update docker-compose.yml
1
2
3
4
< . . . >
mytbce :
image : " thingsboard/tb-postgres:3.3.3"
< . . . >
Change upgradeversion variable:
1
echo '3.3.2' | sudo tee ~/.mytb-data/.upgradeversion
Execute the following commands to upgrade ThingsBoard to the new version:
1
docker run -it -v ~/.mytb-data:/data --rm thingsboard/tb-postgres:3.3.3 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 CE to 3.3.2
NOTE : These upgrade steps are applicable for ThingsBoard version 3.3.1. In order to upgrade to 3.3.2 you need to upgrade to 3.3.1 first .
ThingsBoard image download
Download ThingsBoard Docker image:
1
docker pull thingsboard/tb-postgres:3.3.2
ThingsBoard service upgrade
Stop ThingsBoard mytb container if it is running.
1
docker compose stop mytb
If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command: docker-compose stop mytb
Update docker-compose.yml
1
2
3
4
< . . . >
mytbce :
image : " thingsboard/tb-postgres:3.3.2"
< . . . >
Change upgradeversion variable:
1
echo '3.3.1' | sudo tee ~/.mytb-data/.upgradeversion
Execute the following commands to upgrade ThingsBoard to the new version:
1
docker run -it -v ~/.mytb-data:/data --rm thingsboard/tb-postgres:3.3.2 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 CE to 3.3.1
NOTE : These upgrade steps are applicable for ThingsBoard version 3.3.0. In order to upgrade to 3.3.1 you need to upgrade to 3.3.0 first .
ThingsBoard image download
Download ThingsBoard Docker image:
1
docker pull thingsboard/tb-postgres:3.3.1
ThingsBoard service upgrade
Stop ThingsBoard mytb container if it is running.
1
docker compose stop mytb
If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command: docker-compose stop mytb
Update docker-compose.yml
1
2
3
4
< . . . >
mytbce :
image : " thingsboard/tb-postgres:3.3.1"
< . . . >
Change upgradeversion variable:
1
echo '3.3.0' | sudo tee ~/.mytb-data/.upgradeversion
Execute the following commands to upgrade ThingsBoard to the new version:
1
docker run -it -v ~/.mytb-data:/data --rm thingsboard/tb-postgres:3.3.1 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 CE to 3.3
NOTE : These upgrade steps are applicable for ThingsBoard version 3.2.2. In order to upgrade to 3.3 you need to upgrade to 3.2.2 first .
ThingsBoard image download
Download ThingsBoard Docker image:
1
docker pull thingsboard/tb-postgres:3.3.0
ThingsBoard service upgrade
Stop ThingsBoard mytb container if it is running.
1
docker compose stop mytb
If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command: docker-compose stop mytb
Update docker-compose.yml
1
2
3
4
< . . . >
mytbce :
image : " thingsboard/tb-postgres:3.3.0"
< . . . >
Change upgradeversion variable:
1
echo '3.2.2' | sudo tee ~/.mytb-data/.upgradeversion
Execute the following commands to upgrade ThingsBoard to the new version:
1
docker run -it -v ~/.mytb-data:/data --rm thingsboard/tb-postgres:3.3.0 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