ThingsBoard Edge PE Ubuntu 3.5.x Upgrade Instructions
Upgrading Edge PE to 3.5.1.1
Backup before upgrading
Stop the ThingsBoard Edge service to prevent data writes during the upgrade:
sudo systemctl stop tb-edgeCreate the backup:
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bakVerify the backup was created successfully:
ls -lh tb_edge.sql.bakDownload the Edge package
wget https://dist.thingsboard.io/tb-edge-3.5.1.1pe.debUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo dpkg -i tb-edge-3.5.1.1pe.debRun the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.5.1Start the service
sudo service tb-edge startUpgrading Edge PE to 3.5.1
Backup before upgrading
Stop the ThingsBoard Edge service to prevent data writes during the upgrade:
sudo systemctl stop tb-edgeCreate the backup:
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bakVerify the backup was created successfully:
ls -lh tb_edge.sql.bakDownload the Edge package
wget https://dist.thingsboard.io/tb-edge-3.5.1pe.debUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo dpkg -i tb-edge-3.5.1pe.debRun the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.5.0Start the service
sudo service tb-edge startUpgrading Edge PE to 3.5
Backup before upgrading
Stop the ThingsBoard Edge service to prevent data writes during the upgrade:
sudo systemctl stop tb-edgeCreate the backup:
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bakVerify the backup was created successfully:
ls -lh tb_edge.sql.bakDownload the Edge package
wget https://dist.thingsboard.io/tb-edge-3.5pe.debUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo dpkg -i tb-edge-3.5pe.debRun the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.4.3Start the service
sudo service tb-edge start