Skip to content
Stand with Ukraine flag

Trendz Analytics Docker 1.13.x Upgrade Instructions

← Back to all versions

Upgrading Trendz Analytics to 1.13.2

Trendz Analytics service upgrade

  1. Create a database backup:

    docker compose exec postgres sh -c "pg_dump -U postgres trendz > /var/lib/postgresql/data/trendz_dump"
  2. Update the version of thingsboard/trendz and thingsboard/trendz-python-executor in your docker-compose.yml to 1.13.2.

  3. Pull the image, run the upgrade, and restart:

    docker pull thingsboard/trendz:1.13.2
    docker compose stop trendz
    docker compose run --rm -e UPGRADE_TRENDZ=true trendz
    docker compose up -d

Upload widget bundle to ThingsBoard

After the upgrade, upload the latest Trendz widget bundle and JS module to ThingsBoard. See the post-installation steps for details.

Upgrading Trendz Analytics to 1.13.1

Trendz Analytics service upgrade

  1. Create a database backup:

    docker compose exec postgres sh -c "pg_dump -U postgres trendz > /var/lib/postgresql/data/trendz_dump"
  2. Update the version of thingsboard/trendz and thingsboard/trendz-python-executor in your docker-compose.yml to 1.13.1.

  3. Pull the image, run the upgrade, and restart:

    docker pull thingsboard/trendz:1.13.1
    docker compose stop trendz
    docker compose run --rm -e UPGRADE_TRENDZ=true trendz
    docker compose up -d

Upload widget bundle to ThingsBoard

After the upgrade, upload the latest Trendz widget bundle and JS module to ThingsBoard. See the post-installation steps for details.

Upgrading Trendz Analytics to 1.13

Trendz Analytics service upgrade

  1. Create a database backup:

    docker compose exec postgres sh -c "pg_dump -U postgres trendz > /var/lib/postgresql/data/trendz_dump"
  2. Update the version of thingsboard/trendz and thingsboard/trendz-python-executor in your docker-compose.yml to 1.13.0.

  3. Pull the image, run the upgrade, and restart:

    docker pull thingsboard/trendz:1.13.0
    docker compose stop trendz
    docker compose run --rm -e UPGRADE_TRENDZ=true trendz
    docker compose up -d

Upload widget bundle to ThingsBoard

After the upgrade, upload the latest Trendz widget bundle and JS module to ThingsBoard. See the post-installation steps for details.