Upgrading ThingsBoard Edge — CentOS/RHEL
Upgrading Edge 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-edge
Create the backup:
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak
Verify the backup was created successfully:
ls -lh tb_edge.sql.bak
Download the Edge package
wget https://github.com/thingsboard/thingsboard-edge/releases/download/v4.3.1.1/tb-edge-4.3.1.1.rpm
Upgrade the package
Stop the service if it is still running:
sudo service tb-edge stop
sudo rpm -Uvh tb-edge-4.3.1.1.rpm
Run the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh
Start the service
sudo service tb-edge start
Upgrading Edge 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-edge
Create the backup:
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak
Verify the backup was created successfully:
ls -lh tb_edge.sql.bak
Download the Edge package
wget https://github.com/thingsboard/thingsboard-edge/releases/download/v4.3.0.1/tb-edge-4.3.0.1.rpm
Upgrade the package
Stop the service if it is still running:
sudo service tb-edge stop
sudo rpm -Uvh tb-edge-4.3.0.1.rpm
Run the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh
Start the service
sudo service tb-edge start
Upgrading Edge 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-edge
Create the backup:
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak
Verify the backup was created successfully:
ls -lh tb_edge.sql.bak
Download the Edge package
wget https://github.com/thingsboard/thingsboard-edge/releases/download/v4.2.2.1/tb-edge-4.2.2.1.rpm
Upgrade the package
Stop the service if it is still running:
sudo service tb-edge stop
sudo rpm -Uvh tb-edge-4.2.2.1.rpm
Run the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh
Start the service
sudo service tb-edge start
Upgrading Edge 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-edge
Create the backup:
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak
Verify the backup was created successfully:
ls -lh tb_edge.sql.bak
Download the Edge package
wget https://github.com/thingsboard/thingsboard-edge/releases/download/v4.2.1.2/tb-edge-4.2.1.2.rpm
Upgrade the package
Stop the service if it is still running:
sudo service tb-edge stop
sudo rpm -Uvh tb-edge-4.2.1.2.rpm
Run the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh
Start the service
sudo service tb-edge start
Upgrading Edge to 4.2
Backup before upgrading
Stop the ThingsBoard Edge service to prevent data writes during the upgrade:
sudo systemctl stop tb-edge
Create the backup:
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak
Verify the backup was created successfully:
ls -lh tb_edge.sql.bak
Download the Edge package
wget https://github.com/thingsboard/thingsboard-edge/releases/download/v4.2/tb-edge-4.2.rpm
Upgrade the package
Stop the service if it is still running:
sudo service tb-edge stop
sudo rpm -Uvh tb-edge-4.2.rpm
Run the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh
Start the service
sudo service tb-edge start
Upgrading Edge to 4.1
Backup before upgrading
Stop the ThingsBoard Edge service to prevent data writes during the upgrade:
sudo systemctl stop tb-edge
Create the backup:
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak
Verify the backup was created successfully:
ls -lh tb_edge.sql.bak
Download the Edge package
wget https://github.com/thingsboard/thingsboard-edge/releases/download/v4.1/tb-edge-4.1.rpm
Upgrade the package
Stop the service if it is still running:
sudo service tb-edge stop
sudo rpm -Uvh tb-edge-4.1.rpm
Run the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh
Start the service
sudo service tb-edge start
Upgrading Edge to 4.0.1
Backup before upgrading
Stop the ThingsBoard Edge service to prevent data writes during the upgrade:
sudo systemctl stop tb-edge
Create the backup:
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak
Verify the backup was created successfully:
ls -lh tb_edge.sql.bak
Download the Edge package
wget https://github.com/thingsboard/thingsboard-edge/releases/download/v4.0/tb-edge-4.0.1.rpm
Upgrade the package
Stop the service if it is still running:
sudo service tb-edge stop
sudo rpm -Uvh tb-edge-4.0.1.rpm
Run the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.9.1
Start the service
sudo service tb-edge start
Upgrading Edge to 3.9.1
Backup before upgrading
Stop the ThingsBoard Edge service to prevent data writes during the upgrade:
sudo systemctl stop tb-edge
Create the backup:
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak
Verify the backup was created successfully:
ls -lh tb_edge.sql.bak
Download the Edge package
wget https://github.com/thingsboard/thingsboard-edge/releases/download/v3.9.1/tb-edge-3.9.1.rpm
Upgrade the package
Stop the service if it is still running:
sudo service tb-edge stop
sudo rpm -Uvh tb-edge-3.9.1.rpm
Run the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh
Start the service
sudo service tb-edge start
Upgrading Edge to 3.9
Backup before upgrading
Stop the ThingsBoard Edge service to prevent data writes during the upgrade:
sudo systemctl stop tb-edge
Create the backup:
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak
Verify the backup was created successfully:
ls -lh tb_edge.sql.bak
Download the Edge package
wget https://github.com/thingsboard/thingsboard-edge/releases/download/v3.9/tb-edge-3.9.rpm
Upgrade the package
Stop the service if it is still running:
sudo service tb-edge stop
sudo rpm -Uvh tb-edge-3.9.rpm
Run the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh
Start the service
sudo service tb-edge start
Upgrading Edge to 3.8
Backup before upgrading
Stop the ThingsBoard Edge service to prevent data writes during the upgrade:
sudo systemctl stop tb-edge
Create the backup:
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak
Verify the backup was created successfully:
ls -lh tb_edge.sql.bak
Download the Edge package
wget https://github.com/thingsboard/thingsboard-edge/releases/download/v3.8/tb-edge-3.8.rpm
Upgrade the package
Stop the service if it is still running:
sudo service tb-edge stop
sudo rpm -Uvh tb-edge-3.8.rpm
Run the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.7.0
Start the service
sudo service tb-edge start
Upgrading Edge to 3.7
Backup before upgrading
Stop the ThingsBoard Edge service to prevent data writes during the upgrade:
sudo systemctl stop tb-edge
Create the backup:
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak
Verify the backup was created successfully:
ls -lh tb_edge.sql.bak
Download the Edge package
wget https://github.com/thingsboard/thingsboard-edge/releases/download/v3.7/tb-edge-3.7.rpm
Upgrade the package
Stop the service if it is still running:
sudo service tb-edge stop
sudo rpm -Uvh tb-edge-3.7.rpm
Run the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.6.4
Start the service
sudo service tb-edge start
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-edge
Create the backup:
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak
Verify the backup was created successfully:
ls -lh tb_edge.sql.bak
Download the Edge package
wget https://github.com/thingsboard/thingsboard-edge/releases/download/v3.6.4/tb-edge-3.6.4.rpm
Upgrade the package
Stop the service if it is still running:
sudo service tb-edge stop
sudo rpm -Uvh tb-edge-3.6.4.rpm
Run the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.6.3
Start the service
sudo service tb-edge start
Upgrading Edge to 3.6.3
Backup before upgrading
Stop the ThingsBoard Edge service to prevent data writes during the upgrade:
sudo systemctl stop tb-edge
Create the backup:
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak
Verify the backup was created successfully:
ls -lh tb_edge.sql.bak
Download the Edge package
wget https://github.com/thingsboard/thingsboard-edge/releases/download/v3.6.3/tb-edge-3.6.3.rpm
Upgrade the package
Stop the service if it is still running:
sudo service tb-edge stop
sudo rpm -Uvh tb-edge-3.6.3.rpm
Run the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.6.2
Start the service
sudo service tb-edge start
Upgrading Edge to 3.6.2
Backup before upgrading
Stop the ThingsBoard Edge service to prevent data writes during the upgrade:
sudo systemctl stop tb-edge
Create the backup:
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak
Verify the backup was created successfully:
ls -lh tb_edge.sql.bak
Download the Edge package
wget https://github.com/thingsboard/thingsboard-edge/releases/download/v3.6.2/tb-edge-3.6.2.rpm
Upgrade the package
Stop the service if it is still running:
sudo service tb-edge stop
sudo rpm -Uvh tb-edge-3.6.2.rpm
Run the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.6.1
Start the service
sudo service tb-edge start
Upgrading Edge to 3.6.1
Backup before upgrading
Stop the ThingsBoard Edge service to prevent data writes during the upgrade:
sudo systemctl stop tb-edge
Create the backup:
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak
Verify the backup was created successfully:
ls -lh tb_edge.sql.bak
Download the Edge package
wget https://github.com/thingsboard/thingsboard-edge/releases/download/v3.6.1/tb-edge-3.6.1.rpm
Upgrade the package
Stop the service if it is still running:
sudo service tb-edge stop
sudo rpm -Uvh tb-edge-3.6.1.rpm
Run the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.6.0
Start the service
sudo service tb-edge start
Upgrading Edge to 3.6
Backup before upgrading
Stop the ThingsBoard Edge service to prevent data writes during the upgrade:
sudo systemctl stop tb-edge
Create the backup:
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak
Verify the backup was created successfully:
ls -lh tb_edge.sql.bak
Download the Edge package
wget https://github.com/thingsboard/thingsboard-edge/releases/download/v3.6/tb-edge-3.6.rpm
Upgrade the package
Stop the service if it is still running:
sudo service tb-edge stop
sudo rpm -Uvh tb-edge-3.6.rpm
Run the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.5.1.1
Start the service
sudo service tb-edge start
Upgrading Edge to 3.5.1.1
Backup before upgrading
Stop the ThingsBoard Edge service to prevent data writes during the upgrade:
sudo systemctl stop tb-edge
Create the backup:
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak
Verify the backup was created successfully:
ls -lh tb_edge.sql.bak
Download the Edge package
wget https://github.com/thingsboard/thingsboard-edge/releases/download/v3.5.1.1/tb-edge-3.5.1.1.rpm
Upgrade the package
Stop the service if it is still running:
sudo service tb-edge stop
sudo rpm -Uvh tb-edge-3.5.1.1.rpm
Run the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.5.1
Start the service
sudo service tb-edge start
Upgrading Edge to 3.5.1
Backup before upgrading
Stop the ThingsBoard Edge service to prevent data writes during the upgrade:
sudo systemctl stop tb-edge
Create the backup:
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak
Verify the backup was created successfully:
ls -lh tb_edge.sql.bak
Download the Edge package
wget https://github.com/thingsboard/thingsboard-edge/releases/download/v3.5.1/tb-edge-3.5.1.rpm
Upgrade the package
Stop the service if it is still running:
sudo service tb-edge stop
sudo rpm -Uvh tb-edge-3.5.1.rpm
Run the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.5.0
Start the service
sudo service tb-edge start
Upgrading Edge to 3.5
Backup before upgrading
Stop the ThingsBoard Edge service to prevent data writes during the upgrade:
sudo systemctl stop tb-edge
Create the backup:
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak
Verify the backup was created successfully:
ls -lh tb_edge.sql.bak
Download the Edge package
wget https://github.com/thingsboard/thingsboard-edge/releases/download/v3.5/tb-edge-3.5.rpm
Upgrade the package
Stop the service if it is still running:
sudo service tb-edge stop
sudo rpm -Uvh tb-edge-3.5.rpm
Run the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.4.3
Start the service
sudo service tb-edge start
Upgrading Edge to 3.4.3
Backup before upgrading
Stop the ThingsBoard Edge service to prevent data writes during the upgrade:
sudo systemctl stop tb-edge
Create the backup:
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak
Verify the backup was created successfully:
ls -lh tb_edge.sql.bak
Download the Edge package
wget https://github.com/thingsboard/thingsboard-edge/releases/download/v3.4.3/tb-edge-3.4.3.rpm
Upgrade the package
Stop the service if it is still running:
sudo service tb-edge stop
sudo rpm -Uvh tb-edge-3.4.3.rpm
Run the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.4.1
Start the service
sudo service tb-edge start
Upgrading Edge to 3.4.1
Backup before upgrading
Stop the ThingsBoard Edge service to prevent data writes during the upgrade:
sudo systemctl stop tb-edge
Create the backup:
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak
Verify the backup was created successfully:
ls -lh tb_edge.sql.bak
Download the Edge package
wget https://github.com/thingsboard/thingsboard-edge/releases/download/v3.4.1/tb-edge-3.4.1.rpm
Upgrade the package
Stop the service if it is still running:
sudo service tb-edge stop
sudo rpm -Uvh tb-edge-3.4.1.rpm
Run the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.4.0
Start the service
sudo service tb-edge start
Upgrading Edge to 3.4
Backup before upgrading
Stop the ThingsBoard Edge service to prevent data writes during the upgrade:
sudo systemctl stop tb-edge
Create the backup:
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak
Verify the backup was created successfully:
ls -lh tb_edge.sql.bak
Download the Edge package
wget https://github.com/thingsboard/thingsboard-edge/releases/download/v3.4/tb-edge-3.4.rpm
Upgrade the package
Stop the service if it is still running:
sudo service tb-edge stop
sudo rpm -Uvh tb-edge-3.4.rpm
Run the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.3.4.1
Start the service
sudo service tb-edge start
Upgrading Edge to 3.3.4.1
Backup before upgrading
Stop the ThingsBoard Edge service to prevent data writes during the upgrade:
sudo systemctl stop tb-edge
Create the backup:
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak
Verify the backup was created successfully:
ls -lh tb_edge.sql.bak
Download the Edge package
wget https://github.com/thingsboard/thingsboard-edge/releases/download/v3.3.4.1/tb-edge-3.3.4.1.rpm
Upgrade the package
Stop the service if it is still running:
sudo service tb-edge stop
sudo rpm -Uvh tb-edge-3.3.4.1.rpm
Run the upgrade script to migrate your data and configurations:
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.3.4
Start the service
sudo service tb-edge start