Skip to content
NEW AI Solution Creator — get a working IoT prototype in 10 minutes
Stand with Ukraine flag

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:

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