Upgrade Guide CX4.9.1 to CX4.9.2
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.
Clone the CX repository on the target server
CODE# Create CX-4.9.2 directory from root mkdir CX-4.9.2 # Navigate to CX-4.9.2 cd CX-4.9.2 # Clone the CX-4.9.2 branch of cim-solution repository git clone -b CX-4.9.2 https://efcx:RecRpsuH34yqp56YRFUb@gitlab.expertflow.com/cim/cim-solution.git $HOME/CX-4.9.2 # 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.1/kubernetes
Deploy APISIX Routes
Use the following guide to deploy APISIXUpdate 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.2 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.2
Update the Campaigns helm chart
CODE# Update Campaigns helm chart Edit/update the values file helm-values/cx-campaigns-custom-values.yaml with add the following annotation in campaigns-backend under annotation nginx.ingress.kubernetes.io/proxy-body-size: "6m" Add the following variable in campaign-studio under extraEnvVar - name: UCCE_FQDN value: 192.168.1.89 - name: UCCE_USERNAME value: administrator@ucce.ipcc - name: UCCE_PASSWORD value: Expertflow464 - name: UCCX_FQDN value: 192.168.1.33 - name: UCCX_USERNAME value: Administrator - name: UCCX_PASSWORD value: Expertflow464 - name: ALLOW_CISCO_SELF_SIGNED_CERTS value: "true" - name: CISCO_PROXY value: 'https://{{ .Values.global.ingressRouter }}/campaign-studio' Campaigns Backend Tag: 4.9.2 campaign-studio Tag: 4.9.2 campaign-scheduler Tag: 4.9.2 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.2
Update the Channel helm chart
CODE# Update Channel helm chart Edit/update the values file helm-values/cx-channels-custom-values.yaml with following tags 360 tag: 4.9.2 Facebook tag: 4.9.2 Instagram tag: 4.9.2 Twilio tag: 4.9.2 Twitter tag: 4.9.2 Viber tag: 4.9.2 Telegram tag:4.9.2 Smpp tag: 4.9.2 Email tag: 4.9.2 Exchange Email tag: 4.9.2 YouTube tag: 4.9.2 Whatsapp tag: 4.9.2 LinkedIn tag: 4.9.2 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.2
PostgreSQL Script
License manager PSQL subscription_order Table creation scriptUpdate the Core helm chart
CODE#Update Core Component helm chart Edit/update the values file helm-values/ef-cx-custom-values.yaml with Add the following variable in unified-admin under extraEnvVar - name: LICENSE_EXPIRY_WARNING_DAYS value: "130" Add the following variable in license-manager under extraEnvVar - name: EF_SHOP_HOST_FQDN value: stage-web.expertflow.com - name: CONSUMER_KEY value: 'ck_5722272213436c38d46580a412dca3517d7c7321' - name: CONSUMER_SECRET value: 'cs_6ee59aab70191e2a62863ae2c3560beaa561f6aa' Add the following variables in web-channel-manager under extraEnvVar - name: KEYCLOAK_USERNAME_CUSTOMER value: "customer" - name: KEYCLOAK_PASSWORD_CUSTOMER value: "customer" unified-admin: 4.9.2 agent-manager: 4.9.2 bot-framework: 4.9.2 conversation-manager: 4.9.2 conversation-monitor: 4.9.2 customer-channel-manager: 4.9.2 media-routing-engine: 4.9.2 historical-reports-manager: 4.9.2 realtime-reports-manager: 4.9.2 state-events-logger: 4.9.2 license-manager: 4.9.2 web-channel-manager tag: 4.9.2 customer-widget tag: 4.9.2 helm upgrade --install --namespace expertflow --create-namespace ef-cx --debug --values helm-values/ef-cx-custom-values.yaml expertflow/cx --version 4.9.2
Update the Elevo helm chart
CODEhelm upgrade --install --namespace expertflow --set global.efCxReleaseName="ef-cx" cx-eleveo --debug --values helm-values/ef-cx-eleveo-custom-values.yaml expertflow/eleveo --version 4.9.2
Update the CX Surveys helm chart
CODEhelm upgrade --install --namespace expertflow --set global.efCxReleaseName="ef-cx" cx-surveys --debug --values helm-values/cx-surveys-custom-values.yaml expertflow/surveys --version 4.9.2