Skip to content
Stand with Ukraine flag

ThingsBoard Edge Ubuntu 3.3.x Upgrade Instructions

Upgrading Edge to 3.3.4.1

Backup before upgrading

Stop the ThingsBoard Edge service to prevent data writes during the upgrade:

Terminal window
sudo systemctl stop tb-edge

Create the backup:

Terminal window
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak

Verify the backup was created successfully:

Terminal window
ls -lh tb_edge.sql.bak

Download the Edge package

Terminal window
wget https://github.com/thingsboard/thingsboard-edge/releases/download/v3.3.4.1/tb-edge-3.3.4.1.deb

Upgrade the package

Stop the service if it is still running:

Terminal window
sudo service tb-edge stop
Terminal window
sudo dpkg -i tb-edge-3.3.4.1.deb

Run the upgrade script to migrate your data and configurations:

Terminal window
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.3.4

Start the service

Terminal window
sudo service tb-edge start