Skip to content
Stand with Ukraine flag

Trendz Analytics Ubuntu 1.8.x Upgrade Instructions

← Back to all versions

Prepare for upgrading Trendz Analytics

Stop Trendz Analytics

Check that the Trendz service is stopped.

sudo systemctl stop trendz
sudo systemctl status trendz

Backup 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.bak

Upgrading Trendz Analytics to 1.8.2

Trendz Analytics package download

wget https://dist.thingsboard.io/trendz-1.8.2.deb

Trendz Analytics service upgrade

Install the latest Trendz Analytics package:

sudo dpkg -i trendz-1.8.2.deb

Start the service

sudo service trendz start

Upgrading Trendz Analytics to 1.8.1

Trendz Analytics package download

wget https://dist.thingsboard.io/trendz-1.8.1.deb

Trendz Analytics service upgrade

Install the latest Trendz Analytics package:

sudo dpkg -i trendz-1.8.1.deb

Execute the upgrade script:

sudo /usr/share/trendz/bin/install/upgrade.sh --fromVersion=1.7.0

Start the service

sudo service trendz start