Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

Оглавление

Online update

Before updating, open the page v1.1_1.5 Stable versions and determine whether a new Ansible playbooks archive, listed in the Online installation column, has been released as part of the update.

No new archive for online installation playbooks has been released

Updating within the same version to newer packages does not require running a playbook. It is sufficient to perform the following steps:

  1. Log in to the server and navigate to the directory where Eltex-NAICE is installed (default: /etc/docker-naice):

    Блок кода
    languagebash
    cd /etc/docker-naice


  2. Run the commands to stop the containers, download new images, and start the containers using the new version:

    Блок кода
    languagebash
    docker compose pull && docker compose down && docker compose up -d

If newer builds are available in the remote repository, they will be updated. When using a multi-host high-availability deployment, these commands must be executed on each host where the system is deployed.

An alternative option is to use a dedicated playbook that executes the commands above:

Блок кода
languagebash
ansible-playbook update-naice-images.yml

A new archive for online installation playbooks has been released

Download the installation playbook archive again and repeat the installation procedure according to the installation instructions:


Предупреждение

If any variables in group_vars/all.yml have been modified, the values from the old all.yml file must be transferred to the new one before installation.

After completing the repeated installation, you must update the images manually as described above, or run the following playbook on each host:

Блок кода
languagebash
ansible-playbook update-naice-images.yml
Примечание

Updating container images after reinstalling with the playbook is a necessary step, since the images are not downloaded automatically when updating within the same version.

Updating an installation in an isolated network

Updating within the same version in offline installation mode requires downloading the installation archive again and performing the update by reinstalling according to the selected deployment mode and operating system type.


Предупреждение

If any variables in group_vars/all.yml have been modified, the values from the old all.yml file must be transferred to the new one before installation.

After completing the repeated installation, you must update the images manually as described above, or run the following playbook on each host:

Блок кода
languagebash
ansible-playbook update-naice-images.yml