- 将 ThingsBoard CE 升级到 3.3.4.1
- 将 ThingsBoard CE 升级到 3.3.4
- Upgrading ThingsBoard CE to 3.3.3
- Upgrading ThingsBoard CE to 3.3.2
- Upgrading ThingsBoard CE to 3.3.1
- Upgrading ThingsBoard CE to 3.3
将 ThingsBoard CE 升级到 3.3.4.1
下载 ThingsBoard 安装包
下载 Windows 版 ThingsBoard 安装文件:thingsboard-windows-3.3.4.1.zip。
ThingsBoard 服务升级
- 若 ThingsBoard 服务正在运行,请先停止。
1
net stop thingsboard
-
备份位于 <ThingsBoard 安装目录>\conf 的先前 ThingsBoard 配置(例如 C:\thingsboard\conf)。
- 删除 ThingsBoard 安装目录。
-
将安装压缩包解压到 ThingsBoard 安装目录。
- 将第一步备份的旧 ThingsBoard 配置文件与新配置进行比较和合并。
启动服务
1
net start thingsboard
将 ThingsBoard CE 升级到 3.3.4
下载 ThingsBoard 安装包
下载 Windows 版 ThingsBoard 安装文件:thingsboard-windows-3.3.4.zip。
ThingsBoard 服务升级
- 若 ThingsBoard 服务正在运行,请先停止。
1
net stop thingsboard
-
备份位于 <ThingsBoard 安装目录>\conf 的先前 ThingsBoard 配置(例如 C:\thingsboard\conf)。
- 删除 ThingsBoard 安装目录。
-
将安装压缩包解压到 ThingsBoard 安装目录。
- 将第一步备份的旧 ThingsBoard 配置文件与新配置进行比较和合并。
执行常规升级脚本:
1
C:\thingsboard>upgrade.bat --fromVersion=3.3.3
启动服务
1
net start thingsboard
Upgrading ThingsBoard CE to 3.3.3
NOTE: These upgrade steps are applicable for ThingsBoard version 3.3.2. In order to upgrade to 3.3.3 you need to upgrade to 3.3.2 first.
ThingsBoard package download
Download ThingsBoard installation archive for Windows: thingsboard-windows-3.3.3.zip.
ThingsBoard service upgrade
- Stop ThingsBoard service if it is running.
1
net stop thingsboard
-
Make a backup of previous ThingsBoard configuration located in <ThingsBoard install dir>\conf (for ex. C:\thingsboard\conf).
- Remove ThingsBoard install dir.
- Unzip installation archive to ThingsBoard install dir.
-
Compare and merge your old ThingsBoard configuration files (from the backup you made in the first step) with new ones.
- Finally, run upgrade.bat script to upgrade ThingsBoard to the new version.
NOTE Scripts listed above should be executed using Administrator Role.
Execute regular upgrade script:
1
C:\thingsboard>upgrade.bat --fromVersion=3.3.2
Start the service
1
net start thingsboard
Upgrading ThingsBoard CE to 3.3.2
NOTE: These upgrade steps are applicable for ThingsBoard version 3.3.1. In order to upgrade to 3.3.2 you need to upgrade to 3.3.1 first.
ThingsBoard package download
Download ThingsBoard installation archive for Windows: thingsboard-windows-3.3.2.zip.
ThingsBoard service upgrade
- Stop ThingsBoard service if it is running.
1
net stop thingsboard
-
Make a backup of previous ThingsBoard configuration located in <ThingsBoard install dir>\conf (for ex. C:\thingsboard\conf).
- Remove ThingsBoard install dir.
- Unzip installation archive to ThingsBoard install dir.
- Compare your old ThingsBoard configuration files (from the backup you made in the first step) with new ones.
- Please make sure that you set database.ts.type parameter value (in the file <ThingsBoard install dir>\conf\thingsboard.yml) to “cassandra” instead of “sql” if you are using Cassandra database for timeseries data:
1
2
3
4
database:
ts_max_intervals: "${DATABASE_TS_MAX_INTERVALS:700}" # Max number of DB queries generated by single API call to fetch telemetry records
ts:
type: "${DATABASE_TS_TYPE:sql}" # cassandra, sql, or timescale (for hybrid mode, DATABASE_TS_TYPE value should be cassandra, or timescale)
- Finally, run upgrade.bat script to upgrade ThingsBoard to the new version.
NOTE Scripts listed above should be executed using Administrator Role.
Execute regular upgrade script:
1
C:\thingsboard>upgrade.bat --fromVersion=3.3.1
Start the service
1
net start thingsboard
Upgrading ThingsBoard CE to 3.3.1
NOTE: These upgrade steps are applicable for ThingsBoard version 3.3.0. In order to upgrade to 3.3.1 you need to upgrade to 3.3.0 first.
ThingsBoard package download
Download ThingsBoard installation archive for Windows: thingsboard-windows-3.3.1.zip.
ThingsBoard service upgrade
- Stop ThingsBoard service if it is running.
1
net stop thingsboard
-
Make a backup of previous ThingsBoard configuration located in <ThingsBoard install dir>\conf (for ex. C:\thingsboard\conf).
- Remove ThingsBoard install dir.
- Unzip installation archive to ThingsBoard install dir.
- Compare your old ThingsBoard configuration files (from the backup you made in the first step) with new ones.
- Please make sure that you set database.ts.type parameter value (in the file <ThingsBoard install dir>\conf\thingsboard.yml) to “cassandra” instead of “sql” if you are using Cassandra database for timeseries data:
1
2
3
4
database:
ts_max_intervals: "${DATABASE_TS_MAX_INTERVALS:700}" # Max number of DB queries generated by single API call to fetch telemetry records
ts:
type: "${DATABASE_TS_TYPE:sql}" # cassandra, sql, or timescale (for hybrid mode, DATABASE_TS_TYPE value should be cassandra, or timescale)
- Finally, run upgrade.bat script to upgrade ThingsBoard to the new version.
NOTE Scripts listed above should be executed using Administrator Role.
Execute regular upgrade script:
1
C:\thingsboard>upgrade.bat --fromVersion=3.3.0
Start the service
1
net start thingsboard
Upgrading ThingsBoard CE to 3.3
NOTE: These upgrade steps are applicable for ThingsBoard version 3.2.2. In order to upgrade to 3.3 you need to upgrade to 3.2.2 first.
ThingsBoard package download
Download ThingsBoard installation archive for Windows: thingsboard-windows-3.3.zip.
ThingsBoard service upgrade
- Stop ThingsBoard service if it is running.
1
net stop thingsboard
-
Make a backup of previous ThingsBoard configuration located in <ThingsBoard install dir>\conf (for ex. C:\thingsboard\conf).
- Remove ThingsBoard install dir.
- Unzip installation archive to ThingsBoard install dir.
- Compare your old ThingsBoard configuration files (from the backup you made in the first step) with new ones.
- Please make sure that you set database.ts.type parameter value (in the file <ThingsBoard install dir>\conf\thingsboard.yml) to “cassandra” instead of “sql” if you are using Cassandra database for timeseries data:
1
2
3
4
database:
ts_max_intervals: "${DATABASE_TS_MAX_INTERVALS:700}" # Max number of DB queries generated by single API call to fetch telemetry records
ts:
type: "${DATABASE_TS_TYPE:sql}" # cassandra, sql, or timescale (for hybrid mode, DATABASE_TS_TYPE value should be cassandra, or timescale)
- If you were using MQTT over SSL instead of default MQTT, please make sure you have a proper configuration (thingsboard.yml) of ports/addresses:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
transport:
. . .
# Local MQTT transport parameters
mqtt:
# Enable/disable mqtt transport protocol.
enabled: "${MQTT_ENABLED:true}"
bind_address: "${MQTT_BIND_ADDRESS:0.0.0.0}"
bind_port: "${MQTT_BIND_PORT:1883}"
. . .
ssl:
# Enable/disable SSL support
enabled: "${MQTT_SSL_ENABLED:true}"
# MQTT SSL bind address
bind_address: "${MQTT_SSL_BIND_ADDRESS:0.0.0.0}"
# MQTT SSL bind port
bind_port: "${MQTT_SSL_BIND_PORT:8883}"
- Finally, run upgrade.bat script to upgrade ThingsBoard to the new version.
NOTE Scripts listed above should be executed using Administrator Role.
Execute regular upgrade script:
1
C:\thingsboard>upgrade.bat --fromVersion=3.2.2
Start the service
1
net start thingsboard