ThingsBoard Edge PE Ubuntu 3.6.x Upgrade Instructions
Upgrading 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-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://dist.thingsboard.io/tb-edge-3.6.4pe.deb
Upgrade the package
Stop the service if it is still running:
sudo service tb-edge stop
sudo dpkg -i tb-edge-3.6.4pe.deb
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 PE 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://dist.thingsboard.io/tb-edge-3.6.3pe.deb
Upgrade the package
Stop the service if it is still running:
sudo service tb-edge stop
sudo dpkg -i tb-edge-3.6.3pe.deb
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 PE 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://dist.thingsboard.io/tb-edge-3.6.2pe.deb
Upgrade the package
Stop the service if it is still running:
sudo service tb-edge stop
sudo dpkg -i tb-edge-3.6.2pe.deb
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 PE 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://dist.thingsboard.io/tb-edge-3.6.1pe.deb
Upgrade the package
Stop the service if it is still running:
sudo service tb-edge stop
sudo dpkg -i tb-edge-3.6.1pe.deb
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 PE 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://dist.thingsboard.io/tb-edge-3.6pe.deb
Upgrade the package
Stop the service if it is still running:
sudo service tb-edge stop
sudo dpkg -i tb-edge-3.6pe.deb
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