Upgrading Trendz Analytics to latest 1.15.0 (1.15.0.4)
Trendz Analytics service upgrade
- Create a dump of your database:
1
docker compose exec postgres sh -c "pg_dump -U postgres trendz > /var/lib/postgresql/data/trendz_dump"
-
Change the version of the
thingsboard/trendzandthingsboard/trendz-python-executorin thedocker-compose.ymlfile to the 1.15.0.4. -
Execute the following commands:
1 2 3 4
docker pull thingsboard/trendz:1.15.0.4 docker compose stop trendz docker compose run --rm -e UPGRADE_TRENDZ=true trendz docker compose up -d
Sync Trendz with ThingsBoard
After upgrade, itβs necessary to sync Trendz with ThingsBoard. You can find out how to do it here.