On closed systems (without Internet access), the Itgrix module cannot be updated via the
update.shscript (in the
/opt/itgrix_<crm>/ folder). For such cases, it is possible to update offline:
- 1.Download the update file to a PC with Internet access.
- 2.Deliver the update file to the server with the Itgrix module installed.
- 3.Run update.
Select the required options and click the "Download updates" button - and the update file will be downloaded to your computer.
To get the update file, you need to make a request to the node
https://bx24asterisk.ru/api/v3/get_offline_update.phpwith the following options:
crm- short name of the CRM for which the module is installed:
bxfor itgrix_bx (Bitrix24);
- kommo for itgrix_kommo (kommoCRM);
arch- short name of the processor architecture:
i386for 32-bit processors based on the architecture x86 (including i586, i686 and others);
amd64for 64-bit processors based on the architecture x86-64 (also known as x64, Intel 64, AMD64 and others);
version_from- the currently installed version, e.g.
version_to- version to upgrade; not necessary: if not specified, the current latest version will be used; you need to specify, for example, if you upgrade to a supported, but not the latest version:
The file size depends on the number of milestones needed to upgrade from
Archives with these intermediate versions will be included in the update file (but NOT all intermediate versions will be added, but only those necessary for a correct update).
Module itgrix_bx (Bitrix24) version 3.5.0 installed on 64-bit server, need to update to current latest version.Download the update, for example, using
curl -OJL "https://bx24asterisk.ru/api/v3/get_offline_update.php?crm=bx&arch=amd64&version_from=3.5.0"
If you need to get an update only to version 3.5.3, then specify the parameter
curl -OJL "https://bx24asterisk.ru/api/v3/get_offline_update.php?crm=bx&arch=amd64&version_from=3.5.0&version_to=3.5.3"
After downloading the update file, you need to deliver it to the server where the module is installed.
The update file is a self-extracting archive in the form of a shell script.
All you need to do to install the update is run the file as root or with sudo:
sudo bash <path>/itgrix_bx-amd64-update-v3.5.0_to_v3.5.3.sh
The update process is similar to online update (via script
/opt/itgrix_<crm>/update.sh), but does not require downloading intermediate versions and other information - everything you need is already contained in a self-extracting archive.