产品定价 立即试用
社区版
入门 文档 指南
架构 API 常见问题
目录

ThingsBoard CE v3.6.x Docker升级说明

Upgrading ThingsBoard CE to 3.6.4

文档信息图标

NOTE:
These upgrade steps are applicable for ThingsBoard version 3.6.3. In order to upgrade to 3.6.4 you need to upgrade to 3.6.3 first.

ThingsBoard image download

Download ThingsBoard Docker image:

1
docker pull thingsboard/tb-postgres:3.6.4

ThingsBoard service upgrade

  • Stop ThingsBoard mytb container if it is running.
1
docker compose stop mytb
文档信息图标

If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command:
docker-compose stop mytb

  • Update docker-compose.yml
1
2
3
4
< . . . >
  mytbce:
    image: "thingsboard/tb-postgres:3.6.4"
< . . . >
  • Change upgradeversion variable:
1
echo '3.6.3' | sudo tee ~/.mytb-data/.upgradeversion
  • Execute the following commands to upgrade ThingsBoard to the new version:
1
docker run -it -v ~/.mytb-data:/data --rm thingsboard/tb-postgres:3.6.4 upgrade-tb.sh
  • Start ThingsBoard:
1
docker compose up -d
文档信息图标

If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command:
docker-compose up -d

Upgrading ThingsBoard CE to 3.6.3

文档信息图标

NOTE:
These upgrade steps are applicable for ThingsBoard version 3.6.2. In order to upgrade to 3.6.3 you need to upgrade to 3.6.2 first.

ThingsBoard image download

Download ThingsBoard Docker image:

1
docker pull thingsboard/tb-postgres:3.6.3

ThingsBoard service upgrade

  • Stop ThingsBoard mytb container if it is running.
1
docker compose stop mytb
文档信息图标

If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command:
docker-compose stop mytb

  • Update docker-compose.yml
1
2
3
4
< . . . >
  mytbce:
    image: "thingsboard/tb-postgres:3.6.3"
< . . . >
  • Change upgradeversion variable:
1
echo '3.6.2' | sudo tee ~/.mytb-data/.upgradeversion
  • Execute the following commands to upgrade ThingsBoard to the new version:
1
docker run -it -v ~/.mytb-data:/data --rm thingsboard/tb-postgres:3.6.3 upgrade-tb.sh
  • Start ThingsBoard:
1
docker compose up -d
文档信息图标

If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command:
docker-compose up -d

Upgrading ThingsBoard CE to 3.6.2

文档信息图标

NOTE:
These upgrade steps are applicable for ThingsBoard version 3.6.1. In order to upgrade to 3.6.2 you need to upgrade to 3.6.1 first.

ThingsBoard image download

Download ThingsBoard Docker image:

1
docker pull thingsboard/tb-postgres:3.6.2

ThingsBoard service upgrade

  • Stop ThingsBoard mytb container if it is running.
1
docker compose stop mytb
文档信息图标

If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command:
docker-compose stop mytb

  • Update docker-compose.yml
1
2
3
4
< . . . >
  mytbce:
    image: "thingsboard/tb-postgres:3.6.2"
< . . . >
  • Change upgradeversion variable:
1
echo '3.6.1' | sudo tee ~/.mytb-data/.upgradeversion
  • Execute the following commands to upgrade ThingsBoard to the new version:
1
docker run -it -v ~/.mytb-data:/data --rm thingsboard/tb-postgres:3.6.2 upgrade-tb.sh
  • Start ThingsBoard:
1
docker compose up -d
文档信息图标

If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command:
docker-compose up -d

Upgrading ThingsBoard CE to 3.6.1

文档信息图标

NOTE:
These upgrade steps are applicable for ThingsBoard version 3.6. In order to upgrade to 3.6.1 you need to upgrade to 3.6 first.

ThingsBoard image download

Download ThingsBoard Docker image:

1
docker pull thingsboard/tb-postgres:3.6.1

ThingsBoard service upgrade

  • Stop ThingsBoard mytb container if it is running.
1
docker compose stop mytb
文档信息图标

If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command:
docker-compose stop mytb

  • Update docker-compose.yml
1
2
3
4
< . . . >
  mytbce:
    image: "thingsboard/tb-postgres:3.6.1"
< . . . >
  • Change upgradeversion variable:
1
echo '3.6.0' | sudo tee ~/.mytb-data/.upgradeversion
  • Execute the following commands to upgrade ThingsBoard to the new version:
1
docker run -it -v ~/.mytb-data:/data --rm thingsboard/tb-postgres:3.6.1 upgrade-tb.sh
  • Start ThingsBoard:
1
docker compose up -d
文档信息图标

If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command:
docker-compose up -d

Upgrading ThingsBoard CE to 3.6.0

文档信息图标

NOTE:
These upgrade steps are applicable for ThingsBoard version 3.5.1. In order to upgrade to 3.6 you need to upgrade to 3.5.1 first.

ThingsBoard image download

Download ThingsBoard Docker image:

1
docker pull thingsboard/tb-postgres:3.6.0

ThingsBoard service upgrade

  • Stop ThingsBoard mytb container if it is running.
1
docker compose stop mytb
文档信息图标

If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command:
docker-compose stop mytb

  • Update docker-compose.yml
1
2
3
4
< . . . >
  mytbce:
    image: "thingsboard/tb-postgres:3.6.0"
< . . . >
  • Change upgradeversion variable:
1
echo '3.5.1' | sudo tee ~/.mytb-data/.upgradeversion
  • Execute the following commands to upgrade ThingsBoard to the new version:
1
docker run -it -v ~/.mytb-data:/data --rm thingsboard/tb-postgres:3.6.0 upgrade-tb.sh
  • Start ThingsBoard:
1
docker compose up -d
文档信息图标

If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command:
docker-compose up -d