Error:
Encountered an internal error. see /var/log/firstboot/vpostgres-firstboot.py_13742_stderr.log
Resolution
This is an unrecoverable error, please retry install. If you encounter this error again, please search for these symptoms in the VMware Knowledge Base for any known issues and possible resolutions. If none can be found, collect a support bundle and open a support request.
yyyy-mm-dd HH:mm:ss.ms UTC 5c99db1c.4253 0 VCDB postgres ERROR: syntax error at or near "table" at character 54
yyyy-mm-dd HH:mm:ss.ms UTC 5c99db1c.4253 0 VCDB postgres STATEMENT: alter table vpx_hist_stat_tmp set tablespace
alter table vpx_alarm_action set tablespace alarm;
To solve this error you need to manually remove vpx_hist_stat_tmp table from source database. Follow the steps:
# service vmware-vpxd stop
On windows vCenter, go to services and stop vCenter services. For more details, see How to stop, start, or restart vCenter Server services (1003895)
# /opt/vmware/vpostgres/current/bin/psql -U postgres -d VCDB -c "drop table vpx_hist_stat_tmp;"
On windows vCenter open a cmd console and run this command:
“\Program Files\VMware\vCenter Server\vPostgres\bin\psql.exe” -U postgres -d VCDB -c "drop table vpx_hist_stat_tmp;"
# service vmware-vpxd start