A vCenter Server upgrade fails during the preparation stage when the installer attempts to replicate the database. This occurs specifically when the PostgreSQL backup utility cannot access required configuration files.
Symptoms
VCENTER_UPGRADE_PREPARATION stage./var/log/vmware/vdtc/vlcm.log, the following error is observed: pg_basebackup: error: could not get write-ahead log end position from server: ERROR: could not open file "./telemetry.conf.backup": Permission deniedVMware vCenter Server 9.0.2 (Source)
VMware vCenter Server 9.1 (Target)
The file telemetry.conf.backup located in the PostgreSQL data directory has incorrect ownership or permissions (typically owned by root), preventing the vpostgres user from reading it during the pg_basebackup operation.
If you encounter this error during the upgrade, follow these steps:
cd /storage/db/vpostgres/ls -l telemetry.conf.backupchown vpostgres:vpostgres telemetry.conf.backupchmod 600 telemetry.conf.backupFor assistance gathering logs, refer to . If the issue persists, .
For defects and enhancements, subscribe to this article to be updated on fix status: .