Pricing Try it now
SENTIENT ANALYTICS
Getting Started Documentation Guides
How To Activate SENTIENT ANALYTICS
On this page

SENTIENT ANALYTICS v1.14.x upgrade instructions for Docker

Upgrading SENTIENT ANALYTICS to 1.14.0

Doc info icon

NOTE:
After upgrading it is required to update SENTIENT ANALYTICS widget bundle in SENTIENT. You can find detailed instructions how to do that via SENTIENT ANALYTICS UI in SENTIENT ANALYTICS Widget Bundle upgrade article.
You can upgrade SENTIENT ANALYTICS from any version to the 1.14.0.

SENTIENT ANALYTICS image download

Download SENTIENT ANALYTICS Docker image:

1
docker pull sentient/sentient-analytics:1.14.0

SENTIENT ANALYTICS service upgrade

  • Create a dump of your database:
1
docker compose exec postgres sh -c "pg_dump -U postgres sentient-analytics > /var/lib/postgresql/data/sentient-analytics_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 sentient-analytics > /var/lib/postgresql/data/sentient-analytics_dump”

  • Stop SENTIENT ANALYTICS sentient-analytics container if it is running.
1
docker compose stop sentient-analytics
  • Set upgradeversion variable to your previous SENTIENT ANALYTICS version (if you`re upgrading from 1.13.2 set upgradeversion to 1.13.2).
1
docker compose exec sentient-analytics sh -c "echo '1.13.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 mysentient-analytics sh -c “echo ‘1.13.2’ > /data/.upgradeversion”

  • Update docker-compose.yml:
1
2
3
4
5
6
< . . . >
  sentient-analytics:
    image: "sentient/sentient-analytics:1.14.0"
  sentient-analytics-python-executor:
    image: "sentient/sentient-analytics-python-executor:1.14.0"  
< . . . >
  • Start SENTIENT ANALYTICS:
1
docker compose up -d