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

ThingsBoard PE v4.3.x upgrade instructions for Docker Compose

Upgrading ThingsBoard PE to latest 4.3.x (4.3.1)

Doc info icon

NOTE:

These upgrade steps are applicable for ThingsBoard version 4.2.1+. In order to upgrade to 4.3.1PE you need to upgrade to 4.2.1.x first.

doc warn icon

This release includes a framework upgrade (Angular 18 → 20). The core platform remains fully backward compatible and no upgrade scripts are required. However, custom UI code (widgets or custom CSS) that relies on internal component structure or CSS variable names may break. This can affect up to ~1% of users with heavy customizations. We recommend testing custom UI in a staging environment before upgrading.

doc warn icon

We strongly recommend that you also update your Docker Compose deployment manifests to the corresponding version from GitHub repository with every ThingsBoard upgrade. This ensures your ThingsBoard service runs with the latest best-practice parameters and configurations, while also guarantees that all required services are correctly deployed to support the newest features introduced in the release.

If you are running older releases of ThingsBoard - be aware that the manifests in master branch of the repository may contain configurations for features that are not available in your specific version. Always ensure that manifests are compatible with your target ThingsBoard version while merging deployment files.

doc warn icon

Compatibility check before upgrading

If you are using Edge PE or Trendz Analytics together with ThingsBoard, verify that your target ThingsBoard version is compatible with the currently installed versions of these components. Upgrade them if required to ensure compatibility.

ThingsBoard PE service upgrade

  1. Change the parameter TB_VERSION in the .env file.
TB_VERSION=4.3.1PE
  1. Execute the following commands:
1
./docker-stop-services.sh  
doc warn icon

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

1
./docker-upgrade-tb.sh
1
./docker-start-services.sh

Upgrading ThingsBoard PE to 4.3.0.1

Doc info icon

NOTE:

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

doc warn icon

This version has known security vulnerabilities that are fixed in newer releases. We recommend upgrading to the latest patch version instead.

doc warn icon

We strongly recommend that you also update your Docker Compose deployment manifests to the corresponding version from GitHub repository with every ThingsBoard upgrade. This ensures your ThingsBoard service runs with the latest best-practice parameters and configurations, while also guarantees that all required services are correctly deployed to support the newest features introduced in the release.

If you are running older releases of ThingsBoard - be aware that the manifests in master branch of the repository may contain configurations for features that are not available in your specific version. Always ensure that manifests are compatible with your target ThingsBoard version while merging deployment files.

doc warn icon

Compatibility check before upgrading

If you are using Edge PE or Trendz Analytics together with ThingsBoard, verify that your target ThingsBoard version is compatible with the currently installed versions of these components. Upgrade them if required to ensure compatibility.

ThingsBoard PE service upgrade

  1. Change the parameter TB_VERSION in the .env file.
TB_VERSION=4.3.0.1PE
  1. Execute the following commands:
1
./docker-stop-services.sh  
doc warn icon

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

1
./docker-upgrade-tb.sh
1
./docker-start-services.sh