- Upgrading ThingsBoard PE to 3.3.4.1
- Upgrading ThingsBoard PE to 3.3.4
- Upgrading ThingsBoard PE to 3.3.3
- Upgrading ThingsBoard PE to 3.3.2
- Upgrading ThingsBoard PE to 3.3.1
- Upgrading ThingsBoard PE to 3.3
Upgrading ThingsBoard PE to 3.3.4.1
ThingsBoard PE package download
Download ThingsBoard PE installation package for Windows: thingsboard-windows-3.3.4.1pe.zip.
ThingsBoard PE service upgrade
- Stop ThingsBoard service if it is running.
1
net stop thingsboard
-
Make a backup of previous ThingsBoard PE configuration located in <ThingsBoard install dir>\conf (for ex. C:\thingsboard\conf).
-
Copy content of the thingsboard-windows-3.3.4.1pe.zip to the same location.
-
Compare and merge your old ThingsBoard configuration files (from the backup you made in the first step) with new ones.
Start the service
1
net start thingsboard
Upgrading ThingsBoard PE to 3.3.4
ThingsBoard PE package download
Download ThingsBoard PE installation package for Windows: thingsboard-windows-3.3.4pe.zip.
ThingsBoard PE service upgrade
- Stop ThingsBoard service if it is running.
1
net stop thingsboard
-
Make a backup of previous ThingsBoard PE configuration located in <ThingsBoard install dir>\conf (for ex. C:\thingsboard\conf).
-
Copy content of the thingsboard-windows-3.3.4pe.zip to the same location.
-
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.
Execute regular upgrade script:
1
C:\thingsboard>upgrade.bat --fromVersion=3.3.3
Start the service
1
net start thingsboard
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 PE package download
Download ThingsBoard PE installation package for Windows: thingsboard-windows-setup-3.3.3pe.exe.
ThingsBoard PE service upgrade
- Stop ThingsBoard service if it is running.
1
net stop thingsboard
- Make a backup of previous ThingsBoard PE configuration located in <ThingsBoard install dir>\conf (for ex. C:\thingsboard\conf).
- Run installation package thingsboard-windows-setup-3.3.3pe.exe.
-
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 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 package download
Download ThingsBoard PE installation package for Windows: thingsboard-windows-setup-3.3.2pe.exe.
ThingsBoard PE service upgrade
- Stop ThingsBoard service if it is running.
1
net stop thingsboard
- Make a backup of previous ThingsBoard PE configuration located in <ThingsBoard install dir>\conf (for ex. C:\thingsboard\conf).
- Run installation package thingsboard-windows-setup-3.3.1pe.exe.
- 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 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 package download
Download ThingsBoard PE installation package for Windows: thingsboard-windows-setup-3.3.1pe.exe.
ThingsBoard PE service upgrade
- Stop ThingsBoard service if it is running.
1
net stop thingsboard
- Make a backup of previous ThingsBoard PE configuration located in <ThingsBoard install dir>\conf (for ex. C:\thingsboard\conf).
- Run installation package thingsboard-windows-setup-3.3.1pe.exe.
- 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 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 package download
Download ThingsBoard PE installation package for Windows: thingsboard-windows-setup-3.3pe.exe.
ThingsBoard PE service upgrade
- Stop ThingsBoard service if it is running.
1
net stop thingsboard
- Make a backup of previous ThingsBoard PE configuration located in <ThingsBoard install dir>\conf (for ex. C:\thingsboard\conf).
- Run installation package thingsboard-windows-setup-3.3pe.exe.
- 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