Skip to content

Introduction#

This document gives an example of the steps for upgrading from previous build to a new build of LUNA PLATFORM.

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.

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.59.0.

For LUNA PLATFORM upgrade, you need to perform the actions from the following sections:

  • "Before upgrade" — Actions to unpack archives, prepare directories, configure a license, etc. Some actions may be optional.
  • "Services launch" — Database migration actions and launching containers with LUNA PLATFORM services.

The "Additional Information" section provides useful information on describing service launch parameters, Docker commands, enabling Grafana for monitoring visualization, etc.

This manual 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.