Stand with Ukraine flag
Pricing Try it now
Community Edition
Getting Started Documentation Devices Library Guides
Architecture API FAQ
On this page

ThingsBoard CE v4.2.x upgrade instructions for CentOS

Upgrading ThingsBoard CE to 4.2.1

Doc info icon

NOTE:
These upgrade steps are applicable for ThingsBoard version 4.2.x. In order to upgrade to 4.2.1 you need to upgrade to 4.2.x first.

ThingsBoard package download

1
wget https://github.com/thingsboard/thingsboard/releases/download/v4.2.1/thingsboard-4.2.1.rpm

ThingsBoard service upgrade

  • Stop ThingsBoard service if it is running.
1
sudo service thingsboard stop
1
sudo rpm -Uvh thingsboard-4.2.1.rpm
Doc info icon

NOTE:
Package installer may ask you to merge your ThingsBoard configuration. It is preferred to use merge option to make sure that all your previous parameters will not be overwritten.

Execute regular upgrade script:

1
sudo /usr/share/thingsboard/bin/install/upgrade.sh

Start the service

1
sudo service thingsboard start

Upgrading ThingsBoard CE to 4.2.0

Doc info icon

NOTE:
These upgrade steps are applicable for ThingsBoard version 4.1.x. In order to upgrade to 4.2 you need to upgrade to 4.1.x first.

ThingsBoard package download

1
wget https://github.com/thingsboard/thingsboard/releases/download/v4.2/thingsboard-4.2.rpm

ThingsBoard service upgrade

  • Stop ThingsBoard service if it is running.
1
sudo service thingsboard stop
1
sudo rpm -Uvh thingsboard-4.2.rpm
Doc info icon

NOTE:
Package installer may ask you to merge your ThingsBoard configuration. It is preferred to use merge option to make sure that all your previous parameters will not be overwritten.

Execute regular upgrade script:

1
sudo /usr/share/thingsboard/bin/install/upgrade.sh

Start the service

1
sudo service thingsboard start