To update Axxon One expanded in the Docker container, you must install new .deb packages over the existing ones in the running container. This allows updating the software without removing the user data. To update packages, do the following:
- Download the required archive with packages of the new Axxon One version from the official AxxonSoft website.
- Copy the axxon-one_%version.number%_all.deb and the axxon-one-core_%version.number%_amd64.deb packages to the /var/lib/docker/volumes/<VOLUME_ID>/_data/ directory.
Attention!
- If you create a container by using a script (see Working with the Axxon One container), place new packages in the directory:
~/axxonnext.docker/data
- If you build a container from the Docker image (see Installing and launching Axxon One using Docker), place packages in the directory:
/var/lib/docker/volumes/<VOLUME_ID>/_data/
- If you create a container by using a script (see Working with the Axxon One container), place new packages in the directory:
- Make sure that a container is running:
docker ps -a
- If necessary, run a container using the command:
docker start <container_id>
- Get access to the container terminal:After you log into the container terminal, the current default path is the directory where the .deb packages are located.
docker exec -it <container_id> sh
- Sequentially execute commands to install new packages:
apt update apt install ./axxon-one*.deb
After you complete the installation, make sure that all processes are running using the command:
docker top <container_name>
If all child processes are active and the server is available over the network, the update is successful.
You can update the following components in the same way:
- DriversPack,
- DetectorPack,
- DetectorPack add-ons.