vCenter patch failed while changing the ownership of vpostgres component. The command “chown -R vpostgres:vpgmongrp /storage/archive/vpostgres” failed to execute successfully.
This generally occurs when vCenters are upgraded in parallel. Refer About the Upgrade Process of the vCenter Server Appliance for more information.
To resolve the issue, follow the workaround. Avoid upgrading vCenter in parallel.
To workaround the issue, please follow the below mentioned steps:
Revert to snapshot before stage directory cleanup (after vpostgres failure).
Login to vcenter using ssh and run the below command.
chown -R vpostgres:vpgmongrp /storage/archive/vpostgres
Reset resume count on vCenter using below:
sqlite3 /storage/db/patching.db
update config set _value=0 where _config='resume-count';
Login to SDDC Manager in VCF and navigate to updates/patches section of the workload domain. Upgrade should be available in VCF.
Once the upgrade is available, Retry the upgrade.