Attempting to install on debian jessie, Apache2, PHP 7.0. All package prerequisites are all met. There are no unsecure accounts on the DB (Mariadb 10.1). Attempting 7.x-3.10 inside a docker. The error happens during the install script.

The provision-install step in hostmaster-install seems to work fine, but when it tries provision-verify, it fails to find the @hostmaster alias (see log below). All of the previous steps find the alias just fine.

As far as I can tell (see screenshots) the alias is being deleted at some point during the install process. Could _provision_drupal_maintain_aliases (called at the end of drush_provision_drupal_provision_install) be deleting the alias file?

Backend invoke: /usr/local/bin/drush  --backend=2 --verbose --debug    [command]
--yes --root= --uri=  provision-save hm   --delete 2>&1 [31.12 sec,
5.33 MB]
/usr/local/bin/drush  --backend=2 --verbose --debug --yes --root=       [notice]
--uri=  provision-save hm   --delete 2>&1 [31.12 sec, 5.33 MB]
Phar detected. Proceeding to drush_main().
Drush preflight prepare loaded autoloader at  [0.01 sec, 1.43 MB]    [preflight]
Starting Drush preflight. [0.01 sec, 1.43 MB]                        [preflight]
Cache HIT cid: 8.1.10-commandfiles-0-60927ea2b9f59bf8a746acee310726ea    [debug]
[0.02 sec, 1.52 MB]
Scanning into /etc/drush for /.*aliases\.drush(8|)rc\.php$/ [0.11        [debug]
sec, 2.02 MB]
Scanning into /etc/drush for /self\.alias\.drush(8|)rc\.php$/ [0.11      [debug]
sec, 2.02 MB]
Scanning into phar:///usr/local/bin/drush/includes/.. for                [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.11 sec, 2.02 MB]
Scanning into phar:///usr/local/bin/drush/includes/.. for                [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.12 sec, 2.02 MB]
Scanning into /var/aegir/.drush for /.*aliases\.drush(8|)rc\.php$/       [debug]
[0.13 sec, 2.02 MB]
Scanning into /var/aegir/.drush for /self\.alias\.drush(8|)rc\.php$/     [debug]
[0.13 sec, 2.02 MB]
Bootstrap to phase 0. [31.44 sec, 3.73 MB]                           [bootstrap]
Bootstrap to phase 0. [31.44 sec, 3.73 MB]                           [bootstrap]
Found command: provision-save (commandfile=provision) [31.44 sec,    [bootstrap]
3.73 MB]
Loaded alias @server_master from file                                   [notice]
/var/aegir/.drush/server_master.alias.drushrc.php [31.54 sec, 3.76
MB]
Loading apache driver for the http service [31.54 sec, 3.77 MB]         [notice]
Calling hook drush_provision_save [31.54 sec, 3.91 MB]                   [debug]
Loaded alias @hm from file /var/aegir/.drush/hm.alias.drushrc.php       [notice]
[31.57 sec, 3.93 MB]
Loaded alias @server_webdb.container from file                          [notice]
/var/aegir/.drush/server_webdb.container.alias.drushrc.php [31.63
sec, 3.94 MB]
Loading mysql driver for the db service [31.63 sec, 3.95 MB]            [notice]
Loaded alias @platform_hostmaster from file                             [notice]
/var/aegir/.drush/platform_hostmaster.alias.drushrc.php [31.73 sec,
3.96 MB]
Returned from hook drush_provision_save [31.73 sec, 3.97 MB]             [debug]
Command dispatch complete [31.73 sec, 3.9 MB]                           [notice]
Changes made in drush_provision_drupal_pre_provision_install have        [debug]
been rolled back. [31.78 sec, 5.33 MB]
Dropping database web01engineering [31.78 sec, 5.34 MB]                 [notice]
Executing: mysql -u intntnllyInvalid -h 'webdb.container' -P '3306' -e "SELECT VERSION\(\)"
  ERROR 1045 (28000): Access denied for user 'intntnllyInvalid'@'172.19.0.4' (using password: NO)
Executing: mysql -u intntnllyInvalid -h 'webdb.container' -P '3306' -e "SELECT VERSION\(\)"
  ERROR 1045 (28000): Access denied for user 'intntnllyInvalid'@'172.19.0.4' (using password: NO)
Revoking privileges of <em                                              [notice]
class="placeholder">web01engineering</em>@<em
class="placeholder">172.19.0.4</em> from <em
class="placeholder">web01engineering</em> [32.33 sec, 5.34 MB]
Changes made in drush_db_pre_provision_install have been rolled back.    [debug]
[32.34 sec, 5.34 MB]
Command dispatch complete [32.34 sec, 5.27 MB]                          [notice]
Backend invoke: /usr/local/bin/drush  --backend=2 --verbose --debug    [command]
--yes @hostmaster provision-verify 2>&1 [32.35 sec, 5.25 MB]
/usr/local/bin/drush  --backend=2 --verbose --debug --yes @hostmaster   [notice]
provision-verify 2>&1 [32.35 sec, 5.25 MB]
Phar detected. Proceeding to drush_main().
Drush preflight prepare loaded autoloader at  [0.01 sec, 1.42 MB]    [preflight]
Starting Drush preflight. [0.01 sec, 1.42 MB]                        [preflight]
Cache HIT cid: 8.1.10-commandfiles-0-60927ea2b9f59bf8a746acee310726ea    [debug]
[0.02 sec, 1.51 MB]
Scanning into /etc/drush for /.*aliases\.drush(8|)rc\.php$/ [0.06        [debug]
sec, 2.02 MB]
Scanning into /etc/drush for /hostmaster\.alias\.drush(8|)rc\.php$/      [debug]
[0.07 sec, 2.02 MB]
Scanning into phar:///usr/local/bin/drush/includes/.. for                [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.07 sec, 2.02 MB]
Scanning into phar:///usr/local/bin/drush/includes/.. for                [debug]
/hostmaster\.alias\.drush(8|)rc\.php$/ [0.09 sec, 2.02 MB]
Scanning into /var/aegir/.drush for /.*aliases\.drush(8|)rc\.php$/       [debug]
[0.09 sec, 2.02 MB]
Scanning into /var/aegir/.drush for                                      [debug]
/hostmaster\.alias\.drush(8|)rc\.php$/ [0.1 sec, 2.02 MB]
Scanning into /etc/drush for /.*aliases\.drush(8|)rc\.php$/ [0.1 sec,    [debug]
2.02 MB]
Scanning into /etc/drush for /self\.alias\.drush(8|)rc\.php$/ [0.1       [debug]
sec, 2.02 MB]
Scanning into phar:///usr/local/bin/drush/includes/.. for                [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.1 sec, 2.02 MB]
Scanning into phar:///usr/local/bin/drush/includes/.. for                [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.11 sec, 2.02 MB]
Scanning into /var/aegir/.drush for /.*aliases\.drush(8|)rc\.php$/       [debug]
[0.14 sec, 2.02 MB]
Scanning into /var/aegir/.drush for /self\.alias\.drush(8|)rc\.php$/     [debug]
[0.15 sec, 2.02 MB]
Scanning into /etc/drush for /.*aliases\.drush(8|)rc\.php$/ [0.15        [debug]
sec, 2.02 MB]
Scanning into /etc/drush for /hostmaster\.alias\.drush(8|)rc\.php$/      [debug]
[0.15 sec, 2.03 MB]
Scanning into phar:///usr/local/bin/drush/includes/.. for                [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.15 sec, 2.03 MB]
Scanning into phar:///usr/local/bin/drush/includes/.. for                [debug]
/hostmaster\.alias\.drush(8|)rc\.php$/ [0.19 sec, 2.03 MB]
Scanning into /var/aegir/.drush for /.*aliases\.drush(8|)rc\.php$/       [debug]
[0.23 sec, 2.03 MB]
Scanning into /var/aegir/.drush for                                      [debug]
/hostmaster\.alias\.drush(8|)rc\.php$/ [0.24 sec, 2.03 MB]
Could not find the alias @hostmaster [0.25 sec, 2.03 MB]                 [error]
The command could not be executed successfully (returned: Phar           [error]
detected. Proceeding to drush_main().
Drush preflight prepare loaded autoloader at  [0.01 sec, 1.42 MB]   
[preflight]
Starting Drush preflight. [0.01 sec, 1.42 MB]                       
[preflight]
Cache HIT cid: 8.1.10-commandfiles-0-60927ea2b9f59bf8a746acee310726ea
   [debug]
[0.02 sec, 1.51 MB]
Scanning into /etc/drush for /.*aliases\.drush(8|)rc\.php$/ [0.06    
   [debug]
sec, 2.02 MB]
Scanning into /etc/drush for /hostmaster\.alias\.drush(8|)rc\.php$/  
   [debug]
[0.07 sec, 2.02 MB]
Scanning into phar:///usr/local/bin/drush/includes/.. for            
   [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.07 sec, 2.02 MB]
Scanning into phar:///usr/local/bin/drush/includes/.. for            
   [debug]
/hostmaster\.alias\.drush(8|)rc\.php$/ [0.09 sec, 2.02 MB]
Scanning into /var/aegir/.drush for /.*aliases\.drush(8|)rc\.php$/   
   [debug]
[0.09 sec, 2.02 MB]
Scanning into /var/aegir/.drush for                                  
   [debug]
/hostmaster\.alias\.drush(8|)rc\.php$/ [0.1 sec, 2.02 MB]
Scanning into /etc/drush for /.*aliases\.drush(8|)rc\.php$/ [0.1 sec,
   [debug]
2.02 MB]
Scanning into /etc/drush for /self\.alias\.drush(8|)rc\.php$/ [0.1   
   [debug]
sec, 2.02 MB]
Scanning into phar:///usr/local/bin/drush/includes/.. for            
   [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.1 sec, 2.02 MB]
Scanning into phar:///usr/local/bin/drush/includes/.. for            
   [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.11 sec, 2.02 MB]
Scanning into /var/aegir/.drush for /.*aliases\.drush(8|)rc\.php$/   
   [debug]
[0.14 sec, 2.02 MB]
Scanning into /var/aegir/.drush for /self\.alias\.drush(8|)rc\.php$/ 
   [debug]
[0.15 sec, 2.02 MB]
Scanning into /etc/drush for /.*aliases\.drush(8|)rc\.php$/ [0.15    
   [debug]
sec, 2.02 MB]
Scanning into /etc/drush for /hostmaster\.alias\.drush(8|)rc\.php$/  
   [debug]
[0.15 sec, 2.03 MB]
Scanning into phar:///usr/local/bin/drush/includes/.. for            
   [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.15 sec, 2.03 MB]
Scanning into phar:///usr/local/bin/drush/includes/.. for            
   [debug]
/hostmaster\.alias\.drush(8|)rc\.php$/ [0.19 sec, 2.03 MB]
Scanning into /var/aegir/.drush for /.*aliases\.drush(8|)rc\.php$/   
   [debug]
[0.23 sec, 2.03 MB]
Scanning into /var/aegir/.drush for                                  
   [debug]
/hostmaster\.alias\.drush(8|)rc\.php$/ [0.24 sec, 2.03 MB]
Could not find the alias @hostmaster [0.25 sec, 2.03 MB]             
   [error]
, code: 1) [32.8 sec, 5.25 MB]
Caught drush error, ending drush_provision_hostmaster_install - C        [debug]
[32.8 sec, 5.25 MB]
Array                                                                    [debug]
(
    [DRUSH_DRUPAL_ERROR_MESSAGE] => Array
        (
            [0] => Unable to send e-mail. Contact the site
administrator if the problem persists.
        )

    [DRUSH_FRAMEWORK_ERROR] => Array
        (
            [0] => The command could not be executed successfully
(returned: Phar detected. Proceeding to drush_main().
Drush preflight prepare loaded autoloader at  [0.01 sec, 1.42 MB]   
[preflight]
Starting Drush preflight. [0.01 sec, 1.42 MB]                       
[preflight]
Cache HIT cid: 8.1.10-commandfiles-0-60927ea2b9f59bf8a746acee310726ea
   [debug]
[0.02 sec, 1.51 MB]
Scanning into /etc/drush for /.*aliases\.drush(8|)rc\.php$/ [0.06    
   [debug]
sec, 2.02 MB]
Scanning into /etc/drush for /hostmaster\.alias\.drush(8|)rc\.php$/  
   [debug]
[0.07 sec, 2.02 MB]
Scanning into phar:///usr/local/bin/drush/includes/.. for            
   [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.07 sec, 2.02 MB]
Scanning into phar:///usr/local/bin/drush/includes/.. for            
   [debug]
/hostmaster\.alias\.drush(8|)rc\.php$/ [0.09 sec, 2.02 MB]
Scanning into /var/aegir/.drush for /.*aliases\.drush(8|)rc\.php$/   
   [debug]
[0.09 sec, 2.02 MB]
Scanning into /var/aegir/.drush for                                  
   [debug]
/hostmaster\.alias\.drush(8|)rc\.php$/ [0.1 sec, 2.02 MB]
Scanning into /etc/drush for /.*aliases\.drush(8|)rc\.php$/ [0.1 sec,
   [debug]
2.02 MB]
Scanning into /etc/drush for /self\.alias\.drush(8|)rc\.php$/ [0.1   
   [debug]
sec, 2.02 MB]
Scanning into phar:///usr/local/bin/drush/includes/.. for            
   [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.1 sec, 2.02 MB]
Scanning into phar:///usr/local/bin/drush/includes/.. for            
   [debug]
/self\.alias\.drush(8|)rc\.php$/ [0.11 sec, 2.02 MB]
Scanning into /var/aegir/.drush for /.*aliases\.drush(8|)rc\.php$/   
   [debug]
[0.14 sec, 2.02 MB]
Scanning into /var/aegir/.drush for /self\.alias\.drush(8|)rc\.php$/ 
   [debug]
[0.15 sec, 2.02 MB]
Scanning into /etc/drush for /.*aliases\.drush(8|)rc\.php$/ [0.15    
   [debug]
sec, 2.02 MB]
Scanning into /etc/drush for /hostmaster\.alias\.drush(8|)rc\.php$/  
   [debug]
[0.15 sec, 2.03 MB]
Scanning into phar:///usr/local/bin/drush/includes/.. for            
   [debug]
/.*aliases\.drush(8|)rc\.php$/ [0.15 sec, 2.03 MB]
Scanning into phar:///usr/local/bin/drush/includes/.. for            
   [debug]
/hostmaster\.alias\.drush(8|)rc\.php$/ [0.19 sec, 2.03 MB]
Scanning into /var/aegir/.drush for /.*aliases\.drush(8|)rc\.php$/   
   [debug]
[0.23 sec, 2.03 MB]
Scanning into /var/aegir/.drush for                                  
   [debug]
/hostmaster\.alias\.drush(8|)rc\.php$/ [0.24 sec, 2.03 MB]
Could not find the alias @hostmaster [0.25 sec, 2.03 MB]             
   [error]
, code: 1)
        )

)
 [32.8 sec, 5.25 MB]
Returned from hook drush_provision_hostmaster_install [32.8 sec, 4.51    [debug]
MB]
Command dispatch complete [32.8 sec, 4.45 MB]                           [notice]
ets_web_1 exited with code 1
CommentFileSizeAuthor
during verify.png64.77 KBR_H-L
before verify.png88.81 KBR_H-L
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ErroneousBosch created an issue. See original summary.

helmo’s picture

It looks like something went wrong earlier in the process then where the log starts...

Changes made in drush_provision_drupal_pre_provision_install have [debug]
been rolled back.

colan’s picture

Not sure if this is a MariaDB issue yet, but there are some open issues related to it. Might any of those be the problem here?

colan’s picture

helmo’s picture

Status: Active » Closed (duplicate)

seems like a duplicate of one of the above mentioned issues.