When upgrading vCenter Server to version 8.0.3i, the process fails during the precheck or service startup phase specifically at the WCP (vSphere Cluster Services) service.
The following error is observed in the update logs - /var/log/vmware/applmgmp/update_microservice.log:
ERROR - Can't read JSON file /etc/vmware/vmware-vmon/svcCfgfiles/wcpsvc-vmonconfig.json Expecting ',' delimiter: line 4 column 5 (char 53)
Additionally, attempting to manually start the service using service-control --start --wcpsvc may report an invalid JSON format or missing service.
The wcpsvc-vmonconfig.json file contains a formatting error. This invalid JSON structure prevents the vmware-vmon service from parsing the configuration, causing the WCP service to fail and halting the upgrade.
To resolve this issue, you must restore the wcpsvc-vmonconfig.json file to its correct JSON format by removing the invalid entries or reverting to a known good backup.
cd /etc/vmware/vmware-vmon/svcCfgfiles/cp wcpsvc-vmonconfig.json /root/wcpsvc-vmonconfig.json.bakwcpsvc-vmonconfig.json-backup, wcpsvc-vmonconfig.json.bak, etc..), compare the two and remove the invalid line from the active configuration./etc/vmware/vmware-vmon/svcCfgfiles/ directory, as the upgrade precheck may attempt to read them.