Pricing Try it now
Trendz Analytics
Getting Started Documentation Guides
How To Activate Trendz
On this page

Trendz Analytics v1.10.x upgrade instructions for Docker

Upgrading Trendz Analytics to 1.10.3-HF7

Doc info icon

NOTE: You can upgrade Trendz Analytics from any version to the 1.10.3-HF7.

Trendz Analytics image download

Download Trendz Analytics Docker image:

1
docker pull thingsboard/trendz:1.10.3-HF7

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"
Doc info icon

If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command:
docker-compose exec postgres sh -c “pg_dump -U postgres trendz > /var/lib/postgresql/data/trendz_dump”

  • Stop Trendz Analytics trendz container if it is running.
1
docker compose stop trendz
  • Set upgradeversion variable to your previous Trendz Analytics version (if you`re upgrading from 1.10.3 set upgradeversion to 1.10.3).
1
docker compose exec trendz sh -c "echo '1.10.3' > /data/.upgradeversion" 
Doc info icon

If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command:
docker-compose exec mytrendz sh -c “echo ‘1.10.3’ > /data/.upgradeversion”

  • Update docker-compose.yml:
1
2
3
4
5
6
< . . . >
  trendz:
    image: "thingsboard/trendz:1.10.3-HF7"
  trendz-python-executor:
    image: "thingsboard/trendz-python-executor:1.10.3-HF7"  
< . . . >
  • Start Trendz Analytics:
1
docker compose up -d

Upgrading Trendz Analytics to 1.10.3

Doc info icon

NOTE: You can upgrade Trendz Analytics from any version to the 1.10.3.

Trendz Analytics image download

Download Trendz Analytics Docker image:

1
docker pull thingsboard/trendz:1.10.3

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"
Doc info icon

If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command:
docker-compose exec postgres sh -c “pg_dump -U postgres trendz > /var/lib/postgresql/data/trendz_dump”

  • Stop Trendz Analytics trendz container if it is running.
1
docker compose stop trendz
  • Set upgradeversion variable to your previous Trendz Analytics version (if you`re upgrading from 1.10.2 set upgradeversion to 1.10.2).
1
docker compose exec trendz sh -c "echo '1.10.2' > /data/.upgradeversion" 
Doc info icon

If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command:
docker-compose exec mytrendz sh -c “echo ‘1.10.2’ > /data/.upgradeversion”

  • Update docker-compose.yml:
1
2
3
4
5
6
< . . . >
  trendz:
    image: "thingsboard/trendz:1.10.3"
  trendz-python-executor:
    image: "thingsboard/trendz-python-executor:1.10.3"  
< . . . >
  • Start Trendz Analytics:
1
docker compose up -d

Upgrading Trendz Analytics to 1.10.2

Doc info icon

NOTE: You can upgrade Trendz Analytics from any version to the 1.10.2.

Trendz Analytics image download

Download Trendz Analytics Docker image:

1
docker pull thingsboard/trendz:1.10.2

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"
Doc info icon

If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command:
docker-compose exec postgres sh -c “pg_dump -U postgres trendz > /var/lib/postgresql/data/trendz_dump”

  • Stop Trendz Analytics trendz container if it is running.
1
docker compose stop trendz
  • Set upgradeversion variable to your previous Trendz Analytics version (if you`re upgrading from 1.10.1 set upgradeversion to 1.10.1).
1
docker compose exec trendz sh -c "echo '1.10.1' > /data/.upgradeversion" 
Doc info icon

If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command:
docker-compose exec mytrendz sh -c “echo ‘1.10.1’ > /data/.upgradeversion”

  • Update docker-compose.yml:
1
2
3
4
5
6
< . . . >
  trendz:
    image: "thingsboard/trendz:1.10.2"
  trendz-python-executor:
    image: "thingsboard/trendz-python-executor:1.10.2"  
< . . . >
  • Start Trendz Analytics:
1
docker compose up -d

Upgrading Trendz Analytics to 1.10.1

Doc info icon

NOTE: You can upgrade Trendz Analytics from any version to the 1.10.1.

Trendz Analytics image download

Download Trendz Analytics Docker image:

1
docker pull thingsboard/trendz:1.10.1

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"
Doc info icon

If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command:
docker-compose exec postgres sh -c “pg_dump -U postgres trendz > /var/lib/postgresql/data/trendz_dump”

  • Stop Trendz Analytics trendz container if it is running.
1
docker compose stop trendz
  • Set upgradeversion variable to your previous Trendz Analytics version (if you`re upgrading from 1.10.0 set upgradeversion to 1.10.0).
1
docker compose exec trendz sh -c "echo '1.10.0' > /data/.upgradeversion" 
Doc info icon

If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command:
docker-compose exec mytrendz sh -c “echo ‘1.10.0’ > /data/.upgradeversion”

  • Update docker-compose.yml:
1
2
3
4
5
6
< . . . >
  trendz:
    image: "thingsboard/trendz:1.10.1"
  trendz-python-executor:
    image: "thingsboard/trendz-python-executor:1.10.1"  
< . . . >
  • Start Trendz Analytics:
1
docker compose up -d

Upgrading Trendz Analytics to 1.10.0

Doc info icon

NOTE: You can upgrade Trendz Analytics from any version to the 1.10.0.

Trendz Analytics image download

Download Trendz Analytics Docker image:

1
docker pull thingsboard/trendz:1.10.0

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"
Doc info icon

If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command:
docker-compose exec postgres sh -c “pg_dump -U postgres trendz > /var/lib/postgresql/data/trendz_dump”

  • Stop Trendz Analytics trendz container if it is running.
1
docker compose stop trendz
  • Set upgradeversion variable to your previous Trendz Analytics version (if you`re upgrading from 1.9.2-HF3 set upgradeversion to 1.9.2-HF3).
1
docker compose exec trendz sh -c "echo '1.9.2-HF3' > /data/.upgradeversion" 
Doc info icon

If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command:
docker-compose exec mytrendz sh -c “echo ‘1.9.2-HF3’ > /data/.upgradeversion”

  • Update docker-compose.yml:
1
2
3
4
5
6
< . . . >
  trendz:
    image: "thingsboard/trendz:1.10.0"
  trendz-python-executor:
    image: "thingsboard/trendz-python-executor:1.10.0"  
< . . . >
  • Start Trendz Analytics:
1
docker compose up -d