When upgrading vRealize Automation the appliance upgrade may fail due with Error 256. ​This failure occurs as part of a safeguard designed to halt the upgrade before problems occur due to a detected inconsistent state in the environment.

2020-04-26 11:19:20+00:00 /etc/bootstrap/preupdate.d/00-00-00-wizard-completed starting...
Update failed. Installation wizard has not been completed successfully. Please retry all failed wizard steps before attempting an upgrade.
Script /etc/bootstrap/preupdate.d/00-00-00-wizard-completed failed, error status 1

To resolve this issue follow below steps:

Note: Ensure you have snapshots/ backups prior to running any of these steps

  1. Log into vRealize Automation console via SSH.
  2. Edit the /etc/vcac/vami.ini file.
  3. Change the start_wizard parameter to true
  1. Log into the vRealize Automation VAMI at https://FQDN:5480.
  2. When the wizard comes up, you should be able to find the status that shows the installation failures.
  3. You will want to resolve these issues where possible or confirm that they are no longer applicable to your deployed environment.

Clear all values from the installation_wizard_params table in the Postgres database

  1. Log into the vRealize Automation console via SSH.
  2. Run the following commands:
su postgres
psql vcac
delete from installation_wizard_params​​;

Once the table has been cleared, retry the upgrade.