Upgrade IIoT Core Services 5.0.0 to 5.0.1 (patch)
Use this patch procedure to upgrade your IIoT Core Services 5.0.0 installation to v5.0.1. This will save your existing configuration and automatically update all microservices.
Before you begin
- Verify that the IIoT Core Services 5.0.0 image that you want to update is installed on the cluster (installation node).
- Back up the existing IIoT Core Services 5.0.0 configuration file before running the updater. In <lei_installation_directory>/lei-installer-release-5.0.0/, run the following command:
kubectl get secret -n hiota hiota-installation-configuration-values-secret -o=jsonpath="{.data.configuration\.yaml}" | base64 --decode > configuration.yaml
Perform the following steps to upgrade IIoT Core Services:
Procedure
Log in as a root user on the installation node.
Go to https://support.pentaho.com, log in, and download the patch file iiot-core-5.0.1-patch.tgz.
Verify that the iiot-core-5.0.1-patch.tgz is located in the iiot-installer-release-5.0.0 directory.
Open the patch file using the following commands:
tar -xvf iiot-core-5.0.1-patch.tgz cd iiot-installer-release-5.0.0
Run the following commands to install the requirements:
export PATH=$PATH:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin ln -sf /usr/bin/python3 /usr/bin/python pip3 install -r requirements.txt
If you are installing on GKE, run the following commands to tag the Docker images and push them to the hosted Docker Trusted Registry (DTR).
cd <installation folder> ./tag-push-docker-images.sh
Run the update script:
./lei_update.sh
In the IIoT Core Services UI, verify that assets, routes, and devices have migrated correctly.
Results