Reading Time: 2 minutes

I recently ran into a small issue applying a patch to one of my lab’s vCenter Servers. Specifically, attempts to patch the vCenter Server ran into the error, Exception occurred in install precheck phase.

Despite rebooting the vCenter Server Appliance, I was unable to regain access to the vCenter Server Appliance UI and was essentially trapped in the above loop.

The fix for me was fairly quick via the below steps.

1. Firstly, SSH to the vCenter Server Appliance.

2. Enter BASH via the below command:

shell

3. Clear the update state by removing the below file.

rm /etc/applmgmt/appliance/software_update_state.conf

4. At this point I was able to regain access to the UI, however, retrying the update again resulted in the same error (requiring me to run through steps 1-3 once more). After manually downloading the vCenter Server Appliance patch, attaching the ISO to the vCenter Server Appliance VM, I was able to install the update via the Check CD-ROM option.

5. Finally, the update was successful.

3 Comments

  1. In my case I had the above issue but additionally SSH was disabled on my vCenter for security reasons. Since this was stuck in a loop I could not simply cancel to get back to the GUI and my vSphere 7.0.1 does not have the F2 option at the vSphere vCenter console like earlier versions. If you run into this you can manually change the URL from https://yourserverhere:5480/#/ui/update/availableUpdates to https://yourserverhere:5480/#/ui/access to enable ssh and follow the above instructions.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.