Apply Patch for Existing OmniDeq Setup
To ensure the latest updates and improvements are applied to your OmniDeq setup, follow these steps for applying a new patch.
Download Patch
Download the patch file from the provided link and save it to a designated folder on the appliance server. Use the following command:
wget '<link for the new patch>' -O new_patch.tar.gz
Extract Patch:
Once downloaded, extract the contents of the new_patch.tar.gz file. Execute the following command:
tar -xzvf new_patch.tar.gz
Apply Patch:
Now, proceed to apply the patch to your OmniDeq setup. You have the option to either patch all services or specific ones based on your requirements.
Patch All Services
To apply the patch to all services, execute the following command:
sudo chctl patch appliance --all
This command will load docker-images, stop the appliance, take a backup of the existing /opt/appliance/chctl-compose.yaml file, replace docker image tags in chctl-compose.yaml file, and then start the appliance.
Patch Specific Services
- Load Docker Images Load the new Docker images contained within the container.tar file into the Docker environment. Utilize the following command:
docker load -i containers.tar
- Patch Specific Services Alternatively, if you prefer to patch specific services, use the following command:
sudo chctl patch appliance --<service_name1> <tag1> --<service_name2> <tag2>
For Example
sudo chctl patch appliance --activity-service ch-rel-2.0.0-1 --webapp ch-rel-2.0.0-4
This command will stop the appliance, take a backup of the existing /opt/appliance/chctl-compose.yaml file, replace docker image tags in chctl-compose.yaml file, and then start the appliance.
Verification
Once done, log in to OmniDeq and verify the data and version.