# Upgrade the Appliance

# Update the Docker-compose.yml file

  • ssh to port 2222
  • default credentials calltelemetry/calltelemetry

(but you changed the password from the defaults - right? 👍)

# Easy one-line update

Run this from the shell to update the appliance.

curl https://raw.githubusercontent.com/calltelemetry/calltelemetry/master/ova/update.sh | sudo sh

# Air Gapped Appliance Upgrade Instructions

TIP

This is only for clients who have installed Call Telemetry in secure / offline environments without internet access. The most common method to use is the one line update command.

This will cover how to update Call Telemetry where the box does not have internet access, in this example, version 0.6.8. The version must match what is in your docker-compose.yml file.

# Summary of steps:

  • Build offline Docker tar file and obtain the latest Docker Compose file
  • Upload tar file to Call Telemetry
  • Load tar file as active image

# Requirements:

# 2. Build the offline tar bundle and update Docker Compose file

In this step you will be a tar file containing the DockerHub image of Call Telemetry.

# If you are upgrading versions, get the docker-compose.yml file also.
wget https://storage.googleapis.com/ct_ovas/docker-compose-dev.yml -O docker-compose.yml

# This example is for 0.6.8
sudo docker pull calltelemetry/web:0.6.8
sudo docker save calltelemetry/web:0.6.8 -o ct-068.tar

# Windows - no sudo required
docker pull calltelemetry/web:0.6.8
docker save calltelemetry/web:0.6.8 -o ct-068.tar

You will now have a file "ct-068.tar" created on your Internet enabled host, ready to upload.

# 2. Upload the tar file to Call Telemetry

We need to upload the file to the Call Telemetry server via SFTP.

Transfer the tar file you created above to your Call Telemetry box using SFTP. I like the using FileZilla (opens new window)

Within FileZilla FTP Client, it will look like this in the connection and just right click to upload your docker tar file to /home/calltelemetry filezilla

# 3. Activate the Image on the Call Telemetry Server

It's time to active the image you just uploaded.

Back on Call Telemetry via SSH (remember - port 2222) just load it as the active image, and restart the service.

sudo docker load -i ct-068.tar
systemctl restart docker-compose-app.service

# To try the latest development version for testing

cp docker-compose.yml old-docker.compose.yaml
wget https://storage.googleapis.com/ct_ovas/docker-compose-dev.yml -O docker-compose.yml
sudo docker-compose pull
systemctl restop docker-compose-app.service

# Kubernetes Updates

# Upgrading versions

helm repo update
helm upgrade -n ct ct ct_charts/stable-ha -f ./ct_values.yaml

# Restarting the admin service / Update to latest patch

kubectl delete pod -n ct -l app=ct-admin-service
kubectl delete pod -n ct -l app=ct-web