/opt/vmware/vcloud-director/bin/upgrade an error is returned of the form:Examining database at URL: jdbc:postgresql://#.#.#.#:####/vcloud?socketTimeout=90&ssl=trueThe next step in the upgrade process will change the VMware Cloud Director database schema.Backup your database now using the tools provided by your database vendor.Enter [Y] after the backup is complete. yUnable to upgrade the database: Could not run cleanup for running jobs!To change the status of a Running Task use the fail-tasks command of the cell management tool on one Cell in the cluster after shutting down the Cloud Director service on all Cells.
Details on how to use the fail-tasks command are outlined in the Cloud Director documentation here, Update the Failure Status of a Task .
The Cloud Director service can be started again on the Cells after running the command.
If issues persist with the upgrade after taking these steps please open a Support Request with VMware Support.