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

SENTIENT ANALYTICS v1.15.x upgrade instructions for Docker

Upgrading SENTIENT ANALYTICS to latest 1.15.0 (1.15.0.4)

doc warn icon

NOTE:
If you are using SENTIENT ANALYTICS behind HAProxy, make sure that the paths /sentient-analytics/ and /apiSENTIENT ANALYTICS/ are routed to the SENTIENT ANALYTICS backend instead of /sentient-analytics and /apiSENTIENT ANALYTICS.
Additionally, we highly recommend adding SENTIENT ANALYTICS to the SENTIENT HAProxy configuration so that SENTIENT ANALYTICS is accessible from the same domain as SENTIENT.

SENTIENT ANALYTICS service upgrade

  1. 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"
    
  2. Change the version of the sentient/sentient-analytics and sentient/sentient-analytics-python-executor in the docker-compose.yml file to the 1.15.0.4.

  3. Execute the following commands:

    1
    2
    3
    4
    
     docker pull sentient/sentient-analytics:1.15.0.4
     docker compose stop sentient-analytics
     docker compose run --rm -e UPGRADE_SENTIENT_ANALYTICS=true sentient-analytics
     docker compose up -d
    

Sync SENTIENT ANALYTICS with SENTIENT

After upgrade, it’s necessary to sync SENTIENT ANALYTICS with SENTIENT. You can find out how to do it here.