Introduction#
This document gives an example of the steps for upgrading from previous build to a new build of LUNA PLATFORM.
This document also contains the commands required to upgrade from version 5.2.0 and higher to the current build. Note that starting from versions 5.2.0, there may have been critical changes, such as updates to thresholds or neural network versions, deprecation of FaceDetV1 and FaceDetV2 detectors, and others (see the full list in the "Key changes from previous versions" section). A change such as updating the thresholds may give a different result when performing estimation than in the old build. This manual is for upgrading from a previous build and these commands are for advanced users only. These commands are marked accordingly. Be careful and do not perform unnecessary actions if you are updating from from LUNA PLATFORM 5.38.1.
For a successful upgrade, you need to perform the actions from the sections "Before upgrade" and "Services launch". The section "Additional information" provides useful information on the description of service launch parameters, Docker commands, and information on launching the Python Matcher Proxy service for using matching plugins.
This guide is designed with an assumption that:
- you already have a previous minor version of LUNA PLATFORM installed and the required environment is up and running at your server(s).
- LP 5 is installed according to LP 5 installation manual, and the default paths are used. Otherwise, you should consider your manual changes during the update.
All the provided commands should be executed using the Bash shell (when you launch commands directly on the server) or in a program for working with network protocols (when you remotely connect to the server), for example, Putty.
This document includes an example of LUNA PLATFORM deployment. It implements LUNA PLATFORM minimum power operating for demonstration purposes and cannot be used for the production system.