Skip to content

Cookie preferences

We use cookies for our own analytics and to see how our campaigns perform. We never sell your data. Necessary cookies keep the site working and cannot be switched off. See our Cookie Policy for details.

Security, load balancing and remembering your cookie choice.

Show us which pages people read and how they find the site, so we can improve it (Google Analytics).

Show us which of our ad campaigns bring visitors to the site (Google Ads).

© 2026 The ThingsBoard Authors
Try for free

ThingsBoard Cloud

Choose your data region

Your data stays in the region you choose, for residency and compliance. No credit card required.

Rather run it yourself? Install on your own servers

Upgrading ThingsBoard Edge PE — Ubuntu

Upgrading Edge PE to 4.3.1.1 (latest 4.3.1 patch)

Backup before upgrading

Stop the ThingsBoard Edge service to prevent data writes during the upgrade:

Terminal window
sudo systemctl stop tb-edge

Create the backup:

Terminal window
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak

Verify the backup was created successfully:

Terminal window
ls -lh tb_edge.sql.bak

Download the Edge package

Terminal window
wget https://dist.thingsboard.io/tb-edge-4.3.1.1pe.deb

Upgrade the package

Stop the service if it is still running:

Terminal window
sudo service tb-edge stop
Terminal window
sudo dpkg -i tb-edge-4.3.1.1pe.deb

Run the upgrade script to migrate your data and configurations:

Terminal window
sudo /usr/share/tb-edge/bin/install/upgrade.sh

Start the service

Terminal window
sudo service tb-edge start

Upgrading Edge PE to 4.3.0.1 (latest 4.3.0 patch)

Backup before upgrading

Stop the ThingsBoard Edge service to prevent data writes during the upgrade:

Terminal window
sudo systemctl stop tb-edge

Create the backup:

Terminal window
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak

Verify the backup was created successfully:

Terminal window
ls -lh tb_edge.sql.bak

Download the Edge package

Terminal window
wget https://dist.thingsboard.io/tb-edge-4.3.0.1pe.deb

Upgrade the package

Stop the service if it is still running:

Terminal window
sudo service tb-edge stop
Terminal window
sudo dpkg -i tb-edge-4.3.0.1pe.deb

Run the upgrade script to migrate your data and configurations:

Terminal window
sudo /usr/share/tb-edge/bin/install/upgrade.sh

Start the service

Terminal window
sudo service tb-edge start

Upgrading Edge PE to 4.2.2.1 (latest 4.2.2 patch)

Backup before upgrading

Stop the ThingsBoard Edge service to prevent data writes during the upgrade:

Terminal window
sudo systemctl stop tb-edge

Create the backup:

Terminal window
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak

Verify the backup was created successfully:

Terminal window
ls -lh tb_edge.sql.bak

Download the Edge package

Terminal window
wget https://dist.thingsboard.io/tb-edge-4.2.2.1pe.deb

Upgrade the package

Stop the service if it is still running:

Terminal window
sudo service tb-edge stop
Terminal window
sudo dpkg -i tb-edge-4.2.2.1pe.deb

Run the upgrade script to migrate your data and configurations:

Terminal window
sudo /usr/share/tb-edge/bin/install/upgrade.sh

Start the service

Terminal window
sudo service tb-edge start

Upgrading Edge PE to 4.2.1.2 (latest 4.2.1 patch)

Backup before upgrading

Stop the ThingsBoard Edge service to prevent data writes during the upgrade:

Terminal window
sudo systemctl stop tb-edge

Create the backup:

Terminal window
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak

Verify the backup was created successfully:

Terminal window
ls -lh tb_edge.sql.bak

Download the Edge package

Terminal window
wget https://dist.thingsboard.io/tb-edge-4.2.1.2pe.deb

Upgrade the package

Stop the service if it is still running:

Terminal window
sudo service tb-edge stop
Terminal window
sudo dpkg -i tb-edge-4.2.1.2pe.deb

Run the upgrade script to migrate your data and configurations:

Terminal window
sudo /usr/share/tb-edge/bin/install/upgrade.sh

Start the service

Terminal window
sudo service tb-edge start

Upgrading Edge PE to 4.2

Backup before upgrading

Stop the ThingsBoard Edge service to prevent data writes during the upgrade:

Terminal window
sudo systemctl stop tb-edge

Create the backup:

Terminal window
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak

Verify the backup was created successfully:

Terminal window
ls -lh tb_edge.sql.bak

Download the Edge package

Terminal window
wget https://dist.thingsboard.io/tb-edge-4.2pe.deb

Upgrade the package

Stop the service if it is still running:

Terminal window
sudo service tb-edge stop
Terminal window
sudo dpkg -i tb-edge-4.2pe.deb

Run the upgrade script to migrate your data and configurations:

Terminal window
sudo /usr/share/tb-edge/bin/install/upgrade.sh

Start the service

Terminal window
sudo service tb-edge start

Upgrading Edge PE to 4.1

Backup before upgrading

Stop the ThingsBoard Edge service to prevent data writes during the upgrade:

Terminal window
sudo systemctl stop tb-edge

Create the backup:

Terminal window
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak

Verify the backup was created successfully:

Terminal window
ls -lh tb_edge.sql.bak

Download the Edge package

Terminal window
wget https://dist.thingsboard.io/tb-edge-4.1pe.deb

Upgrade the package

Stop the service if it is still running:

Terminal window
sudo service tb-edge stop
Terminal window
sudo dpkg -i tb-edge-4.1pe.deb

Run the upgrade script to migrate your data and configurations:

Terminal window
sudo /usr/share/tb-edge/bin/install/upgrade.sh

Start the service

Terminal window
sudo service tb-edge start

Upgrading Edge PE to 4.0.1

Backup before upgrading

Stop the ThingsBoard Edge service to prevent data writes during the upgrade:

Terminal window
sudo systemctl stop tb-edge

Create the backup:

Terminal window
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak

Verify the backup was created successfully:

Terminal window
ls -lh tb_edge.sql.bak

Download the Edge package

Terminal window
wget https://dist.thingsboard.io/tb-edge-4.0.1pe.deb

Upgrade the package

Stop the service if it is still running:

Terminal window
sudo service tb-edge stop
Terminal window
sudo dpkg -i tb-edge-4.0.1pe.deb

Run the upgrade script to migrate your data and configurations:

Terminal window
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.9.1

Start the service

Terminal window
sudo service tb-edge start

Upgrading Edge PE to 3.9.1

Backup before upgrading

Stop the ThingsBoard Edge service to prevent data writes during the upgrade:

Terminal window
sudo systemctl stop tb-edge

Create the backup:

Terminal window
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak

Verify the backup was created successfully:

Terminal window
ls -lh tb_edge.sql.bak

Download the Edge package

Terminal window
wget https://dist.thingsboard.io/tb-edge-3.9.1pe.deb

Upgrade the package

Stop the service if it is still running:

Terminal window
sudo service tb-edge stop
Terminal window
sudo dpkg -i tb-edge-3.9.1pe.deb

Run the upgrade script to migrate your data and configurations:

Terminal window
sudo /usr/share/tb-edge/bin/install/upgrade.sh

Start the service

Terminal window
sudo service tb-edge start

Upgrading Edge PE to 3.9

Backup before upgrading

Stop the ThingsBoard Edge service to prevent data writes during the upgrade:

Terminal window
sudo systemctl stop tb-edge

Create the backup:

Terminal window
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak

Verify the backup was created successfully:

Terminal window
ls -lh tb_edge.sql.bak

Download the Edge package

Terminal window
wget https://dist.thingsboard.io/tb-edge-3.9pe.deb

Upgrade the package

Stop the service if it is still running:

Terminal window
sudo service tb-edge stop
Terminal window
sudo dpkg -i tb-edge-3.9pe.deb

Run the upgrade script to migrate your data and configurations:

Terminal window
sudo /usr/share/tb-edge/bin/install/upgrade.sh

Start the service

Terminal window
sudo service tb-edge start

Upgrading Edge PE to 3.8

Backup before upgrading

Stop the ThingsBoard Edge service to prevent data writes during the upgrade:

Terminal window
sudo systemctl stop tb-edge

Create the backup:

Terminal window
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak

Verify the backup was created successfully:

Terminal window
ls -lh tb_edge.sql.bak

Download the Edge package

Terminal window
wget https://dist.thingsboard.io/tb-edge-3.8pe.deb

Upgrade the package

Stop the service if it is still running:

Terminal window
sudo service tb-edge stop
Terminal window
sudo dpkg -i tb-edge-3.8pe.deb

Run the upgrade script to migrate your data and configurations:

Terminal window
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.7.0

Start the service

Terminal window
sudo service tb-edge start

Upgrading Edge PE to 3.7

Backup before upgrading

Stop the ThingsBoard Edge service to prevent data writes during the upgrade:

Terminal window
sudo systemctl stop tb-edge

Create the backup:

Terminal window
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak

Verify the backup was created successfully:

Terminal window
ls -lh tb_edge.sql.bak

Download the Edge package

Terminal window
wget https://dist.thingsboard.io/tb-edge-3.7pe.deb

Upgrade the package

Stop the service if it is still running:

Terminal window
sudo service tb-edge stop
Terminal window
sudo dpkg -i tb-edge-3.7pe.deb

Run the upgrade script to migrate your data and configurations:

Terminal window
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.6.4

Start the service

Terminal window
sudo service tb-edge start

Upgrading Edge PE to 3.6.4

Backup before upgrading

Stop the ThingsBoard Edge service to prevent data writes during the upgrade:

Terminal window
sudo systemctl stop tb-edge

Create the backup:

Terminal window
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak

Verify the backup was created successfully:

Terminal window
ls -lh tb_edge.sql.bak

Download the Edge package

Terminal window
wget https://dist.thingsboard.io/tb-edge-3.6.4pe.deb

Upgrade the package

Stop the service if it is still running:

Terminal window
sudo service tb-edge stop
Terminal window
sudo dpkg -i tb-edge-3.6.4pe.deb

Run the upgrade script to migrate your data and configurations:

Terminal window
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.6.3

Start the service

Terminal window
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:

Terminal window
sudo systemctl stop tb-edge

Create the backup:

Terminal window
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak

Verify the backup was created successfully:

Terminal window
ls -lh tb_edge.sql.bak

Download the Edge package

Terminal window
wget https://dist.thingsboard.io/tb-edge-3.6.3pe.deb

Upgrade the package

Stop the service if it is still running:

Terminal window
sudo service tb-edge stop
Terminal window
sudo dpkg -i tb-edge-3.6.3pe.deb

Run the upgrade script to migrate your data and configurations:

Terminal window
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.6.2

Start the service

Terminal window
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:

Terminal window
sudo systemctl stop tb-edge

Create the backup:

Terminal window
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak

Verify the backup was created successfully:

Terminal window
ls -lh tb_edge.sql.bak

Download the Edge package

Terminal window
wget https://dist.thingsboard.io/tb-edge-3.6.2pe.deb

Upgrade the package

Stop the service if it is still running:

Terminal window
sudo service tb-edge stop
Terminal window
sudo dpkg -i tb-edge-3.6.2pe.deb

Run the upgrade script to migrate your data and configurations:

Terminal window
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.6.1

Start the service

Terminal window
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:

Terminal window
sudo systemctl stop tb-edge

Create the backup:

Terminal window
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak

Verify the backup was created successfully:

Terminal window
ls -lh tb_edge.sql.bak

Download the Edge package

Terminal window
wget https://dist.thingsboard.io/tb-edge-3.6.1pe.deb

Upgrade the package

Stop the service if it is still running:

Terminal window
sudo service tb-edge stop
Terminal window
sudo dpkg -i tb-edge-3.6.1pe.deb

Run the upgrade script to migrate your data and configurations:

Terminal window
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.6.0

Start the service

Terminal window
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:

Terminal window
sudo systemctl stop tb-edge

Create the backup:

Terminal window
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak

Verify the backup was created successfully:

Terminal window
ls -lh tb_edge.sql.bak

Download the Edge package

Terminal window
wget https://dist.thingsboard.io/tb-edge-3.6pe.deb

Upgrade the package

Stop the service if it is still running:

Terminal window
sudo service tb-edge stop
Terminal window
sudo dpkg -i tb-edge-3.6pe.deb

Run the upgrade script to migrate your data and configurations:

Terminal window
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.5.1.1

Start the service

Terminal window
sudo service tb-edge start

Upgrading Edge PE to 3.5.1.1

Backup before upgrading

Stop the ThingsBoard Edge service to prevent data writes during the upgrade:

Terminal window
sudo systemctl stop tb-edge

Create the backup:

Terminal window
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak

Verify the backup was created successfully:

Terminal window
ls -lh tb_edge.sql.bak

Download the Edge package

Terminal window
wget https://dist.thingsboard.io/tb-edge-3.5.1.1pe.deb

Upgrade the package

Stop the service if it is still running:

Terminal window
sudo service tb-edge stop
Terminal window
sudo dpkg -i tb-edge-3.5.1.1pe.deb

Run the upgrade script to migrate your data and configurations:

Terminal window
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.5.1

Start the service

Terminal window
sudo service tb-edge start

Upgrading Edge PE to 3.5.1

Backup before upgrading

Stop the ThingsBoard Edge service to prevent data writes during the upgrade:

Terminal window
sudo systemctl stop tb-edge

Create the backup:

Terminal window
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak

Verify the backup was created successfully:

Terminal window
ls -lh tb_edge.sql.bak

Download the Edge package

Terminal window
wget https://dist.thingsboard.io/tb-edge-3.5.1pe.deb

Upgrade the package

Stop the service if it is still running:

Terminal window
sudo service tb-edge stop
Terminal window
sudo dpkg -i tb-edge-3.5.1pe.deb

Run the upgrade script to migrate your data and configurations:

Terminal window
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.5.0

Start the service

Terminal window
sudo service tb-edge start

Upgrading Edge PE to 3.5

Backup before upgrading

Stop the ThingsBoard Edge service to prevent data writes during the upgrade:

Terminal window
sudo systemctl stop tb-edge

Create the backup:

Terminal window
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak

Verify the backup was created successfully:

Terminal window
ls -lh tb_edge.sql.bak

Download the Edge package

Terminal window
wget https://dist.thingsboard.io/tb-edge-3.5pe.deb

Upgrade the package

Stop the service if it is still running:

Terminal window
sudo service tb-edge stop
Terminal window
sudo dpkg -i tb-edge-3.5pe.deb

Run the upgrade script to migrate your data and configurations:

Terminal window
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.4.3

Start the service

Terminal window
sudo service tb-edge start

Upgrading Edge PE to 3.4.3

Backup before upgrading

Stop the ThingsBoard Edge service to prevent data writes during the upgrade:

Terminal window
sudo systemctl stop tb-edge

Create the backup:

Terminal window
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak

Verify the backup was created successfully:

Terminal window
ls -lh tb_edge.sql.bak

Download the Edge package

Terminal window
wget https://dist.thingsboard.io/tb-edge-3.4.3pe.deb

Upgrade the package

Stop the service if it is still running:

Terminal window
sudo service tb-edge stop
Terminal window
sudo dpkg -i tb-edge-3.4.3pe.deb

Run the upgrade script to migrate your data and configurations:

Terminal window
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.4.1

Start the service

Terminal window
sudo service tb-edge start

Upgrading Edge PE to 3.4.1

Backup before upgrading

Stop the ThingsBoard Edge service to prevent data writes during the upgrade:

Terminal window
sudo systemctl stop tb-edge

Create the backup:

Terminal window
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak

Verify the backup was created successfully:

Terminal window
ls -lh tb_edge.sql.bak

Download the Edge package

Terminal window
wget https://dist.thingsboard.io/tb-edge-3.4.1pe.deb

Upgrade the package

Stop the service if it is still running:

Terminal window
sudo service tb-edge stop
Terminal window
sudo dpkg -i tb-edge-3.4.1pe.deb

Run the upgrade script to migrate your data and configurations:

Terminal window
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.4.0

Start the service

Terminal window
sudo service tb-edge start

Upgrading Edge PE to 3.4

Backup before upgrading

Stop the ThingsBoard Edge service to prevent data writes during the upgrade:

Terminal window
sudo systemctl stop tb-edge

Create the backup:

Terminal window
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak

Verify the backup was created successfully:

Terminal window
ls -lh tb_edge.sql.bak

Download the Edge package

Terminal window
wget https://dist.thingsboard.io/tb-edge-3.4pe.deb

Upgrade the package

Stop the service if it is still running:

Terminal window
sudo service tb-edge stop
Terminal window
sudo dpkg -i tb-edge-3.4pe.deb

Run the upgrade script to migrate your data and configurations:

Terminal window
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.3.4.1

Start the service

Terminal window
sudo service tb-edge start

Upgrading Edge PE to 3.3.4.1

Backup before upgrading

Stop the ThingsBoard Edge service to prevent data writes during the upgrade:

Terminal window
sudo systemctl stop tb-edge

Create the backup:

Terminal window
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak

Verify the backup was created successfully:

Terminal window
ls -lh tb_edge.sql.bak

Download the Edge package

Terminal window
wget https://dist.thingsboard.io/tb-edge-3.3.4.1pe.deb

Upgrade the package

Stop the service if it is still running:

Terminal window
sudo service tb-edge stop
Terminal window
sudo dpkg -i tb-edge-3.3.4.1pe.deb

Run the upgrade script to migrate your data and configurations:

Terminal window
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.3.4

Start the service

Terminal window
sudo service tb-edge start