ThingsBoard Edge CentOS/RHEL 3.6.x Upgrade Instructions
Upgrading Edge to 3.6.4
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://github.com/thingsboard/thingsboard-edge/releases/download/v3.6.4/tb-edge-3.6.4.rpmUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo rpm -Uvh tb-edge-3.6.4.rpmRun the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.6.3Start the service
sudo service tb-edge startUpgrading Edge to 3.6.3
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://github.com/thingsboard/thingsboard-edge/releases/download/v3.6.3/tb-edge-3.6.3.rpmUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo rpm -Uvh tb-edge-3.6.3.rpmRun the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.6.2Start the service
sudo service tb-edge startUpgrading Edge to 3.6.2
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://github.com/thingsboard/thingsboard-edge/releases/download/v3.6.2/tb-edge-3.6.2.rpmUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo rpm -Uvh tb-edge-3.6.2.rpmRun the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.6.1Start the service
sudo service tb-edge startUpgrading Edge to 3.6.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://github.com/thingsboard/thingsboard-edge/releases/download/v3.6.1/tb-edge-3.6.1.rpmUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo rpm -Uvh tb-edge-3.6.1.rpmRun the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.6.0Start the service
sudo service tb-edge startUpgrading Edge to 3.6
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://github.com/thingsboard/thingsboard-edge/releases/download/v3.6/tb-edge-3.6.rpmUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo rpm -Uvh tb-edge-3.6.rpmRun the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.5.1.1Start the service
sudo service tb-edge start