← 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') ); "
If there is enough free space, create a backup:
sudo -Hiu postgres pg_dump trendz > trendz.sql.bak
Upgrading Trendz Analytics to 1.15.2.1 (latest 1.15.2 patch)
Trendz Analytics package download
wget https://dist.thingsboard.io/trendz-1.15.2.1.rpm
Trendz Analytics service upgrade
Install the latest Trendz Analytics package:
sudo rpm -Uvh trendz-1.15.2.1.rpm
Configuration files
rpm does not prompt about configuration files. If you changed a configuration file and the new package ships a different version of it, rpm keeps your file in place and writes the new default alongside it as .rpmnew. If no .rpmnew file appears, there is nothing to merge.
The recommended approach is to use the new file as the base: copy your custom values into the .rpmnew file, then replace your current configuration file with it.
Do this before running the upgrade script — the script reads the configuration file for your database connection settings and fails without them. If this version needs no upgrade script, do it before starting the service.
Execute the upgrade script:
sudo /usr/share/trendz/bin/install/upgrade.sh
Upgrading from any version
No --fromVersion flag is required. You can upgrade directly from any earlier version .
Start the service
sudo service trendz start
Sync 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.2
Trendz Analytics package download
wget https://dist.thingsboard.io/trendz-1.15.2.rpm
Trendz Analytics service upgrade
Install the latest Trendz Analytics package:
sudo rpm -Uvh trendz-1.15.2.rpm
Configuration files
rpm does not prompt about configuration files. If you changed a configuration file and the new package ships a different version of it, rpm keeps your file in place and writes the new default alongside it as .rpmnew. If no .rpmnew file appears, there is nothing to merge.
The recommended approach is to use the new file as the base: copy your custom values into the .rpmnew file, then replace your current configuration file with it.
Do this before running the upgrade script — the script reads the configuration file for your database connection settings and fails without them. If this version needs no upgrade script, do it before starting the service.
Execute the upgrade script:
sudo /usr/share/trendz/bin/install/upgrade.sh
Upgrading from any version
No --fromVersion flag is required. You can upgrade directly from any earlier version .
Start the service
sudo service trendz start
Sync 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.rpm
Trendz Analytics service upgrade
Install the latest Trendz Analytics package:
sudo rpm -Uvh trendz-1.15.1.rpm
Configuration files
rpm does not prompt about configuration files. If you changed a configuration file and the new package ships a different version of it, rpm keeps your file in place and writes the new default alongside it as .rpmnew. If no .rpmnew file appears, there is nothing to merge.
The recommended approach is to use the new file as the base: copy your custom values into the .rpmnew file, then replace your current configuration file with it.
Do this before running the upgrade script — the script reads the configuration file for your database connection settings and fails without them. If this version needs no upgrade script, do it before starting the service.
Execute the upgrade script:
sudo /usr/share/trendz/bin/install/upgrade.sh
Upgrading from any version
No --fromVersion flag is required. You can upgrade directly from any earlier version .
Start the service
sudo service trendz start
Sync 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.0.5 (latest 1.15.0 patch)
Trendz Analytics package download
wget https://dist.thingsboard.io/trendz-1.15.0.5.rpm
Trendz Analytics service upgrade
Install the latest Trendz Analytics package:
sudo rpm -Uvh trendz-1.15.0.5.rpm
Configuration files
rpm does not prompt about configuration files. If you changed a configuration file and the new package ships a different version of it, rpm keeps your file in place and writes the new default alongside it as .rpmnew. If no .rpmnew file appears, there is nothing to merge.
The recommended approach is to use the new file as the base: copy your custom values into the .rpmnew file, then replace your current configuration file with it.
Do this before running the upgrade script — the script reads the configuration file for your database connection settings and fails without them. If this version needs no upgrade script, do it before starting the service.
Execute the upgrade script:
sudo /usr/share/trendz/bin/install/upgrade.sh
Upgrading from any version
No --fromVersion flag is required. You can upgrade directly from any earlier version .
Start the service
sudo service trendz start
Sync Trendz with ThingsBoard
After the upgrade, sync Trendz with ThingsBoard to update widgets and JS modules automatically. See the sync instructions for details.