Manual Appliance Update

Problem:

The appliance in customer environment has reverted to the previous version of the appliance. We upgraded the appliance last Thursday to 4.6.1852 from 4.6.1784. The problem with this is a fix for vCenter scanning was updated with the scan. The revert has reintroduced the issue.

This is a mechanism that is in place in case there is problem with the appliances build  after an upgrade so we don’t lose the appliance.

That being said normally we can just upgrade from the UI but in this case it is not allowing us to upgrade to the latest build which is 4.6.1863.

 

Solution:

Open Terminal

 

 

  • sudo docker images

This will give you versions that are already there. We expect you will see the two below.

 

 

This will download the latest version of the appliance.

 

 

  • sudo docker images – you will now see that build here.

 

  • The next thing we need to do is “TAG” the appliance (Tagging points the install to use this Image)

 

docker tag docker.io/iqcloud/server-appliance:4.6.1863 harbor2.iqcloud.iquate.org/fishbowl/server-appliance:4.6.1863

 

  • The next step is to check the YML file

sudo more /opt/docker/appliance-stack.yml

We need to modify the highlighted line.

 

sudo sed -i "s|server-appliance:4.6.1852|server-appliance:4.6.1863|g" /opt/docker/appliance-stack.yml

 

This will update the top line shown above.  You can check that by running sudo more /opt/docker/appliance-stack.yml | grep "server-appliance:"

 

 Now we just need to stop the appliance

sudo /opt/docker/stop-appliance-stack.sh true

and start the appliance

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