Skip to content
Stand with Ukraine flag

Upgrading ThingsBoard Edge — Docker

Upgrading Edge to latest 4.3.1 (4.3.1.1)

Backup before upgrading

Go to your docker-compose.yml directory and stop the container:

docker compose stop

Create a backup copy of the database volume:

docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"

Update the image version

Update the thingsboard/tb-edge image tag in docker-compose.yml to 4.3.1.1EDGE:

sed -i 's|thingsboard/tb-edge:4.3.0.1EDGE|thingsboard/tb-edge:4.3.1.1EDGE|' docker-compose.yml

Run the upgrade script:

docker compose run mytbedge upgrade-tb-edge.sh

Start the container

docker compose up -d && docker compose logs -f mytbedge

Upgrading Edge to latest 4.3.0 (4.3.0.1)

Backup before upgrading

Go to your docker-compose.yml directory and stop the container:

docker compose stop

Create a backup copy of the database volume:

docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"

Update the image version

Update the thingsboard/tb-edge image tag in docker-compose.yml to 4.3.0.1EDGE:

sed -i 's|thingsboard/tb-edge:4.2.1.2EDGE|thingsboard/tb-edge:4.3.0.1EDGE|' docker-compose.yml

Run the upgrade script:

docker compose run mytbedge upgrade-tb-edge.sh

Start the container

docker compose up -d && docker compose logs -f mytbedge

Upgrading Edge to latest 4.2.2 (4.2.2.1)

Backup before upgrading

Go to your docker-compose.yml directory and stop the container:

docker compose stop

Create a backup copy of the database volume:

docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"

Update the image version

Update the thingsboard/tb-edge image tag in docker-compose.yml to 4.2.2.1EDGE:

sed -i 's|thingsboard/tb-edge:4.2.1.2EDGE|thingsboard/tb-edge:4.2.2.1EDGE|' docker-compose.yml

Run the upgrade script:

docker compose run mytbedge upgrade-tb-edge.sh

Start the container

docker compose up -d && docker compose logs -f mytbedge

Upgrading Edge to latest 4.2.1 (4.2.1.2)

Backup before upgrading

Go to your docker-compose.yml directory and stop the container:

docker compose stop

Create a backup copy of the database volume:

docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"

Update the image version

Update the thingsboard/tb-edge image tag in docker-compose.yml to 4.2.1.2EDGE:

sed -i 's|thingsboard/tb-edge:4.2.0EDGE|thingsboard/tb-edge:4.2.1.2EDGE|' docker-compose.yml

Run the upgrade script:

docker compose run mytbedge upgrade-tb-edge.sh

Start the container

docker compose up -d && docker compose logs -f mytbedge

Upgrading Edge to 4.2

Backup before upgrading

Go to your docker-compose.yml directory and stop the container:

docker compose stop

Create a backup copy of the database volume:

docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"

Update the image version

Update the thingsboard/tb-edge image tag in docker-compose.yml to 4.2.0EDGE:

sed -i 's|thingsboard/tb-edge:4.1.0EDGE|thingsboard/tb-edge:4.2.0EDGE|' docker-compose.yml

Run the upgrade script:

docker compose run mytbedge upgrade-tb-edge.sh

Start the container

docker compose up -d && docker compose logs -f mytbedge

Upgrading Edge to 4.1

Backup before upgrading

Go to your docker-compose.yml directory and stop the container:

docker compose stop

Create a backup copy of the database volume:

docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"

Update the image version

Update the thingsboard/tb-edge image tag in docker-compose.yml to 4.1.0EDGE:

sed -i 's|thingsboard/tb-edge:4.0.1EDGE|thingsboard/tb-edge:4.1.0EDGE|' docker-compose.yml

Run the upgrade script:

docker compose run mytbedge upgrade-tb-edge.sh

Start the container

docker compose up -d && docker compose logs -f mytbedge

Upgrading Edge to 4.0.1

Backup before upgrading

Go to your docker-compose.yml directory and stop the container:

docker compose stop

Create a backup copy of the database volume:

docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"

Update the image version

Update the thingsboard/tb-edge image tag in docker-compose.yml to 4.0.1EDGE:

sed -i 's|thingsboard/tb-edge:3.9.1EDGE|thingsboard/tb-edge:4.0.1EDGE|' docker-compose.yml

Run the upgrade script:

docker compose run mytbedge upgrade-tb-edge.sh

Start the container

docker compose up -d && docker compose logs -f mytbedge

Upgrading Edge to 3.9.1

Backup before upgrading

Go to your docker-compose.yml directory and stop the container:

docker compose stop

Create a backup copy of the database volume:

docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"

Update the image version

Update the thingsboard/tb-edge image tag in docker-compose.yml to 3.9.1EDGE:

sed -i 's|thingsboard/tb-edge:3.9.0EDGE|thingsboard/tb-edge:3.9.1EDGE|' docker-compose.yml

Run the upgrade script:

docker compose run mytbedge upgrade-tb-edge.sh

Start the container

docker compose up -d && docker compose logs -f mytbedge

Upgrading Edge to 3.9

Backup before upgrading

Go to your docker-compose.yml directory and stop the container:

docker compose stop

Create a backup copy of the database volume:

docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"

Update the image version

Update the thingsboard/tb-edge image tag in docker-compose.yml to 3.9.0EDGE:

sed -i 's|thingsboard/tb-edge:3.8.0EDGE|thingsboard/tb-edge:3.9.0EDGE|' docker-compose.yml

Run the upgrade script:

docker compose run mytbedge upgrade-tb-edge.sh

Start the container

docker compose up -d && docker compose logs -f mytbedge

Upgrading Edge to 3.8

Backup before upgrading

Go to your docker-compose.yml directory and stop the container:

docker compose stop

Create a backup copy of the database volume:

docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"

Update the image version

Update the thingsboard/tb-edge image tag in docker-compose.yml to 3.8.0EDGE:

sed -i 's|thingsboard/tb-edge:3.7.0EDGE|thingsboard/tb-edge:3.8.0EDGE|' docker-compose.yml

Run the upgrade script:

docker compose run mytbedge upgrade-tb-edge.sh

Start the container

docker compose up -d && docker compose logs -f mytbedge

Upgrading Edge to 3.7

Backup before upgrading

Go to your docker-compose.yml directory and stop the container:

docker compose stop

Create a backup copy of the database volume:

docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"

Update the image version

Update the thingsboard/tb-edge image tag in docker-compose.yml to 3.7.0EDGE:

sed -i 's|thingsboard/tb-edge:3.6.4EDGE|thingsboard/tb-edge:3.7.0EDGE|' docker-compose.yml

Run the upgrade script:

docker compose run mytbedge upgrade-tb-edge.sh

Start the container

docker compose up -d && docker compose logs -f mytbedge

Upgrading Edge to 3.6.4

Backup before upgrading

Go to your docker-compose.yml directory and stop the container:

docker compose stop

Create a backup copy of the database volume:

docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"

Update the image version

Update the thingsboard/tb-edge image tag in docker-compose.yml to 3.6.4EDGE:

sed -i 's|thingsboard/tb-edge:3.6.3EDGE|thingsboard/tb-edge:3.6.4EDGE|' docker-compose.yml

Run the upgrade script:

docker compose run mytbedge upgrade-tb-edge.sh

Start the container

docker compose up -d && docker compose logs -f mytbedge

Upgrading Edge to 3.6.3

Backup before upgrading

Go to your docker-compose.yml directory and stop the container:

docker compose stop

Create a backup copy of the database volume:

docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"

Update the image version

Update the thingsboard/tb-edge image tag in docker-compose.yml to 3.6.3EDGE:

sed -i 's|thingsboard/tb-edge:3.6.2EDGE|thingsboard/tb-edge:3.6.3EDGE|' docker-compose.yml

Run the upgrade script:

docker compose run mytbedge upgrade-tb-edge.sh

Start the container

docker compose up -d && docker compose logs -f mytbedge

Upgrading Edge to 3.6.2

Backup before upgrading

Go to your docker-compose.yml directory and stop the container:

docker compose stop

Create a backup copy of the database volume:

docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"

Update the image version

Update the thingsboard/tb-edge image tag in docker-compose.yml to 3.6.2EDGE:

sed -i 's|thingsboard/tb-edge:3.6.1EDGE|thingsboard/tb-edge:3.6.2EDGE|' docker-compose.yml

Run the upgrade script:

docker compose run mytbedge upgrade-tb-edge.sh

Start the container

docker compose up -d && docker compose logs -f mytbedge

Upgrading Edge to 3.6.1

Backup before upgrading

Go to your docker-compose.yml directory and stop the container:

docker compose stop

Create a backup copy of the database volume:

docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"

Update the image version

Update the thingsboard/tb-edge image tag in docker-compose.yml to 3.6.1EDGE:

sed -i 's|thingsboard/tb-edge:3.6.0EDGE|thingsboard/tb-edge:3.6.1EDGE|' docker-compose.yml

Run the upgrade script:

docker compose run mytbedge upgrade-tb-edge.sh

Start the container

docker compose up -d && docker compose logs -f mytbedge

Upgrading Edge to 3.6

Backup before upgrading

Go to your docker-compose.yml directory and stop the container:

docker compose stop

Create a backup copy of the database volume:

docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"

Update the image version

Update the thingsboard/tb-edge image tag in docker-compose.yml to 3.6.0EDGE:

sed -i 's|thingsboard/tb-edge:3.5.1.1EDGE|thingsboard/tb-edge:3.6.0EDGE|' docker-compose.yml

Run the upgrade script:

docker compose run mytbedge upgrade-tb-edge.sh

Start the container

docker compose up -d && docker compose logs -f mytbedge

Upgrading Edge to 3.5.1.1

Backup before upgrading

Go to your docker-compose.yml directory and stop the container:

docker compose stop

Create a backup copy of the database volume:

docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"

Update the image version

Update the thingsboard/tb-edge image tag in docker-compose.yml to 3.5.1.1EDGE:

sed -i 's|thingsboard/tb-edge:3.5.1EDGE|thingsboard/tb-edge:3.5.1.1EDGE|' docker-compose.yml

Run the upgrade script:

docker compose run mytbedge upgrade-tb-edge.sh

Start the container

docker compose up -d && docker compose logs -f mytbedge

Upgrading Edge to 3.5.1

Backup before upgrading

Go to your docker-compose.yml directory and stop the container:

docker compose stop

Create a backup copy of the database volume:

docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"

Update the image version

Update the thingsboard/tb-edge image tag in docker-compose.yml to 3.5.1EDGE:

sed -i 's|thingsboard/tb-edge:3.5.0EDGE|thingsboard/tb-edge:3.5.1EDGE|' docker-compose.yml

Run the upgrade script:

docker compose run mytbedge upgrade-tb-edge.sh

Start the container

docker compose up -d && docker compose logs -f mytbedge

Upgrading Edge to 3.5

Backup before upgrading

Go to your docker-compose.yml directory and stop the container:

docker compose stop

Create a backup copy of the database volume:

docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"

Update the image version

Update the thingsboard/tb-edge image tag in docker-compose.yml to 3.5.0EDGE:

sed -i 's|thingsboard/tb-edge:3.4.3EDGE|thingsboard/tb-edge:3.5.0EDGE|' docker-compose.yml

Run the upgrade script:

docker compose run mytbedge upgrade-tb-edge.sh

Start the container

docker compose up -d && docker compose logs -f mytbedge

Upgrading Edge to 3.4.3

Backup before upgrading

Go to your docker-compose.yml directory and stop the container:

docker compose stop

Create a backup copy of the database volume:

docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"

Update the image version

Update the thingsboard/tb-edge image tag in docker-compose.yml to 3.4.3EDGE:

sed -i 's|thingsboard/tb-edge:3.4.1EDGE|thingsboard/tb-edge:3.4.3EDGE|' docker-compose.yml

Run the upgrade script:

docker compose run mytbedge upgrade-tb-edge.sh

Start the container

docker compose up -d && docker compose logs -f mytbedge

Upgrading Edge to 3.4.1

Backup before upgrading

Go to your docker-compose.yml directory and stop the container:

docker compose stop

Create a backup copy of the database volume:

docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"

Update the image version

Update the thingsboard/tb-edge image tag in docker-compose.yml to 3.4.1EDGE:

sed -i 's|thingsboard/tb-edge:3.4.0EDGE|thingsboard/tb-edge:3.4.1EDGE|' docker-compose.yml

Run the upgrade script:

docker compose run mytbedge upgrade-tb-edge.sh

Start the container

docker compose up -d && docker compose logs -f mytbedge

Upgrading Edge to 3.4

Backup before upgrading

Go to your docker-compose.yml directory and stop the container:

docker compose stop

Create a backup copy of the database volume:

docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"

Update the image version

Update the thingsboard/tb-edge image tag in docker-compose.yml to 3.4.0EDGE:

sed -i 's|thingsboard/tb-edge:3.3.4.1EDGE|thingsboard/tb-edge:3.4.0EDGE|' docker-compose.yml

Run the upgrade script:

docker compose run mytbedge upgrade-tb-edge.sh

Start the container

docker compose up -d && docker compose logs -f mytbedge

Upgrading Edge to 3.3.4.1

Backup before upgrading

Go to your docker-compose.yml directory and stop the container:

docker compose stop

Create a backup copy of the database volume:

docker run --rm -v tb-edge-postgres-data:/source -v tb-edge-postgres-data-backup:/backup busybox sh -c "cp -a /source/. /backup"

Update the image version

Update the thingsboard/tb-edge image tag in docker-compose.yml to 3.3.4.1EDGE:

sed -i 's|thingsboard/tb-edge:3.3.4EDGE|thingsboard/tb-edge:3.3.4.1EDGE|' docker-compose.yml

Run the upgrade script:

docker compose run mytbedge upgrade-tb-edge.sh

Start the container

docker compose up -d && docker compose logs -f mytbedge