Skip to content
© 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

Upgrade instructions

Upgrade ThingsBoard IoT Gateway to the latest version. Configuration files, connector settings, and custom extensions are preserved during the upgrade. For a first-time installation, see Installation options.

  1. Download the .deb package.

    Terminal window
    wget https://github.com/thingsboard/thingsboard-gateway/releases/latest/download/python3-thingsboard-gateway.deb
  2. Install the new package.

    Terminal window
    sudo apt install ./python3-thingsboard-gateway.deb -y
  3. Restart the Gateway.

    Terminal window
    sudo systemctl restart thingsboard-gateway
  4. Verify the upgrade. Confirm the service started successfully.

    Terminal window
    sudo systemctl status thingsboard-gateway

During the upgrade, all user configuration files are preserved, including connector configuration files, custom user extensions, and tb_gateway.json. An automatic backup of your configuration directory is also created:

Backup Path
Connector configurations /etc/thingsboard-gateway/configs_backup.tar.gz
User extensions /var/lib/thingsboard_gateway/extensions_backup.tar.gz