Breadcrumbs

Upgrade Guide CX4.7.2 to CX4.7.3

Before upgrading, ensure that the system is idle, i.e; all agents are logged out from the AgentDesk.
Make sure the system is idle for 30 minutes to sync the reporting data.
Always safe to take a backup of the current deployment directory.

  1. Clone the CX repository on the target server

    # Create CX-4.7.3 directory from root
    mkdir CX-4.7.3
    # Navigate to CX-4.7.3
    cd CX-4.7.3
    # Clone the CX-4.7.3 branch of cim-solution repository
    git clone -b CX-4.7.3 https://efcx:RecRpsuH34yqp56YRFUb@gitlab.expertflow.com/cim/cim-solution.git $HOME/CX-4.7.3
    # Navigate to root(previous) directory
    cd ..
    
    
  2. Update helm repo

    helm repo update expertflow
    
  3. Change the directory to the current deployment of CX

    change directory to following path in current deployment
    cd CX-4.7.2/kubernetes
    
  4. Update the Channel helm chart

    # Update Channel helm chart
    Edit/update the values file helm-values/cx-channels-custom-values.yaml with following tags
    
    360-connector: 4.7.3
    facebook-connector: 4.7.3
    hc_smpp_connector: 4.7.3
    instagram-connector: 4.7.3
    telegram-connector: 4.7.3
    twilio-connector: 4.7.3
    twitter-connector: 4.7.3
    viber-connector: 4.7.3
    
    helm upgrade --install --namespace expertflow  --set global.efCxReleaseName="ef-cx"   --debug   cx-channels --values  helm-values/cx-channels-custom-values.yaml  expertflow/channels --version 4.7.3
    
  5. file engine HTTPS certs

    1. Add this yaml file to this path cim-solution\kubernetes\pre-deployment\static-tls\ ef-file-engine-https-certs.yaml

      kubectl apply -f pre-deployment/static-tls
      
  6. Update the Core helm chart

    #Update Core Component helm chart
    Edit/update the values file helm-values/ef-cx-custom-values.yaml with
    
    
    #Add the following variable in file engine under extraEnvVar
    
          - name: CERTIFICATE
            value: /https/localhost.cert
          - name: CERTIFICATE_AUTHORITY
            value: /https/file-engine.ca-bundle
          - name: PRIVATEKEY
            value: /https/localhost.key
    
    
    #Add these volume mounts in the file engine section:         
       extraVolumes:
          - name: ef-file-engine-https-certs-vol
            secret:
                secretName: ef-file-engine-https-certs-secret
       extraVolumeMounts:
          - name: ef-file-engine-https-certs-vol
            mountPath: /https        
    
    
    agent-manager: 4.7.3
    bot-framework: 4.7.3
    cim-customer: 4.7.3
    conversation-manager: 4.7.3
    conversation-monitor: 4.7.3
    conversation-controller: 4.7.3
    customer-channel-manager: 4.7.3
    file-engine: 4.7.3
    media-routing-engine: 4.7.3
    historical-reports-manager: 4.7.3
    realtime-reports-manager: 4.7.3
    state-events-logger: 4.7.3
    license-manager: 4.7.3
    unified-admin: 4.7.3
    web-channel-manager: 4.7.3
    
    helm upgrade --install --namespace expertflow --create-namespace   ef-cx  --debug --values helm-values/ef-cx-custom-values.yaml expertflow/cx --version 4.7.3