We had some same issues the last past weeks with installed PostgreSQL versions and the used cluster.
It looks like, that upgraded systems from UCS 4.4-9 to 5.0-x are having PostgreSQL 9.6 and 11 installed, but the used cluster is 9.6 and the cluster for 11 is down.
You can check which cluster is used with the following command: