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 latest 1.15.0 (1.15.0.4)
SENTIENT ANALYTICS package download
1
wget https://dist.sentient.invenia.in/sentient-analytics-1.15.0.4.rpm
SENTIENT ANALYTICS service upgrade
- Install latest SENTIENT ANALYTICS service
1
sudo rpm -Uvh sentient-analytics-1.15.0.4.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
Start the service
1
sudo service sentient-analytics start
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.