Upgrading ThingsBoard Edge PE — CentOS/RHEL
Upgrading Edge PE to latest 4.3.1 (4.3.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-4.3.1.1pe.rpmUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo rpm -Uvh tb-edge-4.3.1.1pe.rpmRun the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.shStart the service
sudo service tb-edge startUpgrading Edge PE to latest 4.3.0 (4.3.0.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-4.3.0.1pe.rpmUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo rpm -Uvh tb-edge-4.3.0.1pe.rpmRun the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.shStart the service
sudo service tb-edge startUpgrading Edge PE to latest 4.2.2 (4.2.2.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-4.2.2.1pe.rpmUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo rpm -Uvh tb-edge-4.2.2.1pe.rpmRun the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.shStart the service
sudo service tb-edge startUpgrading Edge PE to latest 4.2.1 (4.2.1.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://dist.thingsboard.io/tb-edge-4.2.1.2pe.rpmUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo rpm -Uvh tb-edge-4.2.1.2pe.rpmRun the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.shStart the service
sudo service tb-edge startUpgrading Edge PE to 4.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://dist.thingsboard.io/tb-edge-4.2pe.rpmUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo rpm -Uvh tb-edge-4.2pe.rpmRun the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.shStart the service
sudo service tb-edge startUpgrading Edge PE to 4.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-4.1pe.rpmUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo rpm -Uvh tb-edge-4.1pe.rpmRun the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.shStart the service
sudo service tb-edge startUpgrading Edge PE to 4.0.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-4.0.1pe.rpmUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo rpm -Uvh tb-edge-4.0.1pe.rpmRun the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.9.1Start the service
sudo service tb-edge startUpgrading Edge PE to 3.9.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.9.1pe.rpmUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo rpm -Uvh tb-edge-3.9.1pe.rpmRun the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.shStart the service
sudo service tb-edge startUpgrading Edge PE to 3.9
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.9pe.rpmUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo rpm -Uvh tb-edge-3.9pe.rpmRun the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.shStart the service
sudo service tb-edge startUpgrading Edge PE to 3.8
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.8pe.rpmUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo rpm -Uvh tb-edge-3.8pe.rpmRun the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.7.0Start the service
sudo service tb-edge startUpgrading Edge PE to 3.7
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.7pe.rpmUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo rpm -Uvh tb-edge-3.7pe.rpmRun the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.6.4Start the service
sudo service tb-edge startUpgrading Edge PE 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://dist.thingsboard.io/tb-edge-3.6.4pe.rpmUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo rpm -Uvh tb-edge-3.6.4pe.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 PE 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://dist.thingsboard.io/tb-edge-3.6.3pe.rpmUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo rpm -Uvh tb-edge-3.6.3pe.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 PE 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://dist.thingsboard.io/tb-edge-3.6.2pe.rpmUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo rpm -Uvh tb-edge-3.6.2pe.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 PE 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://dist.thingsboard.io/tb-edge-3.6.1pe.rpmUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo rpm -Uvh tb-edge-3.6.1pe.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 PE 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://dist.thingsboard.io/tb-edge-3.6pe.rpmUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo rpm -Uvh tb-edge-3.6pe.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 startUpgrading 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.rpmUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo rpm -Uvh tb-edge-3.5.1.1pe.rpmRun 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.rpmUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo rpm -Uvh tb-edge-3.5.1pe.rpmRun 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.rpmUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo rpm -Uvh tb-edge-3.5pe.rpmRun 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 startUpgrading Edge PE to 3.4.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://dist.thingsboard.io/tb-edge-3.4.3pe.rpmUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo rpm -Uvh tb-edge-3.4.3pe.rpmRun the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.4.1Start the service
sudo service tb-edge startUpgrading Edge PE to 3.4.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.4.1pe.rpmUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo rpm -Uvh tb-edge-3.4.1pe.rpmRun the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.4.0Start the service
sudo service tb-edge startUpgrading Edge PE to 3.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://dist.thingsboard.io/tb-edge-3.4pe.rpmUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo rpm -Uvh tb-edge-3.4pe.rpmRun the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.3.4.1Start the service
sudo service tb-edge startUpgrading Edge PE to 3.3.4.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.3.4.1pe.rpmUpgrade the package
Stop the service if it is still running:
sudo service tb-edge stopsudo rpm -Uvh tb-edge-3.3.4.1pe.rpmRun the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.3.4Start the service
sudo service tb-edge startWas this helpful?