Downgrading an appliance stuck in Maintenance Mode

Problem:

A user ran an update on an appliance on the same build, this left the appliance stuck in maintenance mode. They have been advised not to update to the latest appliance with the latest appliance.

 

Solution:

Please find below the steps to downgrade the appliance manually and upgrade it from the UI.

 

Open terminal and connect to the appliance

 

docker images (to check which Versions are present)

Download older version of the appliance 4.6.2834

 

docker pull http://registry.cloudsphere.com/server-appliance:4.6.2834

 

docker images (to confirm download completed)

 

sudo systemctl stop monitor-iqas

 

docker ps (to get the container id)  > docker stop container _id

docker rmi -f docker-appliance-id

docker ps

docker rm container_id

sudo systemctl start monitor-iqas

sudo /opt/docker/start-appliance-stack.sh

 You can check the appliance has reverted by checking the UI