How to manually update the Cristie Virtual Appliance via the CLI/SSH

If you are unable to update the Cristie Virtual Appliance through the GUI, you can do this easily via the CLI or SSH without contacting support.

Simply SSH into your Virtual Appliance and run the following command(s)

Internet connected Virtual Appliance

yum update -y && restart_services

Offline Virtual Appliance

  1. Copy the offline update to /tmp and extract the update.tar with the following command:
    mkdir -p /tmp/extracted && tar -C /tmp/extracted -xvf /tmp/update.tar

  2. Create a new repository by creating the file /etc/yum.repos.d/offline.repo with the contents of:

[offline]
name=Cristie
baseurl=file:///tmp/extracted/
gpgcheck=0
enabled=0
  1. Run the following command:

yum --disablerepo=* --enablerepo=offline update -y && restart_services

  1. Once this has completed, make sure you remove the files created:

rm /etc/yum.repos.d/offline.repo
rm -r /tmp/extracted/
rm /tmp/update.tar


Notes

If dependency resolution fails with python errors similar to the below.

Error: nodejs conflicts with 1:npm-3.10.10-1.6.17.1.1.el7.x86_64
Obsoleted By: appliance-python-release-4.8.1-43077.el7.noarch (offline)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Run these commands to remove the incompatible packages

rpm -e npm --nodeps
rpm -e python3-libs --nodeps
rpm -e python3-pip --nodeps

Then run

yum update -y && restart_services

then

rm /etc/yum.repos.d/offline.repo
rm -r /tmp/extracted/
rm /tmp/update.tar