Stop ThingsBoard
Check if ThingsBoard and database services are running
Initially ThingsBoard, check status to ensure it is stopped and then databases.
1
sudo systemctl stop thingsboard
1
sudo systemctl status thingsboard
Backup Database
Make a backup of the database before upgrading.
PostgreSQL
Check PostgreSQL status. It is unnecessary to stop PostgreSQL for the backup.
1
sudo systemctl status postgresql
Make sure you have enough space to place a backup of the database
Check database size
PostgreSQL
Do nothing, postgresql is already running.
Upgrading ThingsBoard PE to 3.5.1
NOTE: These upgrade steps are applicable for ThingsBoard version 3.5PE. In order to upgrade to 3.5.1PE you need to upgrade to 3.5PE first. Prepare for upgrading ThingsBoard.
Install Thingsboard Web Report component as described here.
1
sudo rpm -Uvh thingsboard-3.5.1pe.rpm
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.
NOTE: These upgrade steps are applicable for ThingsBoard version 3.4.4PE. In order to upgrade to 3.5PE you need to upgrade to 3.4.4PE first. Prepare for upgrading ThingsBoard.
Important note before upgrading to ThingsBoard 3.5
ThingsBoard UI was migrated to Angular 15. You need to re-build your custom widgets and rule nodes (which use UI) on Angular 15.
Install Thingsboard Web Report component as described here.
1
sudo rpm -Uvh thingsboard-3.5pe.rpm
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.
Our website uses cookies to ensure site security and optimize your experience on our website. By continuing to browse this site, you agree to the use of these cookies, in accordance with our Cookie Policy. For details on managing cookies, please adjust your browser settings.