If you want to update your gateway to version 20.0.2, you can do so via the OpsRamp portal and skip the manual steps below.
If you only need to update Redis to apply the security vulnerability fix and do not wish to upgrade your gateway to 20.0.2, follow these instructions:

Steps to Upgrade Redis on Your Gateway

  1. Log in to the Gateway VM via SSH.

          ssh gateway-admin@<ip-address>
        
    Enter your password.

  2. Gain root access.

       sudo su
         
    Enter your password.

  3. Navigate to the Gateway Admin Home Directory.

       cd /home/gateway-admin
        

  4. Pull the latest Helm Chart.

       helm pull oci://us-central1-docker.pkg.dev/opsramp-registry/gateway-cluster-charts/nextgen-gw --version 20.0.2
        

  5. Extract the Helm Chart.

       tar -xvzf nextgen-gw-20.0.2.tgz
       

  6. Copy the Redis Helm Chart.

       cp -r nextgen-gw/charts/redis .
          

  7. Remove the downloaded Chart files.

       rm -rf nextgen-gw nextgen-gw-20.0.2.tgz
        

  8. Check the currently installed Gateway version.

       helm list -n <namespace> | grep nextgen-gw
       

    Example:

       root@opsram-gateway:/home/gateway-admin# helm list -n default | grep nextgen-gw
       nextgen-gw  default   2   2025-10-09 07:53:50.423872012 +0000 UTC  deployed  nextgen-gw-18.0.0  18.0.0
        
    Here, 18.0.0 is the installed gateway version.

  9. Pull the Helm Chart matching your current Gateway version.

       helm pull oci://us-central1-docker.pkg.dev/opsramp-registry/gateway-cluster-charts/nextgen-gw --version <current_chart_version>
       
    Example:
       helm pull oci://us-central1-docker.pkg.dev/opsramp-registry/gateway-cluster-charts/nextgen-gw --version 18.0.0
       

  10. Extract the current Helm Chart.

        tar -xvzf nextgen-gw-18.0.0.tgz
        

    Adjust the chart version based on your current gateway version (e.g., 19.0.0, 18.0.0).

    Example:

        tar -xvzf nextgen-gw-19.0.0.tgz
        

  11. Remove the existing Redis Chart from your Helm Chart.

        rm -rf nextgen-gw/charts/redis
        

  12. Copy the new Redis Chart into the current Gateway Chart.

        cp -r redis nextgen-gw/charts/
        

  13. Upgrade Redis using Helm.

        helm upgrade nextgen-gw nextgen-gw -n <namespace>
        
    Example:
        helm upgrade nextgen-gw nextgen-gw -n default
        

  14. Verify if the Redis image is updated to the latest version (Image tag: 8.2.2).
    If the image tag is not 8.2.2, ensure you have followed the steps above correctly and try updating again. If the issue persists, contact the support team.
    Command:

          kubectl describe pod nextgen-gw-redis-master-0 -n <namespace> | grep redis:8.2.2
        

    Example:

       
        root@opsram-gateway:/home/gateway-admin# kubectl describe pod nextgen-gw-redis-master-0 -n default | grep redis:8.2.2
        Image: us-central1-docker.pkg.dev/opsramp-registry/gateway-cluster-images/vendor-images/bitnami/redis:8.2.2