Trendz Analytics CentOS/RHEL 1.13.x Upgrade Instructions
Prepare for upgrading Trendz Analytics
Stop Trendz Analytics
Check that the Trendz service is stopped.
sudo systemctl stop trendzsudo systemctl status trendzBackup database
Make a backup of the database before upgrading.
sudo -u postgres psql -c "SELECT pg_size_pretty( pg_database_size('trendz') );"df -h /If there is enough free space, create a backup:
sudo -Hiu postgres pg_dump trendz > trendz.sql.bakUpgrading Trendz Analytics to 1.13.2
Trendz Analytics package download
wget https://dist.thingsboard.io/trendz-1.13.2.rpmTrendz Analytics service upgrade
Install the latest Trendz Analytics package:
sudo rpm -Uvh trendz-1.13.2.rpmExecute the upgrade script:
sudo /usr/share/trendz/bin/install/upgrade.sh --fromVersion=1.13.1Start the service
sudo service trendz startUpload widget bundle to ThingsBoard
After the upgrade, upload the latest Trendz widget bundle and JS module to ThingsBoard. See the post-installation steps for details.
Upgrading Trendz Analytics to 1.13.1
Trendz Analytics package download
wget https://dist.thingsboard.io/trendz-1.13.1.rpmTrendz Analytics service upgrade
Install the latest Trendz Analytics package:
sudo rpm -Uvh trendz-1.13.1.rpmExecute the upgrade script:
sudo /usr/share/trendz/bin/install/upgrade.sh --fromVersion=1.13.0Start the service
sudo service trendz startUpload widget bundle to ThingsBoard
After the upgrade, upload the latest Trendz widget bundle and JS module to ThingsBoard. See the post-installation steps for details.
Upgrading Trendz Analytics to 1.13
Trendz Analytics package download
wget https://dist.thingsboard.io/trendz-1.13.0.rpmTrendz Analytics service upgrade
Install the latest Trendz Analytics package:
sudo rpm -Uvh trendz-1.13.0.rpmExecute the upgrade script:
sudo /usr/share/trendz/bin/install/upgrade.sh --fromVersion=1.12.0Start the service
sudo service trendz startUpload widget bundle to ThingsBoard
After the upgrade, upload the latest Trendz widget bundle and JS module to ThingsBoard. See the post-installation steps for details.