Skip to main content
Version: 1.8.0 (latest)

Update instructions

Update BAF from version 1.1.0 to 1.2.0 and higher

  1. Before updating BAF, to maintain access to the database and the main configuration, transfer existing field values to the files of the new version.

    note

    You don't need to transfer secrets for stunner, just fill them in again according to the instructions.

    ATTENTION!

    It is not recommended to replace the files, as some fields in the installed release may be lost.

  2. Uninstall the old release of the stunner, as it has been drastically updated in the new BAF version. Go to the folder with the old BAF version and run the following command:

    ./cli.sh stunner uninstall
    note

    New stunner generates new TURN ports. Web-component settings need to be updated.

  3. Move to the folder with the new BAF version and run the command below:

    ./cli.sh platform install-secrets

    This action is mandatory, otherwise the services will not receive the required set of fields and won't be able to start.

  4. Download new images by executing the command below:

    ./cli.sh generic load-images
  5. Go back to the installation section and continue as if you were doing a clean installation.

    note

    Do not overwrite the values from the previous version, only update the new values if required using the instructions.

Upgrade BAF from version 1.6.0 to 1.7.0 and higher

The main changes introduced in version 1.7.0 include splitting the LRS service into two subsystems: the Video Recorder for video recording and LRS for calculating liveness based on video. For a successful update, it's necessary to correctly transfer secrets and settings.

  1. Transfer values from the lrs.secrets.json file of the previous version to the video-recorder.secrets.json file of the new version. Replace lrs with video-recorder in the secret names. For example, lrs-postgres becomes video-recorder-postgres.

  2. Transfer values from the lrs.values.yaml file to the video-recorder.values.yaml file. The lrs block from the old values is moved to the video-recorder block, excluding the host and image fields. The remaining blocks are transferred one-to-one, excluding the image fields.

3.Transfer values from the baf.values.yaml file to the new baf.values.yaml file. From the old lrs block to the new video-recorder block, only the enabled value needs to be transferred. The values of the other blocks are transferred one-to-one, excluding the image fields.

  1. Return to the deployment section and continue following the steps as you would for a clean installation.