I am trying to set up Ægir on my server, but the install script seems to mess something up with the hostmaster’s settings.php file. Here are the database settings , taken from /srv/aegir/hostmaster-6.x-1.6/sites/hostmaster.example.com:

  $databases['default']['default'] = array(
    'driver' => "",
    'database' => "",
    'username' => "",
    'password' => "",
    'host' => "",
    'port' => "",
   );
  $db_url['default'] = "://:@:/";

This does not work, obviously, so the install script errors out when it tries to connect to the site database:

testserver% drush hostmaster-install --http_service_type=nginx  --aegir_db_user=aegir_root --client_email=webmaster@example.com hostmaster.example.com --debug                                                                                                                                                                                                                                                                       [238/1077]
Bootstrap to phase 0. [0.02 sec, 2.79 MB]                            [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drush() [0.02 sec, 3.01 MB] [bootstrap]
Bootstrap to phase 0. [0.07 sec, 10.4 MB]                                                                                                                                                                [bootstrap]
Found command: hostmaster-install (commandfile=provision) [0.07 sec, 10.4 MB]                                                                                                                            [bootstrap]
Initializing drush commandfile: drush_make [0.07 sec, 10.4 MB]                                                                                                                                           [bootstrap]
Initializing drush commandfile: drush_make_d_o [0.07 sec, 10.41 MB]                                                                                                                                      [bootstrap]
Initializing drush commandfile: provision [0.07 sec, 10.41 MB]                                                                                                                                           [bootstrap]
Load alias @self [0.07 sec, 10.41 MB]                                                                                                                                                                       [notice]
Load alias @server_master [0.07 sec, 10.42 MB]                                                                                                                                                              [notice]
Loading nginx driver for the http service [0.08 sec, 10.45 MB]                                                                                                                                              [notice]
Loading nginx driver for the http service [0.08 sec, 10.47 MB]                                                                                                                                              [notice]
Initializing drush commandfile: user [0.08 sec, 10.48 MB]                                                                                                                                                [bootstrap]
Including /srv/aegir/.drush/provision/install.hostmaster.inc [0.08 sec, 10.49 MB]                                                                                                                        [bootstrap]
Aegir 6.x-1.6 automated install script
==============================================================================
Some settings have not been provided and will now be prompted.
Don't worry: you will get to review those settings after the final install
MySQL privileged user ("aegir_root") password: 

This script will operate the following changes in your system:

1. Create server-level configuration directories
2. Download drush_make
3. Create the Hostmaster frontend platform
4. Install the frontend site
5. Setup the dispatcher (a user cron job)

We are making the following assumptions:
 * you have read and are following the install instructions at:
    http://community.aegirproject.org/installing
 * the FQDN of this machine is valid and resolves
 * you are executing this script as your "aegir" user

The following settings will be used:
 Aegir frontend URL: hostmaster.example.com
 Master server FQDN: testserver.revealit.dk
 Aegir root: /srv/aegir
 Aegir user: aegir
 Web group: www
 Web server: nginx
 Aegir DB host: localhost
 Aegir DB user: aegir_root
 Aegir DB password: <prompted>
 Drush make version: 6.x-2.3
 Aegir version: 6.x-1.6
 Aegir platform path: /srv/aegir/hostmaster-6.x-1.6
 Aegir makefile: /srv/aegir/.drush/provision/aegir.make
 Admin email: webmaster@example.com

Do you really want to proceed with the install (y/n): y
Running: /usr/local/bin/php /usr/local/share/drush/drush.php --php='/usr/local/bin/php'  --remote_host='localhost' --context_type='server' --db_service_type='mysql'                                       [command]
--master_db='mysql://aegir_root:VfK8oaeJRSXFNNjbuRDrVKQJboxV3NLkBxc@localhost' provision-save '@server_localhost' --backend  2>&1 [18.89 sec, 10.61 MB]
Bootstrap to phase 0. [19.04 sec, 10.66 MB]                                                                                                                                                              [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drush() [19.04 sec, 10.66 MB]                                                                                                                                   [bootstrap]
Bootstrap to phase 0. [19.04 sec, 10.67 MB]                                                                                                                                                              [bootstrap]
Found command: provision-save (commandfile=provision) [19.04 sec, 10.67 MB]                                                                                                                              [bootstrap]
Initializing drush commandfile: drush_make [19.04 sec, 10.67 MB]                                                                                                                                         [bootstrap]
Initializing drush commandfile: drush_make_d_o [19.04 sec, 10.67 MB]                                                                                                                                     [bootstrap]
Initializing drush commandfile: provision [19.04 sec, 10.67 MB]                                                                                                                                          [bootstrap]
Load alias @self [19.04 sec, 10.67 MB]                                                                                                                                                                      [notice]
Load alias @server_master [19.04 sec, 10.67 MB]                                                                                                                                                             [notice]
Loading mysql driver for the db service [19.04 sec, 10.68 MB]                                                                                                                                               [notice]
Loading nginx driver for the http service [19.04 sec, 10.68 MB]                                                                                                                                             [notice]
Loading mysql driver for the db service [19.04 sec, 10.68 MB]                                                                                                                                               [notice]
Initializing drush commandfile: user [19.04 sec, 10.68 MB]                                                                                                                                               [bootstrap]
Load alias @server_localhost [19.04 sec, 10.68 MB]                                                                                                                                                          [notice]
Loading mysql driver for the db service [19.04 sec, 10.68 MB]                                                                                                                                               [notice]
Template loaded: /srv/aegir/.drush/provision/provision_drushrc_alias.tpl.php [19.04 sec, 10.68 MB]                                                                                                          [notice]
Changed permissions of /srv/aegir/.drush/server_localhost.alias.drushrc.php to 600 [19.04 sec, 10.69 MB]                                                                                                   [message]
Generated config Drush configuration file [19.04 sec, 10.69 MB]                                                                                                                                            [message]
Changed permissions of /srv/aegir/.drush/server_localhost.alias.drushrc.php to 400 [19.04 sec, 10.69 MB]                                                                                                   [message]
Command dispatch complete [19.04 sec, 10.69 MB]                                                                                                                                                             [notice]
Peak memory usage was 10.68 MB [19.05 sec, 10.69 MB]                                                                                                                                                        [memory]
Running: /usr/local/bin/php /usr/local/share/drush/drush.php --php='/usr/local/bin/php'  @server_localhost provision-verify --backend  2>&1 [19.05 sec, 10.65 MB]                                          [command]
Bootstrap to phase 0. [19.19 sec, 10.73 MB]                                                                                                                                                              [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drush() [19.19 sec, 10.73 MB]                                                                                                                                   [bootstrap]
Load alias @server_localhost [19.19 sec, 10.73 MB]                                                                                                                                                          [notice]
Bootstrap to phase 0. [19.19 sec, 10.73 MB]                                                                                                                                                              [bootstrap]
Found command: provision-verify (commandfile=provision) [19.19 sec, 10.73 MB]                                                                                                                            [bootstrap]
Initializing drush commandfile: drush_make [19.2 sec, 10.74 MB]                                                                                                                                          [bootstrap]
Initializing drush commandfile: drush_make_d_o [19.2 sec, 10.74 MB]                                                                                                                                      [bootstrap]
Initializing drush commandfile: provision [19.2 sec, 10.74 MB]                                                                                                                                           [bootstrap]
Load alias @server_master [19.2 sec, 10.74 MB]                                                                                                                                                              [notice]
Loading nginx driver for the http service [19.2 sec, 10.74 MB]                                                                                                                                              [notice]
Loading mysql driver for the db service [19.2 sec, 10.74 MB]                                                                                                                                                [notice]
Initializing drush commandfile: user [19.2 sec, 10.74 MB]                                                                                                                                                [bootstrap]
Including /srv/aegir/.drush/provision/dns/verify.provision.inc [19.2 sec, 10.75 MB]                                                                                                                      [bootstrap]
Including /srv/aegir/.drush/provision/platform/backupmigrate/verify.provision.inc [19.2 sec, 10.75 MB]                                                                                                   [bootstrap]
Including /srv/aegir/.drush/provision/platform/verify.provision.inc [19.2 sec, 10.75 MB]                                                                                                                 [bootstrap]
Provision configuration root path /srv/aegir/config exists. [19.2 sec, 10.75 MB]                                                                                                                           [message]
Provision configuration root ownership of /srv/aegir/config has been changed to aegir. [19.2 sec, 10.75 MB]                                                                                                [message]
Provision configuration root permissions of /srv/aegir/config have been changed to 711. [19.2 sec, 10.75 MB]                                                                                               [message]
Provision configuration root path /srv/aegir/config is writable. [19.2 sec, 10.76 MB]                                                                                                                      [message]
Provision configuration path /srv/aegir/config/server_localhost exists. [19.2 sec, 10.76 MB]                                                                                                               [message]
Provision configuration ownership of /srv/aegir/config/server_localhost has been changed to aegir. [19.2 sec, 10.76 MB]                                                                                    [message]
Provision configuration permissions of /srv/aegir/config/server_localhost have been changed to 711. [19.2 sec, 10.76 MB]                                                                                   [message]
Provision configuration path /srv/aegir/config/server_localhost is writable. [19.2 sec, 10.76 MB]                                                                                                          [message]
Provision client home path /srv/aegir/clients exists. [19.2 sec, 10.76 MB]                                                                                                                                 [message]
Provision client home ownership of /srv/aegir/clients has been changed to aegir. [19.2 sec, 10.76 MB]                                                                                                      [message]
Provision client home permissions of /srv/aegir/clients have been changed to 711. [19.2 sec, 10.77 MB]                                                                                                     [message]
Provision client home path /srv/aegir/clients is writable. [19.2 sec, 10.77 MB]                                                                                                                            [message]
Provision can create new databases. [19.2 sec, 10.77 MB]                                                                                                                                                   [message]
Provision can grant privileges on database users. [19.2 sec, 10.77 MB]                                                                                                                                     [message]
Command dispatch complete [19.2 sec, 10.77 MB]                                                                                                                                                              [notice]
Peak memory usage was 10.71 MB [19.2 sec, 10.77 MB]                                                                                                                                                         [memory]
Running: /usr/local/bin/php /usr/local/share/drush/drush.php --php='/usr/local/bin/php'  --context_type='server' --remote_host='testserver.revealit.dk' --aegir_root='/srv/aegir' --script_user='aegir'      [command]
--http_service_type='nginx' --web_group='www' --master_url='http://hostmaster.example.com' provision-save '@server_master' --backend  2>&1 [19.2 sec, 10.7 MB]
Bootstrap to phase 0. [19.36 sec, 10.74 MB]                                                                                                                                                              [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drush() [19.36 sec, 10.75 MB]                                                                                                                                   [bootstrap]
Bootstrap to phase 0. [19.36 sec, 10.75 MB]                                                                                                                                                              [bootstrap]
Found command: provision-save (commandfile=provision) [19.36 sec, 10.75 MB]                                                                                                                              [bootstrap]
Initializing drush commandfile: drush_make [19.36 sec, 10.75 MB]                                                                                                                                         [bootstrap]
Initializing drush commandfile: drush_make_d_o [19.36 sec, 10.75 MB]                                                                                                                                     [bootstrap]
Initializing drush commandfile: provision [19.36 sec, 10.75 MB]                                                                                                                                          [bootstrap]
Load alias @self [19.36 sec, 10.75 MB]                                                                                                                                                                      [notice]
Load alias @server_master [19.36 sec, 10.76 MB]                                                                                                                                                             [notice]
Loading nginx driver for the http service [19.36 sec, 10.76 MB]                                                                                                                                             [notice]
Initializing drush commandfile: user [19.36 sec, 10.76 MB]                                                                                                                                               [bootstrap]
Template loaded: /srv/aegir/.drush/provision/provision_drushrc_alias.tpl.php [19.36 sec, 10.76 MB]                                                                                                          [notice]
Changed permissions of /srv/aegir/.drush/server_master.alias.drushrc.php to 600 [19.36 sec, 10.76 MB]                                                                                                      [message]
Generated config Drush configuration file [19.36 sec, 10.76 MB]                                                                                                                                            [message]
Changed permissions of /srv/aegir/.drush/server_master.alias.drushrc.php to 400 [19.36 sec, 10.77 MB]                                                                                                      [message]
Command dispatch complete [19.36 sec, 10.77 MB]                                                                                                                                                             [notice]
Peak memory usage was 10.65 MB [19.36 sec, 10.77 MB]                                                                                                                                                        [memory]
Running: /usr/local/bin/php /usr/local/share/drush/drush.php --php='/usr/local/bin/php'  @server_master provision-verify --backend  2>&1 [19.36 sec, 10.73 MB]                                             [command]
Bootstrap to phase 0. [19.55 sec, 10.88 MB]                                                                                                                                                              [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drush() [19.55 sec, 10.88 MB]                                                                                                                                   [bootstrap]
Load alias @server_master [19.55 sec, 10.89 MB]                                                                                                                                                             [notice]
Bootstrap to phase 0. [19.55 sec, 10.89 MB]                                                                                                                                                              [bootstrap]
Found command: provision-verify (commandfile=provision) [19.55 sec, 10.89 MB]                                                                                                                            [bootstrap]
Initializing drush commandfile: drush_make [19.55 sec, 10.89 MB]                                                                                                                                         [bootstrap]
Initializing drush commandfile: drush_make_d_o [19.55 sec, 10.89 MB]                                                                                                                                     [bootstrap]
Initializing drush commandfile: provision [19.55 sec, 10.89 MB]                                                                                                                                          [bootstrap]
Loading nginx driver for the http service [19.55 sec, 10.89 MB]                                                                                                                                             [notice]
Initializing drush commandfile: user [19.55 sec, 10.9 MB]                                                                                                                                                [bootstrap]
Including /srv/aegir/.drush/provision/dns/verify.provision.inc [19.56 sec, 10.9 MB]                                                                                                                      [bootstrap]
Including /srv/aegir/.drush/provision/platform/backupmigrate/verify.provision.inc [19.56 sec, 10.9 MB]                                                                                                   [bootstrap]
Including /srv/aegir/.drush/provision/platform/verify.provision.inc [19.56 sec, 10.9 MB]                                                                                                                 [bootstrap]
Provision configuration root path /srv/aegir/config exists. [19.56 sec, 10.9 MB]                                                                                                                           [message]
Provision configuration root ownership of /srv/aegir/config has been changed to aegir. [19.56 sec, 10.9 MB]                                                                                                [message]
Provision configuration root permissions of /srv/aegir/config have been changed to 711. [19.56 sec, 10.9 MB]                                                                                               [message]
Provision configuration root path /srv/aegir/config is writable. [19.56 sec, 10.91 MB]                                                                                                                     [message]
Provision configuration path /srv/aegir/config/server_master exists. [19.56 sec, 10.91 MB]                                                                                                                 [message]
Provision configuration ownership of /srv/aegir/config/server_master has been changed to aegir. [19.56 sec, 10.91 MB]                                                                                      [message]
Provision configuration permissions of /srv/aegir/config/server_master have been changed to 711. [19.56 sec, 10.91 MB]                                                                                     [message]
Provision configuration path /srv/aegir/config/server_master is writable. [19.56 sec, 10.91 MB]                                                                                                            [message]
Provision client home path /srv/aegir/clients exists. [19.56 sec, 10.91 MB]                                                                                                                                [message]
Provision client home ownership of /srv/aegir/clients has been changed to aegir. [19.56 sec, 10.92 MB]                                                                                                     [message]
Provision client home permissions of /srv/aegir/clients have been changed to 711. [19.56 sec, 10.92 MB]                                                                                                    [message]
Provision client home path /srv/aegir/clients is writable. [19.56 sec, 10.92 MB]                                                                                                                           [message]
Backup path /srv/aegir/backups exists. [19.56 sec, 10.92 MB]                                                                                                                                               [message]
Backup ownership of /srv/aegir/backups has been changed to aegir. [19.56 sec, 10.92 MB]                                                                                                                    [message]
Backup permissions of /srv/aegir/backups have been changed to 700. [19.56 sec, 10.92 MB]                                                                                                                   [message]
Backup path /srv/aegir/backups is writable. [19.56 sec, 10.92 MB]                                                                                                                                          [message]
Provision PHP configuration path /srv/aegir/config/includes exists. [19.56 sec, 10.93 MB]                                                                                                                  [message]
Provision PHP configuration ownership of /srv/aegir/config/includes has been changed to aegir. [19.56 sec, 10.93 MB]                                                                                       [message]
Provision PHP configuration permissions of /srv/aegir/config/includes have been changed to 711. [19.56 sec, 10.93 MB]                                                                                      [message]
Provision PHP configuration path /srv/aegir/config/includes is writable. [19.56 sec, 10.93 MB]                                                                                                             [message]
Global configuration file exists [19.56 sec, 10.93 MB]                                                                                                                                                     [message]
Webserver custom pre-configuration path /srv/aegir/config/server_master/nginx/pre.d exists. [19.56 sec, 10.93 MB]                                                                                          [message]
Webserver custom pre-configuration ownership of /srv/aegir/config/server_master/nginx/pre.d has been changed to aegir. [19.56 sec, 10.93 MB]                                                               [message]
Webserver custom pre-configuration permissions of /srv/aegir/config/server_master/nginx/pre.d have been changed to 700. [19.56 sec, 10.94 MB]                                                              [message]
Webserver custom pre-configuration path /srv/aegir/config/server_master/nginx/pre.d is writable. [19.56 sec, 10.94 MB]                                                                                     [message]
Webserver custom post-configuration path /srv/aegir/config/server_master/nginx/post.d exists. [19.56 sec, 10.94 MB]                                                                                        [message]
Webserver custom post-configuration ownership of /srv/aegir/config/server_master/nginx/post.d has been changed to aegir. [19.56 sec, 10.94 MB]                                                             [message]
Webserver custom post-configuration permissions of /srv/aegir/config/server_master/nginx/post.d have been changed to 700. [19.56 sec, 10.94 MB]                                                            [message]
Webserver custom post-configuration path /srv/aegir/config/server_master/nginx/post.d is writable. [19.56 sec, 10.94 MB]                                                                                   [message]
Webserver platform configuration path /srv/aegir/config/server_master/nginx/platform.d exists. [19.56 sec, 10.95 MB]                                                                                       [message]
Webserver platform configuration ownership of /srv/aegir/config/server_master/nginx/platform.d has been changed to aegir. [19.56 sec, 10.95 MB]                                                            [message]
Webserver platform configuration permissions of /srv/aegir/config/server_master/nginx/platform.d have been changed to 700. [19.56 sec, 10.95 MB]                                                           [message]
Webserver platform configuration path /srv/aegir/config/server_master/nginx/platform.d is writable. [19.56 sec, 10.95 MB]                                                                                  [message]
Webserver virtual host configuration path /srv/aegir/config/server_master/nginx/vhost.d exists. [19.56 sec, 10.95 MB]                                                                                      [message]
Webserver virtual host configuration ownership of /srv/aegir/config/server_master/nginx/vhost.d has been changed to aegir. [19.57 sec, 10.95 MB]                                                           [message]
Webserver virtual host configuration permissions of /srv/aegir/config/server_master/nginx/vhost.d have been changed to 700. [19.57 sec, 10.95 MB]                                                          [message]
Webserver virtual host configuration path /srv/aegir/config/server_master/nginx/vhost.d is writable. [19.57 sec, 10.96 MB]                                                                                 [message]
Platforms path /srv/aegir/platforms exists. [19.57 sec, 10.96 MB]                                                                                                                                          [message]
Platforms ownership of /srv/aegir/platforms has been changed to aegir. [19.57 sec, 10.96 MB]                                                                                                               [message]
Platforms permissions of /srv/aegir/platforms have been changed to 755. [19.57 sec, 10.96 MB]                                                                                                              [message]
Platforms path /srv/aegir/platforms is writable. [19.57 sec, 10.96 MB]                                                                                                                                     [message]
Template loaded: /srv/aegir/.drush/provision/http/nginx/server.tpl.php [19.57 sec, 10.96 MB]                                                                                                                [notice]
Generated config web server configuration file [19.57 sec, 10.96 MB]                                                                                                                                       [message]
Created symlink for nginx.conf on testserver.revealit.dk [19.57 sec, 10.97 MB]                                                                                                                                [notice]
nginx on testserver.revealit.dk has been restarted [19.57 sec, 10.97 MB]                                                                                                                                      [notice]
Command dispatch complete [19.57 sec, 10.97 MB]                                                                                                                                                             [notice]
Peak memory usage was 10.78 MB [19.57 sec, 10.97 MB]                                                                                                                                                        [memory]
Running: /usr/local/bin/php /usr/local/share/drush/drush.php --php='/usr/local/bin/php'  --context_type='platform' --server='@server_master' --web_server='@server_master'                                 [command]
--root='/srv/aegir/hostmaster-6.x-1.6' --makefile='/srv/aegir/.drush/provision/aegir.make' provision-save '@platform_hostmaster' --backend  2>&1 [19.57 sec, 10.83 MB]
Bootstrap to phase 0. [19.71 sec, 10.87 MB]                                                                                                                                                              [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drush() [19.72 sec, 10.87 MB]                                                                                                                                   [bootstrap]
Bootstrap to phase 0. [19.72 sec, 10.87 MB]                                                                                                                                                              [bootstrap]
Found command: provision-save (commandfile=provision) [19.72 sec, 10.88 MB]                                                                                                                              [bootstrap]
Initializing drush commandfile: drush_make [19.72 sec, 10.88 MB]                                                                                                                                         [bootstrap]
Initializing drush commandfile: drush_make_d_o [19.72 sec, 10.88 MB]                                                                                                                                     [bootstrap]
Initializing drush commandfile: provision [19.72 sec, 10.88 MB]                                                                                                                                          [bootstrap]
Load alias @self [19.72 sec, 10.88 MB]                                                                                                                                                                      [notice]
Load alias @server_master [19.72 sec, 10.88 MB]                                                                                                                                                             [notice]
Loading nginx driver for the http service [19.72 sec, 10.88 MB]                                                                                                                                             [notice]
Initializing drush commandfile: user [19.72 sec, 10.89 MB]                                                                                                                                               [bootstrap]
Load alias @platform_hostmaster [19.72 sec, 10.89 MB]                                                                                                                                                       [notice]
Template loaded: /srv/aegir/.drush/provision/provision_drushrc_alias.tpl.php [19.72 sec, 10.89 MB]                                                                                                          [notice]
Changed permissions of /srv/aegir/.drush/platform_hostmaster.alias.drushrc.php to 600 [19.72 sec, 10.89 MB]                                                                                                [message]
Generated config Drush configuration file [19.72 sec, 10.89 MB]                                                                                                                                            [message]
Changed permissions of /srv/aegir/.drush/platform_hostmaster.alias.drushrc.php to 400 [19.72 sec, 10.89 MB]                                                                                                [message]
Command dispatch complete [19.72 sec, 10.89 MB]                                                                                                                                                             [notice]
Peak memory usage was 10.64 MB [19.72 sec, 10.9 MB]                                                                                                                                                         [memory]
Running: /usr/local/bin/php /usr/local/share/drush/drush.php --php='/usr/local/bin/php'  @platform_hostmaster provision-verify --backend  2>&1 [19.72 sec, 10.86 MB]                                       [command]
Bootstrap to phase 0. [19.95 sec, 11.37 MB]                                                                                                                                                              [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drush() [19.95 sec, 11.38 MB]                                                                                                                                   [bootstrap]
Load alias @platform_hostmaster [19.95 sec, 11.38 MB]                                                                                                                                                       [notice]
Bootstrap to phase 0. [19.95 sec, 11.38 MB]                                                                                                                                                              [bootstrap]
Found command: provision-verify (commandfile=provision) [19.95 sec, 11.38 MB]                                                                                                                            [bootstrap]
Initializing drush commandfile: drush_make [19.95 sec, 11.38 MB]                                                                                                                                         [bootstrap]
Initializing drush commandfile: drush_make_d_o [19.95 sec, 11.38 MB]                                                                                                                                     [bootstrap]
Initializing drush commandfile: provision [19.95 sec, 11.38 MB]                                                                                                                                          [bootstrap]
Load alias @server_master [19.95 sec, 11.39 MB]                                                                                                                                                             [notice]
Loading nginx driver for the http service [19.95 sec, 11.39 MB]                                                                                                                                             [notice]
Initializing drush commandfile: user [19.95 sec, 11.39 MB]                                                                                                                                               [bootstrap]
Including /srv/aegir/.drush/provision/dns/verify.provision.inc [19.95 sec, 11.39 MB]                                                                                                                     [bootstrap]
Including /srv/aegir/.drush/provision/platform/backupmigrate/verify.provision.inc [19.95 sec, 11.39 MB]                                                                                                  [bootstrap]
Including /srv/aegir/.drush/provision/platform/verify.provision.inc [19.95 sec, 11.39 MB]                                                                                                                [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_root() [19.95 sec, 11.39 MB]                                                                                                                             [bootstrap]
Loading drushrc "/srv/aegir/hostmaster-6.x-1.6/drushrc.php" into "drupal" scope. [19.95 sec, 11.4 MB]                                                                                                    [bootstrap]
Initialized Drupal 6.22 root directory at /srv/aegir/hostmaster-6.x-1.6 [19.95 sec, 11.4 MB]                                                                                                                [notice]
Drupal sites directory /srv/aegir/hostmaster-6.x-1.6/sites is writable by the provisioning script [19.95 sec, 11.4 MB]                                                                                     [message]
This platform is running drupal 6.22 [19.95 sec, 11.4 MB]                                                                                                                                                   [notice]
Found 33 modules in base [19.95 sec, 11.4 MB]                                                                                                                                                               [notice]
Found 6 themes in base [19.95 sec, 11.4 MB]                                                                                                                                                                 [notice]
Found install profile default [19.95 sec, 11.4 MB]                                                                                                                                                          [notice]
Found install profile hostmaster [19.95 sec, 11.41 MB]                                                                                                                                                      [notice]
Found 27 modules in profiles/hostmaster [19.95 sec, 11.41 MB]                                                                                                                                               [notice]
Found 1 themes in profiles/hostmaster [19.95 sec, 11.41 MB]                                                                                                                                                 [notice]
nginx has no platform config file [19.95 sec, 11.41 MB]                                                                                                                                                     [notice]
nginx on testserver.revealit.dk has been restarted [19.95 sec, 11.41 MB]                                                                                                                                      [notice]
Template loaded: /srv/aegir/.drush/provision/provision_drushrc.tpl.php [19.95 sec, 11.41 MB]                                                                                                                [notice]
Changed permissions of /srv/aegir/hostmaster-6.x-1.6/drushrc.php to 644 [19.95 sec, 11.41 MB]                                                                                                              [message]
Generated config Platform Drush configuration file [19.96 sec, 11.42 MB]                                                                                                                                   [message]
Changed permissions of /srv/aegir/hostmaster-6.x-1.6/drushrc.php to 444 [19.96 sec, 11.42 MB]                                                                                                              [message]
Command dispatch complete [19.96 sec, 11.42 MB]                                                                                                                                                             [notice]
Peak memory usage was 13.06 MB [19.96 sec, 11.42 MB]                                                                                                                                                        [memory]
Running: /usr/local/bin/php /usr/local/share/drush/drush.php --php='/usr/local/bin/php'  --context_type='site' --platform='@platform_hostmaster' --db_server='@server_localhost'                           [command]
--uri='hostmaster.example.com' --client_name='admin' --profile='hostmaster' provision-save '@hostmaster' --backend  2>&1 [19.96 sec, 10.91 MB]
Bootstrap to phase 0. [20.11 sec, 10.96 MB]                                                                                                                                                              [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drush() [20.11 sec, 10.96 MB]                                                                                                                                   [bootstrap]
Bootstrap to phase 0. [20.11 sec, 10.96 MB]                                                                                                                                                              [bootstrap]
Found command: provision-save (commandfile=provision) [20.11 sec, 10.97 MB]                                                                                                                              [bootstrap]
Initializing drush commandfile: drush_make [20.11 sec, 10.97 MB]                                                                                                                                         [bootstrap]
Initializing drush commandfile: drush_make_d_o [20.11 sec, 10.97 MB]                                                                                                                                     [bootstrap]
Initializing drush commandfile: provision [20.11 sec, 10.97 MB]                                                                                                                                          [bootstrap]
Load alias @self [20.11 sec, 10.97 MB]                                                                                                                                                                      [notice]
Load alias @server_localhost [20.11 sec, 10.97 MB]                                                                                                                                                          [notice]
Load alias @server_master [20.11 sec, 10.97 MB]                                                                                                                                                             [notice]
Loading nginx driver for the http service [20.11 sec, 10.98 MB]                                                                                                                                             [notice]
Loading mysql driver for the db service [20.11 sec, 10.98 MB]                                                                                                                                               [notice]
Load alias @platform_hostmaster [20.11 sec, 10.98 MB]                                                                                                                                                       [notice]
Initializing drush commandfile: user [20.11 sec, 10.98 MB]                                                                                                                                               [bootstrap]
Load alias @hostmaster [20.11 sec, 10.98 MB]                                                                                                                                                                [notice]
Template loaded: /srv/aegir/.drush/provision/provision_drushrc_alias.tpl.php [20.11 sec, 10.98 MB]                                                                                                          [notice]
Changed permissions of /srv/aegir/.drush/hostmaster.alias.drushrc.php to 600 [20.11 sec, 10.98 MB]                                                                                                         [message]
Generated config Drush configuration file [20.11 sec, 10.99 MB]                                                                                                                                            [message]
Changed permissions of /srv/aegir/.drush/hostmaster.alias.drushrc.php to 400 [20.11 sec, 10.99 MB]                                                                                                         [message]
Command dispatch complete [20.11 sec, 10.99 MB]                                                                                                                                                             [notice]
Peak memory usage was 10.69 MB [20.11 sec, 10.99 MB]                                                                                                                                                        [memory]
Running: /usr/local/bin/php /usr/local/share/drush/drush.php --php='/usr/local/bin/php'  --client_email='webmaster@example.com' @hostmaster provision-install --backend  2>&1 [20.11 sec, 10.94 MB]          [command]
Bootstrap to phase 0. [20.28 sec, 11.46 MB]                                                                                                                                                              [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drush() [20.28 sec, 11.46 MB]                                                                                                                                   [bootstrap]
Load alias @hostmaster [20.28 sec, 11.46 MB]                                                                                                                                                                [notice]
Bootstrap to phase 1. [20.28 sec, 11.46 MB]                                                                                                                                                              [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_root() [20.28 sec, 11.46 MB]                                                                                                                             [bootstrap]
Loading drushrc "/srv/aegir/hostmaster-6.x-1.6/drushrc.php" into "drupal" scope. [20.28 sec, 11.46 MB]                                                                                                   [bootstrap]
Initialized Drupal 6.22 root directory at /srv/aegir/hostmaster-6.x-1.6 [20.28 sec, 11.46 MB]                                                                                                               [notice]
Found command: provision-install (commandfile=provision) [20.28 sec, 11.47 MB]                                                                                                                           [bootstrap]
Initializing drush commandfile: drush_make [20.28 sec, 11.47 MB]                                                                                                                                         [bootstrap]
Initializing drush commandfile: drush_make_d_o [20.28 sec, 11.47 MB]                                                                                                                                     [bootstrap]
Initializing drush commandfile: provision [20.28 sec, 11.47 MB]                                                                                                                                          [bootstrap]
Load alias @server_localhost [20.28 sec, 11.47 MB]                                                                                                                                                          [notice]
Load alias @server_master [20.28 sec, 11.47 MB]                                                                                                                                                             [notice]
Loading nginx driver for the http service [20.28 sec, 11.47 MB]                                                                                                                                             [notice]
Loading mysql driver for the db service [20.28 sec, 11.48 MB]                                                                                                                                               [notice]
Load alias @platform_hostmaster [20.28 sec, 11.48 MB]                                                                                                                                                       [notice]
Initializing drush commandfile: user [20.28 sec, 11.48 MB]                                                                                                                                               [bootstrap]
Including /srv/aegir/.drush/provision/db/install.provision.inc [20.28 sec, 11.48 MB]                                                                                                                     [bootstrap]
Including /srv/aegir/.drush/provision/dns/install.provision.inc [20.28 sec, 11.48 MB]                                                                                                                    [bootstrap]
Including /srv/aegir/.drush/provision/example/install.provision.inc [20.28 sec, 11.48 MB]                                                                                                                [bootstrap]
Including /srv/aegir/.drush/provision/http/install.provision.inc [20.28 sec, 11.48 MB]                                                                                                                   [bootstrap]
Including /srv/aegir/.drush/provision/platform/install.provision.inc [20.28 sec, 11.49 MB]                                                                                                               [bootstrap]
PROVISION_SITE_INSTALLED [20.28 sec, 11.49 MB]                                                                                                                                                           [error]
Command dispatch complete [20.28 sec, 11.49 MB]                                                                                                                                                             [notice]
Peak memory usage was 11.92 MB [20.28 sec, 11.49 MB]                                                                                                                                                        [memory]
Running: /usr/local/bin/php /usr/local/share/drush/drush.php --php='/usr/local/bin/php'  @hostmaster provision-verify --backend  2>&1 [20.28 sec, 11.39 MB]                                                [command]
Bootstrap to phase 0. [20.46 sec, 11.93 MB]                                                                                                                                                              [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drush() [20.46 sec, 11.94 MB]                                                                                                                                   [bootstrap]
Load alias @hostmaster [20.47 sec, 11.94 MB]                                                                                                                                                                [notice]
Bootstrap to phase 0. [20.47 sec, 11.94 MB]                                                                                                                                                              [bootstrap]
Found command: provision-verify (commandfile=provision) [20.47 sec, 11.94 MB]                                                                                                                            [bootstrap]
Initializing drush commandfile: drush_make [20.47 sec, 11.94 MB]                                                                                                                                         [bootstrap]
Initializing drush commandfile: drush_make_d_o [20.47 sec, 11.94 MB]                                                                                                                                     [bootstrap]
Initializing drush commandfile: provision [20.47 sec, 11.94 MB]                                                                                                                                          [bootstrap]
Load alias @server_localhost [20.47 sec, 11.95 MB]                                                                                                                                                          [notice]
Load alias @server_master [20.47 sec, 11.95 MB]                                                                                                                                                             [notice]
Loading nginx driver for the http service [20.47 sec, 11.95 MB]                                                                                                                                             [notice]
Loading mysql driver for the db service [20.47 sec, 11.95 MB]                                                                                                                                               [notice]
Load alias @platform_hostmaster [20.47 sec, 11.95 MB]                                                                                                                                                       [notice]
Initializing drush commandfile: user [20.47 sec, 11.95 MB]                                                                                                                                               [bootstrap]
Including /srv/aegir/.drush/provision/dns/verify.provision.inc [20.47 sec, 11.96 MB]                                                                                                                     [bootstrap]
Including /srv/aegir/.drush/provision/platform/backupmigrate/verify.provision.inc [20.47 sec, 11.96 MB]                                                                                                  [bootstrap]
Including /srv/aegir/.drush/provision/platform/verify.provision.inc [20.47 sec, 11.96 MB]                                                                                                                [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_root() [20.47 sec, 11.96 MB]                                                                                                                             [bootstrap]
Loading drushrc "/srv/aegir/hostmaster-6.x-1.6/drushrc.php" into "drupal" scope. [20.47 sec, 11.96 MB]                                                                                                   [bootstrap]
Initialized Drupal 6.22 root directory at /srv/aegir/hostmaster-6.x-1.6 [20.47 sec, 11.96 MB]                                                                                                               [notice]
Drush bootstrap phase : _drush_bootstrap_drupal_site() [20.47 sec, 11.96 MB]                                                                                                                             [bootstrap]
Initialized Drupal site hostmaster.example.com at sites/hostmaster.example.com [20.47 sec, 11.97 MB]                                                                                                            [notice]
Undefined index: db_type provision_drupal.drush.inc:144 [20.47 sec, 11.97 MB]                                                                                                                               [notice]
Undefined index: db_user provision_drupal.drush.inc:144 [20.47 sec, 11.97 MB]                                                                                                                               [notice]
Undefined index: db_passwd provision_drupal.drush.inc:144 [20.47 sec, 11.97 MB]                                                                                                                             [notice]
Undefined index: db_host provision_drupal.drush.inc:144 [20.47 sec, 11.97 MB]                                                                                                                               [notice]
Undefined index: db_name provision_drupal.drush.inc:144 [20.47 sec, 11.97 MB]                                                                                                                               [notice]
Undefined index: db_port provision_drupal.drush.inc:144 [20.47 sec, 11.97 MB]                                                                                                                               [notice]
Template loaded: /srv/aegir/.drush/provision/platform/provision_drupal_settings.tpl.php [20.47 sec, 11.98 MB]                                                                                               [notice]
Changed permissions of /srv/aegir/hostmaster-6.x-1.6/sites/hostmaster.example.com/settings.php to 640 [20.47 sec, 11.98 MB]                                                                                  [message]
Generated config Drupal settings.php file [20.47 sec, 11.98 MB]                                                                                                                                            [message]
Changed permissions of /srv/aegir/hostmaster-6.x-1.6/sites/hostmaster.example.com/settings.php to 440 [20.47 sec, 11.98 MB]                                                                                  [message]
Change group ownership of /srv/aegir/hostmaster-6.x-1.6/sites/hostmaster.example.com/settings.php to www [20.47 sec, 11.98 MB]                                                                               [message]
Drush bootstrap phase : _drush_bootstrap_drupal_configuration() [20.47 sec, 11.98 MB]                                                                                                                    [bootstrap]
!type database type is unsupported. [20.47 sec, 11.99 MB]                                                                                                                                                [error]
Drush was not able to start (bootstrap) the Drupal database.                                                                                                                                             [error]
Hint: This error often occurs when Drush is trying to bootstrap a site that has not been installed or does not have a configured database.

Drush was attempting to connect to : 
  Drupal version    : 6.22
  Site URI          : hostmaster.example.com
  Database driver   : 
  Database hostname : 
  Database username : 
  Database name     : ://:@:
  Default theme     : garland
  Administration theme: garland
  PHP configuration : /usr/local/etc/php.ini
  Drush version     : 4.5
  Drush configuration: /srv/aegir/hostmaster-6.x-1.6/drushrc.php
  Drush alias files : /srv/aegir/.drush/hostmaster.alias.drushrc.php /srv/aegir/.drush/server_localhost.alias.drushrc.php /srv/aegir/.drush/server_master.alias.drushrc.php
/srv/aegir/.drush/platform_hostmaster.alias.drushrc.php
  Drupal root       : /srv/aegir/hostmaster-6.x-1.6
  Site path         : sites/hostmaster.example.com
  Modules path      : sites/all/modules
  Themes path       : sites/all/themes
  %paths            : Array

You can select another site with a working database setup by specifying the URI to use with the --uri parameter on the command line or $options['uri'] in your drushrc.php file.
 [20.47 sec, 11.99 MB]
Command dispatch complete [20.48 sec, 11.99 MB]                                                                                                                                                             [notice]
Peak memory usage was 12.35 MB [20.48 sec, 11.99 MB]                                                                                                                                                        [memory]
Command dispatch complete [20.48 sec, 11 MB]                                                                                                                                                                [notice]
Peak memory usage was 12.04 MB [20.48 sec, 11 MB]                                                                                                                                                           [memory]
%

Anyone who can figure out what's going on here?

My system specs:

FreeBSD 8.1-RELEASE-p5
PHP 5.3.8
Drush 4.5
MariaDB 5.2.9
nginx 1.0.10

Comments

mikl’s picture

Somehow, the body text of this node is not rendered, so here's a recap:

I am trying to set up Ægir on my server, but the install script seems to mess something up with the hostmaster’s settings.php file. Here are the database settings , taken from /srv/aegir/hostmaster-6.x-1.6/sites/hostmaster.example.com:

  $databases['default']['default'] = array(
    'driver' => "",
    'database' => "",
    'username' => "",
    'password' => "",
    'host' => "",
    'port' => "",
   );
  $db_url['default'] = "://:@:/";

This does not work, obviously, so the install script errors out when it tries to connect to the site database: http://dpaste.de/VY0tD/

mikl’s picture

My system specs:

FreeBSD 8.1-RELEASE-p5
PHP 5.3.8
Drush 4.5
MariaDB 5.2.9
nginx 1.0.10.

mikl’s picture

Version: 6.x-1.6 » 6.x-1.x-dev
Status: Active » Fixed

I tried debugging this by checking out the 6.x-1.x branch, and it seems that made it work.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

anarcat’s picture

Category: bug » support
anarcat’s picture

Issue summary: View changes

Drupal ate the rendered version…