Update Guide

Updating to 2.4 from 2.3.0

In previous versions, logging of user actions in Elasticsearch was used. Starting from version 3.0 this functionality is disabled by default. Use Logging custom actions if this functionality is needed.

If non-default values ​​are used in the .evn and .yml files, move them to the .evn and .yml files of the new version of TestIT. All values ​​in the .env and .yml files of new versions of TestIT are replaced with the default values ​​when updating.

If you are updating from version 1.0.7 or older (for example 1.0.6), make a backup, update to version 1.0.7.

If you are updating from version 2.4 or older, make a backup, update to version 3.0.

Preparation

Before updating, we recommend creating a backup of the installed system (files "docker-compose.yml" and "backup.sh" must be in the same directory):

# In the folder with version 2.4
chmod +x backup.sh
./backup.sh docker-compose.yml prod

Updating online

To transfer information from volumes from the old version to the new one, the project names of both versions must match. In our examples, the project is named "prod".

Create a new directory, download and unzip the file for online installation https://testit.software/assets/downloads/v3.0/testit_v3.0.0.zip At the command prompt, go to the directory 3.0 and do the following:

# In the folder with version 3.0
docker-compose -f docker-compose.yml --project-name prod up -d

Updating offline

To transfer information from volumes from the old version to the new one, the project names of both versions must match. In our examples, the project is named "prod".

Create a new directory, download and unzip the file for offline installation https://testit.software/assets/downloads/v3.0/testit_v3.0.0_full.zip

At the command prompt, go to the directory 3.0, unzip the offline installation archive, and do the following:

# In the folder with version 3.0
docker load -i images.tar.gz
docker-compose -f docker-compose.yml --project-name prod up -d --remove-orphans