Trendz Analytics Docker 1.11.x Upgrade Instructions
Upgrading Trendz Analytics to 1.11.2
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.11.2. -
Stop Trendz:
Terminal window docker compose stop trendz -
Pull the image, run the upgrade, and restart:
Terminal window docker pull thingsboard/trendz:1.11.2docker 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.11.2. -
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.11.2docker 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
Upgrading Trendz Analytics to 1.11.1
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.11.1. -
Stop Trendz:
Terminal window docker compose stop trendz -
Pull the image, run the upgrade, and restart:
Terminal window docker pull thingsboard/trendz:1.11.1docker 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.11.1. -
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.11.1docker 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
Upgrading Trendz Analytics to 1.11.0
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.11.0. -
Stop Trendz:
Terminal window docker compose stop trendz -
Pull the image, run the upgrade, and restart:
Terminal window docker pull thingsboard/trendz:1.11.0docker 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.11.0. -
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.11.0docker 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?