- Prepare for upgrading ThingsBoard Edge
- Upgrading to 4.0.1EDGE
- Upgrading to 3.9.1EDGE
- Upgrading to 3.9EDGE
- Upgrading to 3.8EDGE
- Upgrading to 3.7EDGE
- Upgrading to 3.6.4EDGE
- Upgrading to 3.6.3EDGE
- Upgrading to 3.6.2EDGE
- Upgrading to 3.6.1EDGE
- Upgrading to 3.6.0EDGE
- Upgrading to 3.5.1.1EDGE
- Upgrading to 3.5.1EDGE
- Upgrading to 3.5.0EDGE
Before upgrading ThingsBoard Edge, ensure that ThingsBoard Server is updated to the latest version.
Additionally, verify that the ThingsBoard Edge and ThingsBoard Server versions are compatible.
Prepare for upgrading ThingsBoard Edge
To ensure data integrity during the upgrade, back up your ThingsBoard Edge data.
The backup process may vary depending on your installation method (Docker, Linux service, Windows, etc.). Follow the instructions below based on your environment.
Ubuntu/CentOS/Raspberry Pi
To ensure that no data is written to the database during the upgrade process, stop the ThingsBoard Edge service:
1
sudo systemctl stop tb-edge
Backup database
To avoid potential data loss, create a backup of the database before upgrading.
Check the current size of the database:
1
sudo -u postgres psql -c "SELECT pg_size_pretty( pg_database_size('tb_edge') );"
Check available free disk space:
1
df -h /
Create the backup (if sufficient space is available):
1
sudo -Hiu postgres pg_dump tb_edge > tb_edge.sql.bak
Verify that the backup file was created successfully:
1
ls -lh tb_edge.sql.bak
Restore the backup (if needed)
Stop the ThingsBoard Edge service (if it’s still running):
1
sudo systemctl stop tb-edge
To restore the PostgreSQL database from a backup file, run the following command:
1
sudo -u postgres psql tb_edge < tb_edge.sql.bak
Start the ThingsBoard Edge service:
1
sudo systemctl start tb-edge
Docker (Linux or Mac OS)
Go to the directory that contains the docker-compose.yml file, and run the following command to stop the currently running ThingsBoard Edge container:
1
docker compose stop
Backup database volume
Before upgrading, make a backup copy of the database volume:
1
docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"
This command uses a temporary BusyBox container to copy all contents from the tb-edge-postgres-data volume into the tb-edge-postgres-data-backup volume.
Backup database bind mount folder (deprecated)
If you are still using Docker bind mount folders (instead of named volumes), make sure to back up the database folder before proceeding with the upgrade:
1
sudo cp -r ~/.mytb-edge-data/db ~/.mytb-edge-db-BACKUP
Restore the backup (if needed)
Stop the ThingsBoard Edge container (if it’s still running):
1
docker compose stop
To restore data from a backup volume to the main volume, run the following command:
1
docker run --rm -v tb-edge-postgres-data-backup:/source -v tb-edge-postgres-data:/target busybox sh -c "cp -a /source/. /target"
Start the ThingsBoard Edge container:
1
docker compose up -d
Windows
Stop the ThingsBoard Edge service:
1
net stop tb-edge
Backup Database
- Launch pgAdmin and log in as the postgres superuser.
- Open your server and create the backup of the tb_edge database using pgAdmin’s “Backup Dialog” functionality.
Upgrading to 4.0.1EDGE
Ubuntu/CentOS/Raspberry Pi
NOTE: These steps are applicable for ThingsBoard Edge 3.9.1EDGE version.
ThingsBoard Edge package download
|
|
ThingsBoard Edge service upgrade
- Stop ThingsBoard Edge service if it is running.
1
sudo service tb-edge stop
NOTE: Package installer may ask you to merge your tb-edge configuration. It is preferred to use merge option to make sure that all your previous parameters will not be overwritten.
Execute regular upgrade script:
1
sudo /usr/share/tb-edge/bin/install/upgrade.sh
Start the service
1
sudo service tb-edge start
Docker (Linux or Mac OS)
NOTE: These steps are applicable for ThingsBoard 3.9.1EDGE version.
Set the terminal in the directory which contains the “docker-compose.yml” file, and run the following command to stop and remove the currently running TB Edge container (if it’s still running):
1
docker compose stop mytbedge
Before upgrading, make a copy of the database volume:
1
docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"
Modify the main docker compose file (docker-compose.yml) for ThingsBoard Edge and update the image version:
1
sed -i 's|thingsboard/tb-edge:3.9.1EDGE|thingsboard/tb-edge:4.0.1EDGE|' docker-compose.yml
Upgrade the ThingsBoard Edge service:
1
docker compose run mytbedge upgrade-tb-edge.sh
To start this docker compose, run the following command:
1
docker compose up -d && docker compose logs -f mytbedge
Windows
NOTE: These steps are applicable for ThingsBoard Edge 3.9.1EDGE version.
ThingsBoard Edge package download
Download ThingsBoard Edge package for Windows: tb-edge-windows-4.0.1.zip.
ThingsBoard Edge service upgrade
- Stop ThingsBoard Edge service if it is running:
1
net stop tb-edge
-
Make a backup of the previous ThingsBoard Edge configuration located in <ThingsBoard Edge install dir>\conf (for example: C:\tb-edge\conf).
-
Extract ThingsBoard Edge package.
-
Compare and merge your old ThingsBoard Edge configuration files (from the backup you made in the previous step) with new ones.
-
Finally, run upgrade.bat script to upgrade ThingsBoard Edge to the new version.
NOTE Scripts listed below should be executed using Administrator Role.
Execute regular upgrade script:
1
C:\tb-edge>upgrade.bat
Start the service
1
net start tb-edge
Upgrading to 3.9.1EDGE
Ubuntu/CentOS/Raspberry Pi
NOTE: These steps are applicable for ThingsBoard Edge 3.9EDGE version.
ThingsBoard Edge package download
|
|
ThingsBoard Edge service upgrade
- Stop ThingsBoard Edge service if it is running.
1
sudo service tb-edge stop
NOTE: Package installer may ask you to merge your tb-edge configuration. It is preferred to use merge option to make sure that all your previous parameters will not be overwritten.
Execute regular upgrade script:
1
sudo /usr/share/tb-edge/bin/install/upgrade.sh
Start the service
1
sudo service tb-edge start
Docker (Linux or Mac OS)
NOTE: These steps are applicable for ThingsBoard 3.9.0EDGE version.
Set the terminal in the directory which contains the “docker-compose.yml” file, and run the following command to stop and remove the currently running TB Edge container (if it’s still running):
1
docker compose stop mytbedge
Before upgrading, make a copy of the database volume:
1
docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"
Modify the main docker compose file (docker-compose.yml) for ThingsBoard Edge and update the image version:
1
sed -i 's|thingsboard/tb-edge:3.9.0EDGE|thingsboard/tb-edge:3.9.1EDGE|' docker-compose.yml
Upgrade the ThingsBoard Edge service:
1
docker compose run mytbedge upgrade-tb-edge.sh
To start this docker compose, run the following command:
1
docker compose up -d && docker compose logs -f mytbedge
Windows
NOTE: These steps are applicable for ThingsBoard Edge 3.9EDGE version.
ThingsBoard Edge package download
Download ThingsBoard Edge package for Windows: tb-edge-windows-3.9.1.zip.
ThingsBoard Edge service upgrade
- Stop ThingsBoard Edge service if it is running:
1
net stop tb-edge
-
Make a backup of previous ThingsBoard Edge configuration located in <ThingsBoard Edge install dir>\conf (for example: C:\tb-edge\conf).
-
Extract ThingsBoard Edge package.
-
Compare and merge your old ThingsBoard Edge configuration files (from the backup you made in the previous step) with new ones.
-
Finally, run upgrade.bat script to upgrade ThingsBoard Edge to the new version.
NOTE Scripts listed below should be executed using Administrator Role.
Execute regular upgrade script:
1
C:\tb-edge>upgrade.bat
Start the service
1
net start tb-edge
Upgrading to 3.9EDGE
Ubuntu/CentOS/Raspberry Pi
NOTE: These steps are applicable for ThingsBoard Edge 3.8EDGE version.
ThingsBoard Edge package download
|
|
ThingsBoard Edge service upgrade
- Stop ThingsBoard Edge service if it is running.
1
sudo service tb-edge stop
NOTE: Package installer may ask you to merge your tb-edge configuration. It is preferred to use merge option to make sure that all your previous parameters will not be overwritten.
Execute regular upgrade script:
1
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.8.0
Start the service
1
sudo service tb-edge start
Docker (Linux or Mac OS)
NOTE: These steps are applicable for ThingsBoard 3.8.0EDGE version.
Set the terminal in the directory which contains the “docker-compose.yml” file, and run the following command to stop and remove the currently running TB Edge container (if it’s still running):
1
docker compose stop mytbedge
Before upgrading, make a copy of the database volume:
1
docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"
Modify the main docker compose file (docker-compose.yml) for ThingsBoard Edge and update the image version:
1
sed -i 's|thingsboard/tb-edge:3.8.0EDGE|thingsboard/tb-edge:3.9.0EDGE|' docker-compose.yml
Upgrade the ThingsBoard Edge service:
1
docker compose run mytbedge upgrade-tb-edge.sh
To start this docker compose, run the following command:
1
docker compose up -d && docker compose logs -f mytbedge
Windows
NOTE: These steps are applicable for ThingsBoard Edge 3.8EDGE version.
ThingsBoard Edge package download
Download ThingsBoard Edge package for Windows: tb-edge-windows-3.9.zip.
ThingsBoard Edge service upgrade
- Stop ThingsBoard Edge service if it is running:
1
net stop tb-edge
-
Make a backup of previous ThingsBoard Edge configuration located in <ThingsBoard Edge install dir>\conf (for example: C:\tb-edge\conf).
-
Extract ThingsBoard Edge package.
-
Compare and merge your old ThingsBoard Edge configuration files (from the backup you made in the previous step) with new ones.
-
Finally, run upgrade.bat script to upgrade ThingsBoard Edge to the new version.
NOTE Scripts listed below should be executed using Administrator Role.
Execute regular upgrade script:
1
C:\tb-edge>upgrade.bat --fromVersion=3.8.0
Start the service
1
net start tb-edge
Upgrading to 3.8EDGE
Ubuntu/CentOS
NOTE: These steps are applicable for ThingsBoard Edge 3.7EDGE version.
ThingsBoard Edge package download
|
|
ThingsBoard Edge service upgrade
- Stop ThingsBoard Edge service if it is running.
1
sudo service tb-edge stop
NOTE: Package installer may ask you to merge your tb-edge configuration. It is preferred to use merge option to make sure that all your previous parameters will not be overwritten.
Execute regular upgrade script:
1
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.7.0
Start the service
1
sudo service tb-edge start
Docker (Linux or Mac OS)
NOTE: These steps are applicable for ThingsBoard 3.7.0EDGE version.
Set the terminal in the directory which contains the “docker-compose.yml” file, and run the following command to stop and remove the currently running TB Edge container (if it’s still running):
1
docker compose stop mytbedge
Before upgrading, make a copy of the database volume:
1
docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"
Modify the main docker compose file (docker-compose.yml) for ThingsBoard Edge and update the image version:
1
sed -i 's|thingsboard/tb-edge:3.7.0EDGE|thingsboard/tb-edge:3.8.0EDGE|' docker-compose.yml
Upgrade the ThingsBoard Edge service:
1
docker compose run mytbedge upgrade-tb-edge.sh
To start this docker compose, run the following command:
1
docker compose up -d && docker compose logs -f mytbedge
Windows
NOTE: These steps are applicable for ThingsBoard Edge 3.7EDGE version.
ThingsBoard Edge package download
Download ThingsBoard Edge package for Windows: tb-edge-windows-3.8.zip.
ThingsBoard Edge service upgrade
- Stop ThingsBoard Edge service if it is running:
1
net stop tb-edge
-
Make a backup of previous ThingsBoard Edge configuration located in <ThingsBoard Edge install dir>\conf (for example: C:\tb-edge\conf).
-
Extract ThingsBoard Edge package.
-
Compare and merge your old ThingsBoard Edge configuration files (from the backup you made in the previous step) with new ones.
-
Finally, run upgrade.bat script to upgrade ThingsBoard Edge to the new version.
NOTE Scripts listed below should be executed using Administrator Role.
Execute regular upgrade script:
1
C:\tb-edge>upgrade.bat --fromVersion=3.7.0
Start the service
1
net start tb-edge
Upgrading to 3.7EDGE
Ubuntu/CentOS
NOTE: These steps are applicable for ThingsBoard Edge 3.6.4EDGE version.
ThingsBoard Edge package download
|
|
ThingsBoard Edge service upgrade
- Stop ThingsBoard Edge service if it is running.
1
sudo service tb-edge stop
NOTE: Package installer may ask you to merge your tb-edge configuration. It is preferred to use merge option to make sure that all your previous parameters will not be overwritten.
Execute regular upgrade script:
1
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.6.4
Start the service
1
sudo service tb-edge start
Docker (Linux or Mac OS)
NOTE: These steps are applicable for ThingsBoard 3.6.4EDGE version.
Set the terminal in the directory which contains the “docker-compose.yml” file, and run the following command to stop and remove the currently running TB Edge container (if it’s still running):
1
docker compose stop mytbedge
Before upgrading, make a copy of the database volume:
1
docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"
Modify the main docker compose file (docker-compose.yml) for ThingsBoard Edge and update the image version:
1
sed -i 's|thingsboard/tb-edge:3.6.4EDGE|thingsboard/tb-edge:3.7.0EDGE|' docker-compose.yml
Upgrade the ThingsBoard Edge service:
1
docker compose run mytbedge upgrade-tb-edge.sh
To start this docker compose, run the following command:
1
docker compose up -d && docker compose logs -f mytbedge
Windows
NOTE: These steps are applicable for ThingsBoard Edge 3.6.4EDGE version.
ThingsBoard Edge package download
Download ThingsBoard Edge package for Windows: tb-edge-windows-3.7.zip.
ThingsBoard Edge service upgrade
- Stop ThingsBoard Edge service if it is running:
1
net stop tb-edge
-
Make a backup of previous ThingsBoard Edge configuration located in <ThingsBoard Edge install dir>\conf (for example: C:\tb-edge\conf).
-
Extract ThingsBoard Edge package.
-
Compare and merge your old ThingsBoard Edge configuration files (from the backup you made in the previous step) with new ones.
-
Finally, run upgrade.bat script to upgrade ThingsBoard Edge to the new version.
NOTE Scripts listed below should be executed using Administrator Role.
Execute regular upgrade script:
1
C:\tb-edge>upgrade.bat --fromVersion=3.6.4
Start the service
1
net start tb-edge
Upgrading to 3.6.4EDGE
Ubuntu/CentOS
NOTE: These steps are applicable for ThingsBoard Edge 3.6.3EDGE version.
ThingsBoard Edge package download
|
|
ThingsBoard Edge service upgrade
- Stop ThingsBoard Edge service if it is running.
1
sudo service tb-edge stop
NOTE: Package installer may ask you to merge your tb-edge configuration. It is preferred to use merge option to make sure that all your previous parameters will not be overwritten.
Execute regular upgrade script:
1
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.6.3
Start the service
1
sudo service tb-edge start
Docker (Linux or Mac OS)
NOTE: These steps are applicable for ThingsBoard 3.6.3EDGE version.
Set the terminal in the directory which contains the “docker-compose.yml” file, and run the following command to stop and remove the currently running TB Edge container (if it’s still running):
1
docker compose stop mytbedge
Before upgrading, make a copy of the database volume:
1
docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"
Modify the main docker compose file (docker-compose.yml) for ThingsBoard Edge and update the image version:
1
sed -i 's|thingsboard/tb-edge:3.6.3EDGE|thingsboard/tb-edge:3.6.4EDGE|' docker-compose.yml
Upgrade the ThingsBoard Edge service:
1
docker compose run mytbedge upgrade-tb-edge.sh
To start this docker compose, run the following command:
1
docker compose up -d && docker compose logs -f mytbedge
Windows
NOTE: These steps are applicable for ThingsBoard Edge 3.6.3EDGE version.
ThingsBoard Edge package download
Download ThingsBoard Edge package for Windows: tb-edge-windows-3.6.4.zip.
ThingsBoard Edge service upgrade
- Stop ThingsBoard Edge service if it is running:
1
net stop tb-edge
-
Make a backup of previous ThingsBoard Edge configuration located in <ThingsBoard Edge install dir>\conf (for example: C:\tb-edge\conf).
-
Extract ThingsBoard Edge package.
-
Compare and merge your old ThingsBoard Edge configuration files (from the backup you made in the previous step) with new ones.
-
Finally, run upgrade.bat script to upgrade ThingsBoard Edge to the new version.
NOTE Scripts listed below should be executed using Administrator Role.
Execute regular upgrade script:
1
C:\tb-edge>upgrade.bat --fromVersion=3.6.3
Start the service
1
net start tb-edge
Upgrading to 3.6.3EDGE
Ubuntu/CentOS
NOTE: These steps are applicable for ThingsBoard Edge 3.6.2EDGE version.
ThingsBoard Edge package download
|
|
ThingsBoard Edge service upgrade
- Stop ThingsBoard Edge service if it is running.
1
sudo service tb-edge stop
NOTE: Package installer may ask you to merge your tb-edge configuration. It is preferred to use merge option to make sure that all your previous parameters will not be overwritten.
Execute regular upgrade script:
1
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.6.2
Start the service
1
sudo service tb-edge start
Docker (Linux or Mac OS)
NOTE: These steps are applicable for ThingsBoard 3.6.2EDGE version.
Set the terminal in the directory which contains the “docker-compose.yml” file, and run the following command to stop and remove the currently running TB Edge container (if it’s still running):
1
docker compose stop mytbedge
Before upgrading, make a copy of the database volume:
1
docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"
Modify the main docker compose file (docker-compose.yml) for ThingsBoard Edge and update the image version:
1
sed -i 's|thingsboard/tb-edge:3.6.2EDGE|thingsboard/tb-edge:3.6.3EDGE|' docker-compose.yml
Upgrade the ThingsBoard Edge service:
1
docker compose run mytbedge upgrade-tb-edge.sh
To start this docker compose, run the following command:
1
docker compose up -d && docker compose logs -f mytbedge
Windows
NOTE: These steps are applicable for ThingsBoard Edge 3.6.2EDGE version.
ThingsBoard Edge package download
Download ThingsBoard Edge package for Windows: tb-edge-windows-3.6.3.zip.
ThingsBoard Edge service upgrade
- Stop ThingsBoard Edge service if it is running:
1
net stop tb-edge
-
Make a backup of previous ThingsBoard Edge configuration located in <ThingsBoard Edge install dir>\conf (for example: C:\tb-edge\conf).
-
Extract ThingsBoard Edge package.
-
Compare and merge your old ThingsBoard Edge configuration files (from the backup you made in the previous step) with new ones.
-
Finally, run upgrade.bat script to upgrade ThingsBoard Edge to the new version.
NOTE Scripts listed below should be executed using Administrator Role.
Execute regular upgrade script:
1
C:\tb-edge>upgrade.bat --fromVersion=3.6.2
Start the service
1
net start tb-edge
Upgrading to 3.6.2EDGE
Ubuntu/CentOS
NOTE: These steps are applicable for ThingsBoard Edge 3.6.1EDGE version.
ThingsBoard Edge package download
|
|
ThingsBoard Edge service upgrade
- Stop ThingsBoard Edge service if it is running.
1
sudo service tb-edge stop
NOTE: Package installer may ask you to merge your tb-edge configuration. It is preferred to use merge option to make sure that all your previous parameters will not be overwritten.
Execute regular upgrade script:
1
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.6.1
Start the service
1
sudo service tb-edge start
Docker (Linux or Mac OS)
NOTE: These steps are applicable for ThingsBoard Edge 3.6.1EDGE version.
Set the terminal in the directory which contains the “docker-compose.yml” file, and run the following command to stop and remove the currently running TB Edge container (if it’s still running):
1
docker compose stop && docker compose rm mytbedge -f
Migrating Data from Docker Bind Mount Folders to Docker Volumes
Starting with the 3.6.2EDGE release, the ThingsBoard team has moved from using Docker bind mount folders to Docker volumes. The goal of this change is to improve security and efficiency when storing data for Docker containers, and to mitigate permissions issues in different environments.
To migrate from Docker bind mounts to Docker volumes, please execute the following commands:
1
2
3
docker run --rm -v tb-edge-data:/volume -v ~/.mytb-edge-data:/backup busybox sh -c "cp -a /backup/. /volume"
docker run --rm -v tb-edge-logs:/volume -v ~/.mytb-edge-logs:/backup busybox sh -c "cp -a /backup/. /volume"
docker run --rm -v tb-edge-postgres-data:/volume -v ~/.mytb-edge-data/db:/backup busybox sh -c "cp -a /backup/. /volume"
After the data migration to the newly created Docker volumes is complete, you’ll need to update the volume mounts in your Docker Compose configuration. Modify the `docker-compose.yml’ file for ThingsBoard Edge to update the volume settings.
First, please update docker compose file version. Find the next snippet:
1
2
version: '3.0'
...
And replace it with:
1
version: '3.8'
Then update the volume mounts. Locate the following snippet:
1
2
3
4
volumes:
- ~/.mytb-edge-data:/data
- ~/.mytb-edge-logs:/var/log/tb-edge
...
And replace it with:
1
2
3
volumes:
- tb-edge-data:/data
- tb-edge-logs:/var/log/tb-edge
Apply a similar update to the PostgreSQL service. Locate the section:
1
2
3
volumes:
- ~/.mytb-edge-data/db:/var/lib/postgresql/data
...
And replace it with:
1
2
volumes:
- tb-edge-postgres-data:/var/lib/postgresql/data
Finally, add the following volume section to the end of the file:
1
2
3
4
5
6
7
volumes:
tb-edge-data:
name: tb-edge-data
tb-edge-logs:
name: tb-edge-logs
tb-edge-postgres-data:
name: tb-edge-postgres-data
Backup Database
Before upgrading, make a copy of the database volume:
1
docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"
The next step creates a docker compose file for the ThingsBoard Edge upgrade process and runs the upgrade. Once the upgrade process is successfully completed, the TB Edge upgrade container is automatically stopped:
Modify the main docker compose file (docker-compose.yml) for ThingsBoard Edge and update the image version:
1
sed -i 's|thingsboard/tb-edge:3.6.1EDGE|thingsboard/tb-edge:3.6.2EDGE|' docker-compose.yml
To start this docker compose, run the following command:
1
docker compose up -d && docker compose logs -f mytbedge
Windows
NOTE: These steps are applicable for ThingsBoard Edge 3.6.1EDGE version.
ThingsBoard Edge package download
Download ThingsBoard Edge package for Windows: tb-edge-windows-3.6.2.zip.
ThingsBoard Edge service upgrade
- Stop ThingsBoard Edge service if it is running:
1
net stop tb-edge
-
Make a backup of previous ThingsBoard Edge configuration located in <ThingsBoard Edge install dir>\conf (for example: C:\tb-edge\conf).
-
Extract ThingsBoard Edge package.
-
Compare and merge your old ThingsBoard Edge configuration files (from the backup you made in the previous step) with new ones.
-
Finally, run upgrade.bat script to upgrade ThingsBoard Edge to the new version.
NOTE Scripts listed below should be executed using Administrator Role.
Execute regular upgrade script:
1
C:\tb-edge>upgrade.bat --fromVersion=3.6.1
Start the service
1
net start tb-edge
Upgrading to 3.6.1EDGE
Ubuntu/CentOS
NOTE: These steps are applicable for ThingsBoard Edge 3.6.0EDGE version.
ThingsBoard Edge package download
|
|
ThingsBoard Edge service upgrade
- Stop ThingsBoard Edge service if it is running.
1
sudo service tb-edge stop
NOTE: Package installer may ask you to merge your tb-edge configuration. It is preferred to use merge option to make sure that all your previous parameters will not be overwritten.
Execute regular upgrade script:
1
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.6.0
Start the service
1
sudo service tb-edge start
Docker (Linux or Mac OS)
NOTE: These steps are applicable for ThingsBoard Edge 3.6.0EDGE version.
Execute the following command to pull 3.6.1EDGE image:
1
docker pull thingsboard/tb-edge:3.6.1EDGE
Set the terminal in the directory which contains the “docker-compose.yml” file, and run the following command to stop and remove the currently running TB Edge container (if it’s still running):
1
docker compose stop && docker compose rm mytbedge -f
The next step creates a docker compose file for the ThingsBoard Edge upgrade process and runs the upgrade. Once the upgrade process is successfully completed, the TB Edge upgrade container is automatically stopped:
Modify the main docker compose file (docker-compose.yml) for ThingsBoard Edge and update the image version:
1
sed -i 's|thingsboard/tb-edge:3.6.0EDGE|thingsboard/tb-edge:3.6.1EDGE|' docker-compose.yml
To start this docker compose , run the following command:
1
docker compose up -d && docker compose logs -f mytbedge
Windows
NOTE: These steps are applicable for ThingsBoard Edge 3.6.0EDGE version.
ThingsBoard Edge package download
Download ThingsBoard Edge package for Windows: tb-edge-windows-3.6.1.zip.
ThingsBoard Edge service upgrade
- Stop ThingsBoard Edge service if it is running:
1
net stop tb-edge
-
Make a backup of previous ThingsBoard Edge configuration located in <ThingsBoard Edge install dir>\conf (for example: C:\tb-edge\conf).
-
Extract ThingsBoard Edge package.
-
Compare and merge your old ThingsBoard Edge configuration files (from the backup you made in the previous step) with new ones.
-
Finally, run upgrade.bat script to upgrade ThingsBoard Edge to the new version.
NOTE Scripts listed below should be executed using Administrator Role.
Execute regular upgrade script:
1
C:\tb-edge>upgrade.bat --fromVersion=3.6.0
Start the service
1
net start tb-edge
Upgrading to 3.6.0EDGE
Ubuntu/CentOS
NOTE: These steps are applicable for ThingsBoard Edge 3.5.1.1EDGE version.
ThingsBoard Edge package download
|
|
ThingsBoard Edge service upgrade
- Stop ThingsBoard Edge service if it is running.
1
sudo service tb-edge stop
NOTE: Package installer may ask you to merge your tb-edge configuration. It is preferred to use merge option to make sure that all your previous parameters will not be overwritten.
Execute regular upgrade script:
1
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.5.1
Start the service
1
sudo service tb-edge start
Docker (Linux or Mac OS)
NOTE: These steps are applicable for ThingsBoard Edge 3.5.1.1EDGE version.
Execute the following command to pull 3.6.0EDGE image:
1
docker pull thingsboard/tb-edge:3.6.0EDGE
Set the terminal in the directory which contains the “docker-compose.yml” file, and run the following command to stop and remove the currently running TB Edge container (if it’s still running):
1
docker compose stop && docker compose rm mytbedge -f
The next step creates a docker compose file for the ThingsBoard Edge upgrade process and runs the upgrade. Once the upgrade process is successfully completed, the TB Edge upgrade container is automatically stopped:
Modify the main docker compose file (docker-compose.yml) for ThingsBoard Edge and update the image version:
1
sed -i 's|thingsboard/tb-edge:3.5.1.1EDGE|thingsboard/tb-edge:3.6.0EDGE|' docker-compose.yml
To start this docker compose , run the following command:
1
docker compose up -d && docker compose logs -f mytbedge
Windows
NOTE: These steps are applicable for ThingsBoard Edge 3.5.1.1EDGE version.
ThingsBoard Edge package download
Download ThingsBoard Edge package for Windows: tb-edge-windows-3.6.zip.
ThingsBoard Edge service upgrade
- Stop ThingsBoard Edge service if it is running:
1
net stop tb-edge
-
Make a backup of previous ThingsBoard Edge configuration located in <ThingsBoard Edge install dir>\conf (for example: C:\tb-edge\conf).
-
Extract ThingsBoard Edge package.
-
Compare and merge your old ThingsBoard Edge configuration files (from the backup you made in the previous step) with new ones.
-
Finally, run upgrade.bat script to upgrade ThingsBoard Edge to the new version.
NOTE Scripts listed below should be executed using Administrator Role.
Execute regular upgrade script:
1
C:\tb-edge>upgrade.bat --fromVersion=3.5.1
Start the service
1
net start tb-edge
Upgrading to 3.5.1.1EDGE
Ubuntu/CentOS
NOTE: These steps are applicable for ThingsBoard Edge 3.5.1EDGE version.
ThingsBoard Edge package download
|
|
ThingsBoard Edge service upgrade
- Stop ThingsBoard Edge service if it is running.
1
sudo service tb-edge stop
NOTE: Package installer may ask you to merge your tb-edge configuration. It is preferred to use merge option to make sure that all your previous parameters will not be overwritten.
Start the service
1
sudo service tb-edge start
Docker (Linux or Mac OS)
NOTE: These steps are applicable for ThingsBoard Edge 3.5.1EDGE version.
Execute the following command to pull 3.5.1.1EDGE image:
1
docker pull thingsboard/tb-edge:3.5.1.1EDGE
Set the terminal in the directory which contains the “docker-compose.yml” file, and run the following command to stop and remove the currently running TB Edge container (if it’s still running):
1
docker compose stop && docker compose rm mytbedge -f
The next step creates a docker compose file for the ThingsBoard Edge upgrade process and runs the upgrade. Once the upgrade process is successfully completed, the TB Edge upgrade container is automatically stopped:
Modify the main docker compose file (docker-compose.yml) for ThingsBoard Edge and update the image version:
1
sed -i 's|thingsboard/tb-edge:3.5.1EDGE|thingsboard/tb-edge:3.5.1.1EDGE|' docker-compose.yml
To start this docker compose , run the following command:
1
docker compose up -d && docker compose logs -f mytbedge
Windows
NOTE: These steps are applicable for ThingsBoard Edge 3.5.1EDGE version.
ThingsBoard Edge package download
Download ThingsBoard Edge package for Windows: tb-edge-windows-3.5.1.1.zip.
ThingsBoard Edge service upgrade
- Stop ThingsBoard Edge service if it is running:
1
net stop tb-edge
-
Make a backup of previous ThingsBoard Edge configuration located in <ThingsBoard Edge install dir>\conf (for example: C:\tb-edge\conf).
-
Extract ThingsBoard Edge package.
-
Compare and merge your old ThingsBoard Edge configuration files (from the backup you made in the previous step) with new ones.
Start the service
1
net start tb-edge
Upgrading to 3.5.1EDGE
Ubuntu/CentOS
NOTE: These steps are applicable for ThingsBoard Edge 3.5.0EDGE version.
ThingsBoard Edge package download
|
|
ThingsBoard Edge service upgrade
- Stop ThingsBoard Edge service if it is running.
1
sudo service tb-edge stop
NOTE: Package installer may ask you to merge your tb-edge configuration. It is preferred to use merge option to make sure that all your previous parameters will not be overwritten.
Execute regular upgrade script:
1
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.5.0
Start the service
1
sudo service tb-edge start
Docker (Linux or Mac OS)
NOTE: These steps are applicable for ThingsBoard Edge 3.5.0EDGE version.
Execute the following command to pull 3.5.1EDGE image:
1
docker pull thingsboard/tb-edge:3.5.1EDGE
Set the terminal in the directory which contains the “docker-compose.yml” file, and run the following command to stop and remove the currently running TB Edge container (if it’s still running):
1
docker compose stop && docker compose rm mytbedge -f
The next step creates a docker compose file for the ThingsBoard Edge upgrade process and runs the upgrade. Once the upgrade process is successfully completed, the TB Edge upgrade container is automatically stopped:
Modify the main docker compose file (docker-compose.yml) for ThingsBoard Edge and update the image version:
1
sed -i 's|thingsboard/tb-edge:3.5.0EDGE|thingsboard/tb-edge:3.5.1EDGE|' docker-compose.yml
To start this docker compose , run the following command:
1
docker compose up -d && docker compose logs -f mytbedge
Windows
NOTE: These steps are applicable for ThingsBoard Edge 3.5.0EDGE version.
ThingsBoard Edge package download
Download ThingsBoard Edge package for Windows: tb-edge-windows-3.5.1.zip.
ThingsBoard Edge service upgrade
- Stop ThingsBoard Edge service if it is running:
1
net stop tb-edge
-
Make a backup of previous ThingsBoard Edge configuration located in <ThingsBoard Edge install dir>\conf (for example: C:\tb-edge\conf).
-
Extract ThingsBoard Edge package.
-
Compare and merge your old ThingsBoard Edge configuration files (from the backup you made in the previous step) with new ones.
-
Finally, run upgrade.bat script to upgrade ThingsBoard Edge to the new version.
NOTE Scripts listed below should be executed using Administrator Role.
Execute regular upgrade script:
1
C:\tb-edge>upgrade.bat --fromVersion=3.5.0
Start the service
1
net start tb-edge
Upgrading to 3.5.0EDGE
Ubuntu/CentOS
NOTE: These steps are applicable for ThingsBoard Edge 3.4.3EDGE version.
ThingsBoard Edge package download
|
|
ThingsBoard Edge service upgrade
- Stop ThingsBoard Edge service if it is running.
1
sudo service tb-edge stop
NOTE: Package installer may ask you to merge your tb-edge configuration. It is preferred to use merge option to make sure that all your previous parameters will not be overwritten.
Execute regular upgrade script:
1
sudo /usr/share/tb-edge/bin/install/upgrade.sh --fromVersion=3.4.3
Start the service
1
sudo service tb-edge start
Docker (Linux or Mac OS)
NOTE: These steps are applicable for ThingsBoard Edge 3.4.3EDGE version.
Execute the following command to pull 3.5.0EDGE image:
1
docker pull thingsboard/tb-edge:3.5.0EDGE
Set the terminal in the directory which contains the “docker-compose.yml” file, and run the following command to stop and remove the currently running TB Edge container (if it’s still running):
1
docker compose stop && docker compose rm mytbedge -f
The next step creates a docker compose file for the ThingsBoard Edge upgrade process and runs the upgrade. Once the upgrade process is successfully completed, the TB Edge upgrade container is automatically stopped:
Modify the main docker compose file (docker-compose.yml) for ThingsBoard Edge and update the image version:
1
sed -i 's|thingsboard/tb-edge:3.4.3EDGE|thingsboard/tb-edge:3.5.0EDGE|' docker-compose.yml
To start this docker compose , run the following command:
1
docker compose up -d && docker compose logs -f mytbedge
Windows
NOTE: These steps are applicable for ThingsBoard Edge 3.4.3EDGE version.
ThingsBoard Edge package download
Download ThingsBoard Edge package for Windows: tb-edge-windows-3.5.zip.
ThingsBoard Edge service upgrade
- Stop ThingsBoard Edge service if it is running:
1
net stop tb-edge
-
Make a backup of previous ThingsBoard Edge configuration located in <ThingsBoard Edge install dir>\conf (for example: C:\tb-edge\conf).
-
Extract ThingsBoard Edge package.
-
Compare and merge your old ThingsBoard Edge configuration files (from the backup you made in the previous step) with new ones.
-
Finally, run upgrade.bat script to upgrade ThingsBoard Edge to the new version.
NOTE Scripts listed below should be executed using Administrator Role.
Execute regular upgrade script:
1
C:\tb-edge>upgrade.bat --fromVersion=3.4.3
Start the service
1
net start tb-edge