Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

This Document will guide you how to upgrade Cloudfon CX

Notes:

  • All of the following Linux commands must be executed in the same working path, which is assumed to be /root/cloudfon_cx in this example.

  • Must perform all Linux commands by the root user, please su root First.

1. Stop cloudfon-cx Services

Perform the following commands as root to stop & rm the current CX Docker instance:

Code Block
cd /root/cloudfon_cx && /bin/sh cloudfon_cx_ctl.sh stop
cd /root/cloudfon_cx && /bin/sh cloudfon_cx_ctl.sh rm

2. List the CX Docker Images

Perform the following command to list the CX Docker images:

Code Block
docker images

You will get the result shown in the below screenshot.

Image RemovedImage Added

3. Delete the CX Docker Images

Use the first 4 digits of the IMAGE ID to delete the Docker image:

Code Block
docker image rm cb79

4. Delete the CX Scripts

Code Block
rm cloudfon_cx_ctl.sh

5. Download new install scripts

Code Block
curl https://raw.githubusercontent.com/cloud-cx/cloudfon-cx-install/main/v3.2.x/cloudfon_cx_ctl.sh -o cloudfon_cx_ctl.sh

6. Install Mysql and CX Services

Code Block
/bin/sh cloudfon_cx_ctl.sh run -i puteyun/cloud_cx:${tag}

Note: ${tag} is the release version of cloudfon CX, for example: 3.2.2, Please MUST replace the tag in the above command with the latest tag.