-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
Using PostgreSQL the first database connection upon completing the installation wizard ("Finish setup") is faulty both in current master checkouts and 9.0.53.
Both 020a2a6 and 9.0.53 first try to connect to database "postgres" instead of their dedicated one according to the PostgreSQL server's logs. As for the Git checkout this results in failure and a warning

In 9.0.5{3,2} the installation wizard of which still needs the vendor specific "psql" driver an attempt to connect to database "postgres" is made as well but it's followed by some other connection attempt and the resulting warning is

Unlike the findings with branch master this isn't reproducible 100% but happens most of the time, so far I failed to figure out the exact conditions.
Both times config.php is written but incomplete, in particular dbpassword and installed are missing. The correct dedicated database of Nextcloud is filed in dbname, though.
Arch Linux x86_64, hence PostgreSQL 9.5.3, PHP 7.0.8 and Apache 2.4.23 using the PHP module. Database server on an other host than the one running Apache / Nextcloud, credentials definitely valid as verified by invoking psql from the latter.