Trendz Analytics Docker 1.15.x Upgrade Instructions
Upgrading Trendz Analytics to 1.15.2
Trendz Analytics service upgrade
-
Create a database backup:
Terminal window 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.2. -
Pull the image, run the upgrade, and restart:
Terminal window docker pull thingsboard/trendz:1.15.2docker compose stop trendzdocker compose run --rm -e UPGRADE_TRENDZ=true trendzdocker 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 1.15.1
Trendz Analytics service upgrade
-
Create a database backup:
Terminal window 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:
Terminal window docker pull thingsboard/trendz:1.15.1docker compose stop trendzdocker compose run --rm -e UPGRADE_TRENDZ=true trendzdocker 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:
Terminal window 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:
Terminal window docker pull thingsboard/trendz:1.15.0.5docker compose stop trendzdocker compose run --rm -e UPGRADE_TRENDZ=true trendzdocker 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.