Trendz Analytics Ubuntu 1.15.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.15.2
Trendz Analytics package download
wget https://dist.thingsboard.io/trendz-1.15.2.debTrendz Analytics service upgrade
Install the latest Trendz Analytics package:
sudo dpkg -i trendz-1.15.2.debExecute the upgrade script:
sudo /usr/share/trendz/bin/install/upgrade.shStart the service
sudo service trendz startSync Trendz with ThingsBoard
After the upgrade, sync Trendz with ThingsBoard to update widgets and JS modules automatically. See the sync instructions for details.
Upgrading Trendz Analytics to 1.15.1
Trendz Analytics package download
wget https://dist.thingsboard.io/trendz-1.15.1.debTrendz Analytics service upgrade
Install the latest Trendz Analytics package:
sudo dpkg -i trendz-1.15.1.debExecute the upgrade script:
sudo /usr/share/trendz/bin/install/upgrade.shStart the service
sudo service trendz startSync Trendz with ThingsBoard
After the upgrade, sync Trendz with ThingsBoard to update widgets and JS modules automatically. See the sync instructions for details.
Upgrading Trendz Analytics to latest 1.15.0 (1.15.0.5)
Trendz Analytics package download
wget https://dist.thingsboard.io/trendz-1.15.0.5.debTrendz Analytics service upgrade
Install the latest Trendz Analytics package:
sudo dpkg -i trendz-1.15.0.5.debExecute the upgrade script:
sudo /usr/share/trendz/bin/install/upgrade.shStart the service
sudo service trendz startSync Trendz with ThingsBoard
After the upgrade, sync Trendz with ThingsBoard to update widgets and JS modules automatically. See the sync instructions for details.