/opt/vmware/vcloud-director/bin/upgrade
in the VCD cell like the following:Unable to upgrade the database: org.postgresql.util.PSQLException: ERROR: function gen_random_uuid() does not exist
Hint: No function matches the given name and argument types. You might need to add explicit type casts.
Position: 257
VMware Cloud Director 10.5.x
This issue occurs because the version of PostgreSQL running on the external server is bellow version 13. Upgrading and administration of the external PostgreSQL database instance is outside the scope of Broadcom Support.
Update the external PostgreSQL server to at least version 13 and retry the upgrade.
For further information on VCD 10.6 you can visit VMware Cloud Director 10.6 Release Notes