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

Trendz Analytics v1.8.x upgrade instructions for Docker

Upgrading Trendz Analytics to 1.8.2

Doc info icon

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

Trendz Analytics image download

Download Trendz Analytics Docker image:

1
docker pull thingsboard/trendz:1.8.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.8.1 set upgradeversion to 1.8.1).
1
docker compose exec trendz sh -c "echo '1.8.1' > /data/.upgradeversion" 
doc warn icon
  • Update docker-compose.yml:
1
2
3
4
< . . . >
  trendz:
    image: "thingsboard/trendz:1.8.1"
< . . . >
  • Start Trendz Analytics:
1
docker compose up -d

Upgrading Trendz Analytics to 1.8.1

Doc info icon

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

Trendz Analytics image download

Download Trendz Analytics Docker image:

1
docker pull thingsboard/trendz:1.8.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.8.0 set upgradeversion to 1.8.0).
1
docker compose exec trendz sh -c "echo '1.8.0' > /data/.upgradeversion" 
doc warn icon
  • Update docker-compose.yml:
1
2
3
4
< . . . >
  trendz:
    image: "thingsboard/trendz:1.8.1"
< . . . >
  • Start Trendz Analytics:
1
docker compose up -d

Upgrading Trendz Analytics to 1.8.0

Doc info icon

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

Trendz Analytics image download

Download Trendz Analytics Docker image:

1
docker pull thingsboard/trendz:1.8.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.2.0 set upgradeversion to 1.2.0).
1
docker compose exec trendz sh -c "echo '1.2.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.2.0’ > /data/.upgradeversion”

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