BRIX On-Premises > Other > Deprecated BRIX in MicroK8s > Install BRIX Standard to MicroK8s / Update BRIX in MicroK8s

Update BRIX in MicroK8s

начало внимание

This article contains instructions for the deprecated BRIX On-Premises in MicroK8s with PostgreSQL 10 database. It is supported up to system version 2024.4. Upgrading edition and database is not available. Please update to the current BRIX On-Premises edition.

конец внимание

BRIX On-Premises Standard and BRIX On-Premises Enterprise are updated in the same way as they are installed.

Before updating, make a data dump of the installed BRIX. To do this, use the utility described in the How to administer the server article or select the [B]ackup now option by pressing the B key at the following update step:

Be sure you have made data backup before update. Choose: [B]ackup now (default), [C]ontinue, [E]xit.

The dump will be saved to the /backup folder with a timestamp.

начало внимание

To ensure data integrity during migration from one BRIX version to another, we recommend updating to each minor version (indicated in the second part of a version’s number) without skipping releases. For example, update version 2022.9.1 to 2022.10.1.

конец внимание

To view the latest release, run the following command:

helm repo update
helm search repo elma365/elma365 --versions

To start the update, open the command line on the server. Run the following command:

curl -fsSL -o elma365-microk8s.sh https://dl.elma365.com/onPremise/latest/elma365-microk8s-latest && \
chmod +x elma365-microk8s.sh && \
./elma365-microk8s.sh

Download links for other BRIX versions are provided in Links for downloading BRIX distribution packages.

The system will ask for confirmation, then the update process will start.

If you are using proxy settings, the script will ask you to verify the current settings or specify new values for the variables that determine the proxy. Read more in the Install BRIX to MicroK8s behind a proxy article.

To manage the application’s security, at the next step, you can enable the Uncomplicated Firewall (ufw) and apply the recommended rules, add your own rules, or disable the Firewall.

When the update is completed, the following message will appear: “BRIX successfully updated”.

If any errors occur, you can view information about them in the log.

Cluster update

To update a cluster, open the command line on any node and run the following command:

curl -fsSL -o elma365-microk8s.sh https://dl.elma365.com/onPremise/latest/elma365-microk8s-latest && \
chmod +x elma365-microk8s.sh && \
./elma365-microk8s.sh

Then update the remaining nodes. Use the --upgrade-node option for each server:

curl -fsSL -o elma365-microk8s.sh https://dl.elma365.com/onPremise/latest/elma365-microk8s-latest && \
chmod +x elma365-microk8s.sh && \
./elma365-microk8s.sh --upgrade-node

Servers in a cluster must be updated sequentially, one server at a time.