Trendz Analytics Docker 1.9.x Upgrade Instructions
Upgrading Trendz Analytics to 1.9.2-HF3
Trendz Analytics service upgrade
Pick the tab that matches how you installed Trendz.
If the Trendz service in your docker-compose.yml is still named mytrendz, or mounts host folders such as ~/.mytrendz-data:/data, move to named volumes first.
-
Create a database backup:
Terminal window docker compose exec trendz-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.9.2-HF3. -
Stop Trendz:
Terminal window docker compose stop trendz -
Pull the image, run the upgrade, and restart:
Terminal window docker pull thingsboard/trendz:1.9.2-HF3docker compose run --rm -e UPGRADE_TRENDZ=true trendzdocker compose up -d
-
Create a database backup:
Terminal window docker compose -f docker-compose.yml -f docker-compose-trendz.yml 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-trendz.ymlto 1.9.2-HF3. -
Stop Trendz:
Terminal window docker compose -f docker-compose.yml -f docker-compose-trendz.yml stop trendz -
Pull the image, run the upgrade, and restart:
Terminal window docker pull thingsboard/trendz:1.9.2-HF3docker compose -f docker-compose.yml -f docker-compose-trendz.yml run --rm -e UPGRADE_TRENDZ=true trendzdocker compose -f docker-compose.yml -f docker-compose-trendz.yml up -d
Was this helpful?