ThingsBoard Edge PE Docker 3.6.x Upgrade Instructions
Upgrading Edge PE 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-pe image tag in docker-compose.yml to 3.6.4EDGEPE:
sed -i 's|thingsboard/tb-edge-pe:3.6.3EDGEPE|thingsboard/tb-edge-pe:3.6.4EDGEPE|' 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 PE 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-pe image tag in docker-compose.yml to 3.6.3EDGEPE:
sed -i 's|thingsboard/tb-edge-pe:3.6.2EDGEPE|thingsboard/tb-edge-pe:3.6.3EDGEPE|' 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 PE 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-pe image tag in docker-compose.yml to 3.6.2EDGEPE:
sed -i 's|thingsboard/tb-edge-pe:3.6.1EDGEPE|thingsboard/tb-edge-pe:3.6.2EDGEPE|' 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 PE 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-pe image tag in docker-compose.yml to 3.6.1EDGEPE:
sed -i 's|thingsboard/tb-edge-pe:3.6.0EDGEPE|thingsboard/tb-edge-pe:3.6.1EDGEPE|' 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 PE 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-pe image tag in docker-compose.yml to 3.6.0EDGEPE:
sed -i 's|thingsboard/tb-edge-pe:3.5.1.1EDGEPE|thingsboard/tb-edge-pe:3.6.0EDGEPE|' 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