Upgrading from Community Edition
Ubuntu
Section titled “Ubuntu”Install Java 25
Section titled “Install Java 25”ThingsBoard 4.4 requires Java 25, while ThingsBoard CE runs on Java 17. Install OpenJDK 25 and make it the default Java version before upgrading:
sudo apt update && sudo apt install -y openjdk-25-jdk-headlesssudo update-alternatives --set java /usr/lib/jvm/java-25-openjdk-$(dpkg --print-architecture)/bin/javaVerify the installation:
java -versionThe reported version must be 25.
ThingsBoard Package Download
Section titled “ThingsBoard Package Download”Download the ThingsBoard 4.4.0 package:
wget https://github.com/thingsboard/thingsboard/releases/download/v4.4/thingsboard-4.4.debThingsBoard Service Upgrade
Section titled “ThingsBoard Service Upgrade”Stop ThingsBoard service if it is running:
sudo systemctl stop thingsboardInstall the ThingsBoard 4.4.0 package:
sudo dpkg -i thingsboard-4.4.debExecute the upgrade script:
sudo /usr/share/thingsboard/bin/install/upgrade.sh --fromVersion=CEStart the Service
Section titled “Start the Service”Start ThingsBoard:
sudo systemctl start thingsboardActivate the License
Section titled “Activate the License”If you registered in the Community Grant Program, your instance is licensed and activated as soon as it starts — nothing to do here. If you bought a license instead, after ThingsBoard starts, open it in your browser and activate your license as described in Step 8 of the Ubuntu installation guide.
[Optional] Install the Web Report Component
Section titled “[Optional] Install the Web Report Component”The Web Report component renders dashboards into PDF and PNG reports. If you need scheduled or on-demand dashboard reports, install it as described in the Ubuntu installation guide.
CentOS/RHEL
Section titled “CentOS/RHEL”Install Java 25
Section titled “Install Java 25”ThingsBoard 4.4 requires Java 25, while ThingsBoard CE runs on Java 17. Install OpenJDK 25 and make it the default Java version before upgrading:
sudo dnf install -y java-25-openjdk-headlesssudo update-alternatives --set java /usr/lib/jvm/java-25-openjdk/bin/javaVerify the installation:
java -versionThe reported version must be 25.
ThingsBoard Package Download
Section titled “ThingsBoard Package Download”Download the ThingsBoard 4.4.0 package:
wget https://github.com/thingsboard/thingsboard/releases/download/v4.4/thingsboard-4.4.rpmThingsBoard Service Upgrade
Section titled “ThingsBoard Service Upgrade”Stop ThingsBoard service if it is running:
sudo systemctl stop thingsboardInstall the ThingsBoard 4.4.0 package:
sudo rpm -Uvh thingsboard-4.4.rpmExecute the upgrade script:
sudo /usr/share/thingsboard/bin/install/upgrade.sh --fromVersion=CEStart the Service
Section titled “Start the Service”Start ThingsBoard:
sudo systemctl start thingsboardActivate the License
Section titled “Activate the License”If you registered in the Community Grant Program, your instance is licensed and activated as soon as it starts — nothing to do here. If you bought a license instead, after ThingsBoard starts, open it in your browser and activate your license as described in Step 8 of the CentOS/RHEL installation guide.
[Optional] Install the Web Report Component
Section titled “[Optional] Install the Web Report Component”The Web Report component renders dashboards into PDF and PNG reports. If you need scheduled or on-demand dashboard reports, install it as described in the CentOS/RHEL installation guide.
Windows
Section titled “Windows”Install Java 25
Section titled “Install Java 25”ThingsBoard 4.4 requires Java 25, while ThingsBoard CE runs on Java 17. Install JDK 25 and make it the system’s default Java version before upgrading. Verify the installation:
java -versionThe reported version must be 25.
ThingsBoard Package Download
Section titled “ThingsBoard Package Download”Download the ThingsBoard installation package for Windows: thingsboard-windows-4.4.zip.
ThingsBoard Service Upgrade
Section titled “ThingsBoard Service Upgrade”Stop ThingsBoard service if it is running:
net stop thingsboard- Make a backup of previous ThingsBoard CE configuration located in
<ThingsBoard install dir>\conf(e.g.C:\thingsboard\conf). - Copy the content of thingsboard-windows-4.4.zip to the same location.
- Compare and merge your old ThingsBoard configuration files (from the backup) with the new ones.
Execute the upgrade script:
C:\thingsboard>upgrade.bat --fromVersion=CEStart the Service
Section titled “Start the Service”Start ThingsBoard:
net start thingsboardActivate the License
Section titled “Activate the License”If you registered in the Community Grant Program, your instance is licensed and activated as soon as it starts — nothing to do here. If you bought a license instead, after ThingsBoard starts, open it in your browser and activate your license as described in Step 4 of the Docker (Windows) installation guide; the activation screen is the same for every installation type.
Docker
Section titled “Docker”ThingsBoard Image Download
Section titled “ThingsBoard Image Download”Pull the ThingsBoard 4.4.0 and Web Report images:
docker pull thingsboard/tb-node:4.4.0docker pull thingsboard/tb-web-report:4.4.0ThingsBoard Service Upgrade
Section titled “ThingsBoard Service Upgrade”Stop and remove the ThingsBoard CE service:
docker compose stop thingsboard-cedocker compose rm -f thingsboard-ceUpdate your docker-compose.yml according to the Docker installation guide. Make sure to change the image tag to 4.4.0, define the required volumes, and add the Web Report service.
Run the upgrade and start the services:
docker compose run --rm -e UPGRADE_TB=true -e FROM_VERSION="CE" thingsboarddocker compose up -dActivate the License
Section titled “Activate the License”If you registered in the Community Grant Program, your instance is licensed and activated as soon as it starts — nothing to do here. If you bought a license instead, after ThingsBoard starts, open it in your browser and activate your license as described in Step 4 of the Docker installation guide.
Docker Compose
Section titled “Docker Compose”ThingsBoard Image Download
Section titled “ThingsBoard Image Download”Pull the ThingsBoard 4.4.0 and Web Report images:
docker pull thingsboard/tb-node:4.4.0docker pull thingsboard/tb-web-report:4.4.0ThingsBoard Service Upgrade
Section titled “ThingsBoard Service Upgrade”Stop the CE services:
./docker-stop-services.shManually merge your current ThingsBoard CE cluster configuration with the default Docker Compose cluster deployment files. Ensure that you transfer all custom environment variables, volume mappings, and external service configurations to the new files.
Run the upgrade and start the services:
./docker-upgrade-tb.sh --fromVersion=CE./docker-start-services.shActivate the License
Section titled “Activate the License”If you registered in the Community Grant Program, your instance is licensed and activated as soon as it starts — nothing to do here. If you bought a license instead, after ThingsBoard starts, open it in your browser and activate your license as described in Step 9 of the Docker Compose cluster setup guide.
Minikube
Section titled “Minikube”For AWS EKS, Azure AKS, or GCP GKE refer to the corresponding installation guides.
Stop ThingsBoard CE Resources
Section titled “Stop ThingsBoard CE Resources”Delete the CE resources from the cluster:
./k8s-delete-resources.shSwitch to Kubernetes Scripts
Section titled “Switch to Kubernetes Scripts”ThingsBoard uses a separate repository of Kubernetes scripts with additional components. Clone it into a separate directory:
git clone -b release-4.4.0 https://github.com/thingsboard/thingsboard-pe-k8s.git --depth 1cd thingsboard-pe-k8s/minikubeCopy your custom settings from the CE configuration (database type, hosts, environment variables, volumes) into the corresponding files of the new scripts.
Run the Database Upgrade
Section titled “Run the Database Upgrade”Upgrade the Community Edition database:
./k8s-upgrade-tb.sh --fromVersion=CEDeploy ThingsBoard Resources
Section titled “Deploy ThingsBoard Resources”Deploy the ThingsBoard resources:
./k8s-deploy-resources.shVerify the Upgrade
Section titled “Verify the Upgrade”Wait until all pods are running:
kubectl get pods -n thingsboardActivate the License
Section titled “Activate the License”If you registered in the Community Grant Program, your instance is licensed and activated as soon as it starts — nothing to do here. If you bought a license instead, once all pods are running, open http://{your-cluster-ip} in your browser (get the IP with minikube ip) and activate your license as described in Step 5 of the Minikube cluster setup guide.
Was this helpful?