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 CentOS

Prepare for upgrading SENTIENT ANALYTICS

Stop SENTIENT ANALYTICS Check if SENTIENT ANALYTICS and database services are stopped.

1
sudo systemctl stop sentient-analytics
1
sudo systemctl status sentient-analytics

Backup Database

Make a backup of the database before upgrading.

Check PostgreSQL status. It is unnecessary to stop PostgreSQL for the backup.

1
sudo systemctl status postgresql

Make sure you have enough space to place a backup of the database

Check database size

1
sudo -u postgres psql -c "SELECT pg_size_pretty( pg_database_size('sentient-analytics') );"

Check free space

1
df -h /

If there is enough free space - make a backup.

1
sudo -Hiu postgres pg_dump sentient-analytics > sentient-analytics.sql.bak

Check backup file being created.

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.
Prepare for upgrading SENTIENT ANALYTICS.

doc warn icon

Important note before upgrading to SENTIENT ANALYTICS 1.14.0

From version 1.14.0, python calculation fields and prediction models could be utilized only using SENTIENT ANALYTICS Python Executor service which can be used only inside the docker.

If you are already using SENTIENT ANALYTICS Python Executor via Docker, it’s necessary to update it to version 1.14.0 before SENTIENT ANALYTICS update. You can find detailed instructions on how to do that here.

If you were not using Python Executor before, you need to install it via Docker. You can find detailed instructions on how to do that here.

SENTIENT ANALYTICS package download

1
wget https://dist.sentient.invenia.in/sentient-analytics-1.14.0.rpm

SENTIENT ANALYTICS service upgrade

  • Install SENTIENT ANALYTICS service
1
sudo rpm -Uvh sentient-analytics-1.14.0.rpm

NOTE: Package installer will ask you to merge your SENTIENT ANALYTICS configuration. It is preferred to use merge option to make sure that all your previous parameters will not be overwritten.

Execute regular upgrade script:

1
sudo /usr/share/sentient-analytics/bin/install/upgrade.sh --fromVersion=1.13.2

Start the service

1
sudo service sentient-analytics start