Upgrade Guide CX4.9.3 to CX4.9.4
Before upgrading, ensure that the system is idle, i.e; all agents are logged out from the AgentDesk.
Clone the CX repository on the target server
CODE# Create CX-4.9.4 directory from root mkdir CX-4.9.4 # Navigate to CX-4.9.4 cd CX-4.9.4 # Clone the 4.9.4 branch of cim-solution repository git clone -b CX-4.9.4 https://efcx:RecRpsuH34yqp56YRFUb@gitlab.expertflow.com/cim/cim-solution.git $HOME/CX-4.9.4 # Navigate to root(previous) directory cd ..
Update helm repo
CODEhelm repo update expertflow
Change the directory to the current deployment of CX
CODEchange directory to following path in current deployment cd CX-4.9.3/kubernetes
Update Conversation Controller ConfigMaps
CODE#copy actions directory to current release 1) Copy From CX-4.9.4/kubernetes/pre-deployment/conversation-Controller/actions/agent_unsubscribed.py To /pre-deployment/conversation-Controller/actions 2) Copy From CX-4.9.4/kubernetes/pre-deployment/conversation-Controller/utils/utility.py To pre-deployment/conversation-Controller/utils 3) Delete and Create the ConfigMap kubectl -n expertflow delete configmap ef-conversation-controller-actions-cm kubectl -n expertflow delete configmap ef-conversation-controller-actions-utils-cm kubectl -n expertflow create configmap ef-conversation-controller-actions-cm --from-file=pre-deployment/conversation-Controller/actions kubectl -n expertflow create configmap ef-conversation-controller-actions-utils-cm --from-file=pre-deployment/conversation-Controller/utils 4) kubectl -n expertflow delete pod <conversation-manager-pod-name>
Update the ActiveMQ chart
CODEUpdate the amq tag in helm-values/ef-activemq-custom-values.yaml tag: 6.1.7-alpine-zulu-K8s-4.9.4 helm upgrade --install=true --namespace=ef-external --values=helm-values/ef-activemq-custom-values.yaml activemq expertflow/activemq --version 4.9.4
Update the Agent-Desk helm chart
CODE#Update Agent Desk helm chart Edit/update the values file helm-values/cx-agent-desk-custom-values.yaml with unified-agent Tag: 4.9.4 helm upgrade --install --namespace expertflow --set global.efCxReleaseName="ef-cx" cx-agent-desk --debug --values helm-values/cx-agent-desk-custom-values.yaml expertflow/agent-desk --version 4.9.4
Update the Campaigns helm chart
CODE#Update Campaigns helm chart Edit/update the values file helm-values/cx-campaigns-custom-values.yaml with scheduled-activities: 4.9.4 helm upgrade --install --namespace expertflow --set global.efCxReleaseName="ef-cx" cx-campaigns --debug --values helm-values/cx-campaigns-custom-values.yaml expertflow/campaigns --version 4.9.4
Update the Channel helm chart
CODE# Update Channel helm chart Edit/update the values file helm-values/cx-channels-custom-values.yaml with following 360-connector: 4.9.4 facebook-connector: 4.9.4 instagram-connector: 4.9.4 hc_smpp_connector: 4.9.4 telegram-connector: 4.9.4 twilio-connector: 4.9.4 twitter-connector: 4.9.4 viber-connector: 4.9.4 email-connector: 4.9.4 whatsapp-connector: 4.9.4 ms-exchange-email-connector: 4.9.4 youtube-connector: 4.9.4 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.9.4
Update the Core helm chart
CODE#Update Core Component helm chart Edit/update the values file helm-values/ef-cx-custom-values.yaml with bot-framework: 4.9.4 customer-channel-manager: 4.9.4 conversation-manager: 4.9.4 conversation-monitor: 4.9.4 historical-reports-manager: 4.9.4 license-manager: 4.9.4 realtime-reports-manager: 4.9.4 media-routing-engine: 4.9.4 state-events-logger: 4.9.4 business-calendar: 4.9.4 agent-manager Tag: 4.9.4 helm upgrade --install --namespace expertflow --create-namespace ef-cx --debug --values helm-values/ef-cx-custom-values.yaml expertflow/cx --version 4.9.4