Ever since I updated postgres to 9.6 I cannot go a fresh install. This is what is the the nextcloud.log
… “Error occurred while checking PostgreSQL version, assuming >= 9” …
… Failed to connect to the database: An exception occured in driver: SQLSTATE  FATAL:
Is Postgres 9.6 certified?