On a fresh install of Alpha6, as soon as I finish installing hostmaster (succeeds) as soon as I try to create the first site, it fails and knocks the whole site into offline mode with this error:
The error was: The database type '' is unsupported. Please use either 'mysql' or 'mysqli' for MySQL, or 'pgsql' for PostgreSQL databases..
This is a reproducible issue.
My random guess is that it is trying to connect to a mysql server on localhost, however the mysql server is on a dedicated machine, and works fine for the hostmaster install. This is just a guess as to why it can't connect to sql to create the sub sites databases, when it can connect to mysql to create the hostmaster database.
Comments
Comment #1
forestmars commentedHmm, not sure what the problem was (esp. since it was reproducible) but seems like it is working now. :-\
Comment #2
Anonymous (not verified) commentedYou caught it in the moment between where the settings.php gets written to use environment variables before the environment variables are in Apache's runtime. Refreshing the page fixes it, as it is only a second (or less) before Apache's restarted to pick up the variables. Problematically, some browsers then like to cache the offline state, which means it takes a few refreshes/cache clearing/browser restarting to stop it, but normally on the third refresh or so it's fine.