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.
-
Clone the CX repository on the target server
# Create CX-4.7.2 directory from root mkdir CX-4.7.2 # Navigate to CX-4.7.2 cd CX-4.7.2 # Clone the CX-4.7.2 of cim-solution repository git clone -b CX-4.7.2 https://efcx:RecRpsuH34yqp56YRFUb@gitlab.expertflow.com/cim/cim-solution.git $HOME/CX-4.7.2 # Navigate to root(previous) directory cd .. -
Update helm repo
helm repo update expertflow -
Update the ConfigMaps
1) Copy From CX-4.7.2/kubernetes/pre-deployment/app-translations/customer-widget/i18n To pre-deployment/app-translations/customer-widget/i18n 2) Delete ConfigMap kubectl -n expertflow delete configmap ef-widget-translations-cm 3) Create ConfigMap kubectl -n expertflow create configmap ef-widget-translations-cm --from-file=pre-deployment/app-translations/customer-widget/i18n/ -
Update the CX helm chart
#Update Core Component helm chart Edit/update the values file helm-values/ef-cx-custom-values.yaml with update the image tag for customer-widget tag: 4.7.2 Add the following variable in customer-widget under extraEnvVars - name: MUTE_NOTIFICATIONS value: "false" Add the following volume mount in customer-widget extraVolumes: - name: ef-widget-translation configMap: name: ef-widget-translations-cm extraVolumeMounts: - name: ef-widget-translation mountPath: /usr/share/nginx/html/widget-assets/i18n/ helm upgrade --install --namespace expertflow --create-namespace ef-cx --debug --values helm-values/ef-cx-custom-values.yaml expertflow/cx --version 4.7.2 -
Update Rasa-X
update the image tag external/rasa-x/values-small.yaml tag: 4.7.2 helm upgrade --install=true --wait=true --timeout=10m0s --debug rasa-x --namespace rasa-x --values external/rasa-x/values-small.yaml external/rasa-x