Skip to content

Manual Service update#

This section describes the process of migrating to a new version of the Service.

Follow these steps.

Switch to the super user:

sudo su

Place the distribution files in a directory on the server before the installation of a new version of the Service. For example, to the /root directory.

Move the distribution package to the previously created directory (for details see the "Preparing and unpacking the distribution"):

mv /root/point* /var/lib/point

Go to the distribution package folder:

cd /var/lib/point

Unpack files:

unzip point*.zip

Go to the Docker directory of the current version of the Service:

cd /var/lib/point/current/example-docker

Run the command:

docker-compose down

Go to the distribution package folder:

cd /var/lib/point

Create a symbolic link. Replace “X.Y.ZZ” with the product version. The link indicates that it is the current version of the distribution package that is used to run:

ln -s point-X.Y.ZZ current

Manually transfer settings from the .env configuration file of the previous Service version to the new one.

Copy the necessary component data (for example, filters.json from the /vlnotifier directory), if any.

cp -f /var/lib/point/example-docker/vlnotifier/data/filters.json /var/lib/point/current/example-docker/vlnotifier/data/filters.json

Go to the Docker directory of the new version of the Service:

cd /var/lib/point/current/example-docker

To start the Service, enter the command:

./start_point.sh

Check the status of all running Docker-containers:

docker-compose ps

Delete unused containers:

docker-compose up --no-start --remove-orphans