Trendz Analytics Docker 1.15.x Upgrade Instructions
Upgrading Trendz Analytics to 1.15.1
Trendz Analytics service upgrade
-
Create a database backup:
docker compose exec postgres sh -c "pg_dump -U postgres trendz > /var/lib/postgresql/data/trendz_dump" -
Update the version of
thingsboard/trendzandthingsboard/trendz-python-executorin yourdocker-compose.ymlto 1.15.1. -
Pull the image, run the upgrade, and restart:
docker pull thingsboard/trendz:1.15.1 docker compose stop trendz docker compose run --rm -e UPGRADE_TRENDZ=true trendz docker compose up -d
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 latest 1.15.0 (1.15.0.5)
Trendz Analytics service upgrade
-
Create a database backup:
docker compose exec postgres sh -c "pg_dump -U postgres trendz > /var/lib/postgresql/data/trendz_dump" -
Update the version of
thingsboard/trendzandthingsboard/trendz-python-executorin yourdocker-compose.ymlto 1.15.0.5. -
Pull the image, run the upgrade, and restart:
docker pull thingsboard/trendz:1.15.0.5 docker compose stop trendz docker compose run --rm -e UPGRADE_TRENDZ=true trendz docker compose up -d
Sync Trendz with ThingsBoard
After the upgrade, sync Trendz with ThingsBoard to update widgets and JS modules automatically. See the sync instructions for details.