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

ThingsBoard PE v3.3.x Docker 升级说明

Upgrading ThingsBoard PE to 3.3.4.1

文档信息图标

NOTE:
These upgrade steps are applicable for ThingsBoard version 3.3.4PE. In order to upgrade to 3.3.4.1PE you need to upgrade to 3.3.4PE first.

ThingsBoard PE image download

Download ThingsBoard PE Docker image:

1
docker pull thingsboard/tb-pe:3.3.4.1PE

ThingsBoard PE service upgrade

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

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

  • Update docker-compose.yml
1
2
3
4
< . . . >
  mytbpe:
    image: "thingsboard/tb-pe:3.3.4.1PE"
< . . . >
  • 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 PE to 3.3.4

文档信息图标

NOTE:
These upgrade steps are applicable for ThingsBoard version 3.3.3PE. In order to upgrade to 3.3.4PE you need to upgrade to 3.3.3PE first.

ThingsBoard PE image download

Download ThingsBoard PE Docker image:

1
docker pull thingsboard/tb-pe:3.3.4PE

ThingsBoard PE service upgrade

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

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

  • Update docker-compose.yml
1
2
3
4
< . . . >
  mytbpe:
    image: "thingsboard/tb-pe:3.3.4PE"
< . . . >
  • Change upgradeversion variable:
1
echo '3.3.3' | sudo tee ~/.mytbpe-data/.upgradeversion
  • Execute the following commands to upgrade ThingsBoard to the new version:
1
docker compose run mytbpe upgrade-tb.sh
文档信息图标

If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command:
docker-compose run mytbpe 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 PE to 3.3.3

NOTE: These upgrade steps are applicable for ThingsBoard version 3.3.2PE. In order to upgrade to 3.3.3PE you need to upgrade to 3.3.2PE first.

文档信息图标

升级至 ThingsBoard 3.3.3 前的重要提示

ThingsBoard UI 已迁移至 Angular 12。您需要在 Angular 12 上重新构建自定义部件和规则节点(使用 UI 的部分)。

ThingsBoard PE image download

Download ThingsBoard PE Docker image:

1
docker pull thingsboard/tb-pe:3.3.3PE

ThingsBoard PE service upgrade

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

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

  • Update docker-compose.yml
1
2
3
4
< . . . >
  mytbpe:
    image: "thingsboard/tb-pe:3.3.3PE"
< . . . >
  • Change upgradeversion variable:
1
echo '3.3.2' | sudo tee ~/.mytbpe-data/.upgradeversion
  • Execute the following commands to upgrade ThingsBoard to the new version:
1
docker compose run mytbpe upgrade-tb.sh
文档信息图标

If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command:
docker-compose run mytbpe 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 PE to 3.3.2

NOTE: These upgrade steps are applicable for ThingsBoard version 3.3.1PE. In order to upgrade to 3.3.2PE you need to upgrade to 3.3.1PE first.

ThingsBoard PE image download

Download ThingsBoard PE Docker image:

1
docker pull thingsboard/tb-pe:3.3.2PE

ThingsBoard PE service upgrade

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

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

  • Update docker-compose.yml
1
2
3
4
< . . . >
  mytbpe:
    image: "thingsboard/tb-pe:3.3.2PE"
< . . . >
  • Change upgradeversion variable:
1
echo '3.3.1' | sudo tee ~/.mytbpe-data/.upgradeversion
  • Execute the following commands to upgrade ThingsBoard to the new version:
1
docker compose run mytbpe upgrade-tb.sh
文档信息图标

If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command:
docker-compose run mytbpe 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 PE to 3.3.1

NOTE: These upgrade steps are applicable for ThingsBoard version 3.3.0PE. In order to upgrade to 3.3.1PE you need to upgrade to 3.3.0PE first.

ThingsBoard PE image download

Download ThingsBoard PE Docker image:

1
docker pull thingsboard/tb-pe:3.3.1PE

ThingsBoard PE service upgrade

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

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

  • Update docker-compose.yml
1
2
3
4
< . . . >
  mytbpe:
    image: "thingsboard/tb-pe:3.3.1PE"
< . . . >
  • Change upgradeversion variable:
1
echo '3.3.0' | sudo tee ~/.mytbpe-data/.upgradeversion
  • Execute the following commands to upgrade ThingsBoard to the new version:
1
docker compose run mytbpe upgrade-tb.sh
文档信息图标

If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command:
docker-compose run mytbpe 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 PE to 3.3

NOTE: These upgrade steps are applicable for ThingsBoard version 3.2.2PE. In order to upgrade to 3.3PE you need to upgrade to 3.2.2PE first.

ThingsBoard PE image download

Download ThingsBoard PE Docker image:

1
docker pull thingsboard/tb-pe:3.3.0PE

ThingsBoard PE service upgrade

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

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

  • Update docker-compose.yml
1
2
3
4
< . . . >
  mytbpe:
    image: "thingsboard/tb-pe:3.3.0PE"
< . . . >
  • Change upgradeversion variable:
1
echo '3.2.2' | sudo tee ~/.mytbpe-data/.upgradeversion
  • Execute the following commands to upgrade ThingsBoard to the new version:
1
docker compose run mytbpe upgrade-tb.sh
文档信息图标

If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command:
docker-compose run mytbpe 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