Offline update

Systems without Internet access can't update Itgrix module using /opt/itgrix_<crm>/update.sh script. Use offline update procedure instead:

  1. Download the update file onto a PC with Internet access.

  2. Transfer the downloaded update file to the server where you have the Itgrix module installed.

  3. Run the update.

Download update file

Via online interface

At https://itgrix.ru/offline_updates/ you can get the module updates through the online interface.

Select appropriate options and click "Download updates". The update file will be downloaded onto your computer.

Using terminal

The update file can can be downloaded by making a request to https://bx24asterisk.ru/api/v3/get_offline_update.php with the following options:

  • crm - short name of your CRM:

    • bx for itgrix_bx (Bitrix24);

    • amo for itgrix_amo (Kommo, former amoCRM);

  • arch - short name of the processor architecture:

    • i386 for 32-bit processors based on the architecture x86 (including i586, i686 and others);

    • amd64 for 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. 3.5.0;

  • version_to - target version, not mandatory: if not specified, the current latest version will be used; you may need to specify it if you upgrade to a supported, but not the latest version:

The file size depends on the number of milestones needed to upgrade from version_from to version_to.

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).

Examples

Module itgrix_bx (Bitrix24) has version 3.5.0 installed on 64-bit server, need to update to current latest version. Download the update, for example, using curl:

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

version_to=3.5.3:

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"

Installing the update

After downloading the update file, you need to transfer it to the server where you have Itgrix module installed.

The update file is a self-extracting archive in the form of a shell script.

Example: itgrix_bx-amd64-update-v3.5.0_to_v3.5.3.sh

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.

Update completed.

Last updated