Upgrading ThingsBoard Edge — Docker Compose
These steps upgrade an Edge cluster deployed with the Docker Compose scripts from Cluster setup with Docker Compose. Run all commands in the directory that holds the scripts and the .env file.
-
Stop all services:
Terminal window ./docker-stop-services.sh -
Back up the
tb-edgefolder next to the scripts. It holds the PostgreSQL data (tb-edge/postgres) and the logs. -
In the
.envfile, set the Edge node image of the new release:.env TB_EDGE_NODE_DOCKER_NAME=tb-edge-nodeTB_EDGE_VERSION=4.4.1EDGE -
Pull the new image and upgrade the database:
Terminal window ./docker-upgrade-tb.sh -
Start all services:
Terminal window ./docker-start-services.sh
Was this helpful?