Preparation
During the update, the server will request a key for version 5.6. If you do not have it or have a key for an earlier version, please contact the Sales Department: sales@ibatyr.kz. When contacting, please provide information about the key you have.
Warning
Do not update the server if you do not have a license key for version 5.6. The new version cannot be started without a key, and rolling back to the previous one will lead to data loss.
The update may take a long time. To speed up the update process, reduce the size of the database.
To update, the iBatyr Monitor server must be connected to the Internet.
Update
To update the iBatyr Monitor server version:
Connect to the server via SSH.
Check the installed version of Ubuntu:
lsb_release -aNote
iBatyr Monitor supports Ubuntu Server versions 18.04, 20.04, 22.04. If you are planning to update the version, please read with instructions for database reindexing, otherwise errors may occur on the server.
Download and run the update script:
wget -O - https://distr.ibatyr.kz/stable5.06/ibatyr.gpg | sudo apt-key add - echo "deb https://distr.ibatyr.kz/stable5.06 stable5.06 non-free" | sudo tee /etc/apt/sources.list.d/ibatyr.list sudo apt-get update sudo apt-get upgradeThe script will do:
checking system requirements;
request to create a database backup;
downloading the necessary packages;
updating the entire system and iBatyr Monitor.
When updating, the system will ask for a password for the ClickHouse database, which is used for additional security. Provide a password only if you really need it. Otherwise, leave the field blank.
Actions after update
Update agents using instructions Agent Update.
Possible problems
If after the update no events are received from users:
Go to Control Panel → Users.
Select all users and in the drop-down menu Release license.
Select all users again.
Select Assign License from the drop-down menu.