Skip to content
Stand with Ukraine flag

Trendz Analytics Ubuntu 1.13.x Upgrade Instructions

← Back to all versions

Prepare for upgrading Trendz Analytics

Stop Trendz Analytics

Check that the Trendz service is stopped.

Terminal window
sudo systemctl stop trendz
Terminal window
sudo systemctl status trendz

Backup database

Make a backup of the database before upgrading.

Terminal window
sudo -u postgres psql -c "SELECT pg_size_pretty( pg_database_size('trendz') );"
Terminal window
df -h /

If there is enough free space, create a backup:

Terminal window
sudo -Hiu postgres pg_dump trendz > trendz.sql.bak

Upgrading Trendz Analytics to 1.13.2

Trendz Analytics package download

Terminal window
wget https://dist.thingsboard.io/trendz-1.13.2.deb

Trendz Analytics service upgrade

Install the latest Trendz Analytics package:

Terminal window
sudo dpkg -i trendz-1.13.2.deb

Execute the upgrade script:

Terminal window
sudo /usr/share/trendz/bin/install/upgrade.sh --fromVersion=1.13.1

Start the service

Terminal window
sudo service trendz start

Upload 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

Terminal window
wget https://dist.thingsboard.io/trendz-1.13.1.deb

Trendz Analytics service upgrade

Install the latest Trendz Analytics package:

Terminal window
sudo dpkg -i trendz-1.13.1.deb

Execute the upgrade script:

Terminal window
sudo /usr/share/trendz/bin/install/upgrade.sh --fromVersion=1.13.0

Start the service

Terminal window
sudo service trendz start

Upload 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

Terminal window
wget https://dist.thingsboard.io/trendz-1.13.0.deb

Trendz Analytics service upgrade

Install the latest Trendz Analytics package:

Terminal window
sudo dpkg -i trendz-1.13.0.deb

Execute the upgrade script:

Terminal window
sudo /usr/share/trendz/bin/install/upgrade.sh --fromVersion=1.12.0

Start the service

Terminal window
sudo service trendz start

Upload 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.