Drupal 10, the latest version of the open-source digital experience platform with even more features, is here.Aegir 3.x appears to work nicely with Drush 7.x. However, I've only been able to test this by installing Aegir on Drush 6.x, and then upgrading Drush to 7.x.
Attempting to install Aegir 3.x on Drush 7.x results in the following error:
apache on aegir3.dev could not be restarted. Changes might not be available [warning]
until this has been done. (error: apache2: Syntax error on line 265 of /etc/apache2/apache2.conf: Could not open
configuration file /etc/apache2/conf.d/aegir.conf: No such file or directory
Action 'graceful' failed.
The Apache error log may have more information.)
Now /etc/apache2/conf.d/aegir.conf is just a symlink to /var/aegir/config/apache.conf, but this file doesn't exist. In fact, it's only supposed to be a further symlink into the server_master directory. But the config/ directory seems to have more problems than that:
aegir@aegir3:~/config$ tree
.
├── self
└── server_master
└── apache
└── vhost.d
└── aegir3.devThe server configs seem to be failing entirely (and silently).
Full log:
Aegir 7.x-3.x 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 ("root") password:
This script will operate the following changes in your system:
1. Create server-level configuration directories
2. Create the Hostmaster frontend platform
3. Install the frontend site
4. 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: aegir3.dev
Master server FQDN: aegir3.dev
Aegir root: /var/aegir
Aegir user: aegir
Web group: www-data
Web server: apache
Web server port: 80
Aegir DB host: localhost
Aegir DB user: root
Aegir DB password:
Aegir DB port: 3306
Aegir version: 7.x-3.x
Aegir platform path: /var/aegir/hostmaster-7.x-3.x
Admin email: webmaster@aegir3.dev
Do you really want to proceed with the install (y/n): y
Generated config Drush configuration file (/var/aegir/.drush/server_localhost.alias.drushrc.php) [success]
Changed permissions of /var/aegir/.drush/server_localhost.alias.drushrc.php to 440 [success]
Provision configuration root path /var/aegir/config has been created. [success]
Provision configuration root ownership of /var/aegir/config has been changed to aegir. [success]
Provision configuration root permissions of /var/aegir/config have been changed to 711. [success]
Provision configuration root path /var/aegir/config is writable. [success]
Provision configuration path /var/aegir/config/self has been created. [success]
Provision configuration ownership of /var/aegir/config/self has been changed to aegir. [success]
Provision configuration permissions of /var/aegir/config/self have been changed to 711. [success]
Provision configuration path /var/aegir/config/self is writable. [success]
Provision client home path /var/aegir/clients has been created. [success]
Provision client home ownership of /var/aegir/clients has been changed to aegir. [success]
Provision client home permissions of /var/aegir/clients have been changed to 711. [success]
Provision client home path /var/aegir/clients is writable. [success]
Generated config Drush configuration file (/var/aegir/.drush/server_master.alias.drushrc.php) [success]
Changed permissions of /var/aegir/.drush/server_master.alias.drushrc.php to 440 [success]
Provision configuration root path /var/aegir/config exists. [success]
Provision configuration root ownership of /var/aegir/config has been changed to aegir. [success]
Provision configuration root permissions of /var/aegir/config have been changed to 711. [success]
Provision configuration root path /var/aegir/config is writable. [success]
Provision configuration path /var/aegir/config/self exists. [success]
Provision configuration ownership of /var/aegir/config/self has been changed to aegir. [success]
Provision configuration permissions of /var/aegir/config/self have been changed to 711. [success]
Provision configuration path /var/aegir/config/self is writable. [success]
Provision client home path /var/aegir/clients exists. [success]
Provision client home ownership of /var/aegir/clients has been changed to aegir. [success]
Provision client home permissions of /var/aegir/clients have been changed to 711. [success]
Provision client home path /var/aegir/clients is writable. [success]
Generated config Drush configuration file (/var/aegir/.drush/platform_hostmaster.alias.drushrc.php) [success]
Changed permissions of /var/aegir/.drush/platform_hostmaster.alias.drushrc.php to 440 [success]
Provision configuration root path /var/aegir/config exists. [success]
Provision configuration root ownership of /var/aegir/config has been changed to aegir. [success]
Provision configuration root permissions of /var/aegir/config have been changed to 711. [success]
Provision configuration root path /var/aegir/config is writable. [success]
Provision configuration path /var/aegir/config/self exists. [success]
Provision configuration ownership of /var/aegir/config/self has been changed to aegir. [success]
Provision configuration permissions of /var/aegir/config/self have been changed to 711. [success]
Provision configuration path /var/aegir/config/self is writable. [success]
Provision client home path /var/aegir/clients exists. [success]
Provision client home ownership of /var/aegir/clients has been changed to aegir. [success]
Provision client home permissions of /var/aegir/clients have been changed to 711. [success]
Provision client home path /var/aegir/clients is writable. [success]
Generated config Drush configuration file (/var/aegir/.drush/hostmaster.alias.drushrc.php) [success]
Changed permissions of /var/aegir/.drush/hostmaster.alias.drushrc.php to 440 [success]
Generated config Drush configuration file (/var/aegir/.drush/hm.alias.drushrc.php) [success]
Changed permissions of /var/aegir/.drush/hm.alias.drushrc.php to 440 [success]
Created aegir3dev database [success]
Created sites/aegir3.dev [success]
Changed permissions of sites/aegir3.dev to 755 [success]
Created sites/aegir3.dev/themes [success]
Changed permissions of sites/aegir3.dev/themes to 2775 [success]
Created sites/aegir3.dev/modules [success]
Changed permissions of sites/aegir3.dev/modules to 2775 [success]
Created sites/aegir3.dev/libraries [success]
Changed permissions of sites/aegir3.dev/libraries to 2775 [success]
Created sites/aegir3.dev/files [success]
Changed permissions of sites/aegir3.dev/files to 2770 [success]
Created sites/aegir3.dev/files/tmp [success]
Changed permissions of sites/aegir3.dev/files/tmp to 2770 [success]
Created sites/aegir3.dev/files/images [success]
Changed permissions of sites/aegir3.dev/files/images to 2770 [success]
Created sites/aegir3.dev/files/pictures [success]
Changed permissions of sites/aegir3.dev/files/pictures to 2770 [success]
Created sites/aegir3.dev/files/css [success]
Changed permissions of sites/aegir3.dev/files/css to 2770 [success]
Created sites/aegir3.dev/files/js [success]
Changed permissions of sites/aegir3.dev/files/js to 2770 [success]
Created sites/aegir3.dev/files/ctools [success]
Changed permissions of sites/aegir3.dev/files/ctools to 2770 [success]
Created sites/aegir3.dev/files/imagecache [success]
Changed permissions of sites/aegir3.dev/files/imagecache to 2770 [success]
Created sites/aegir3.dev/files/locations [success]
Changed permissions of sites/aegir3.dev/files/locations to 2770 [success]
Created sites/aegir3.dev/private [success]
Changed permissions of sites/aegir3.dev/private to 2770 [success]
Created sites/aegir3.dev/private/files [success]
Changed permissions of sites/aegir3.dev/private/files to 2770 [success]
Created sites/aegir3.dev/private/temp [success]
Changed permissions of sites/aegir3.dev/private/temp to 2770 [success]
Created sites/aegir3.dev/files/styles [success]
Changed permissions of sites/aegir3.dev/files/styles to 2770 [success]
Created sites/aegir3.dev/private/config [success]
Changed permissions of sites/aegir3.dev/private/config to 2770 [success]
Created sites/aegir3.dev/private/config/active [success]
Changed permissions of sites/aegir3.dev/private/config/active to 2770 [success]
Created sites/aegir3.dev/private/config/staging [success]
Changed permissions of sites/aegir3.dev/private/config/staging to 2770 [success]
Changed group ownership of sites/aegir3.dev/files to www-data [success]
Changed group ownership of sites/aegir3.dev/files/tmp to www-data [success]
Changed group ownership of sites/aegir3.dev/files/images to www-data [success]
Changed group ownership of sites/aegir3.dev/files/pictures to www-data [success]
Changed group ownership of sites/aegir3.dev/files/css to www-data [success]
Changed group ownership of sites/aegir3.dev/files/js to www-data [success]
Changed group ownership of sites/aegir3.dev/files/ctools to www-data [success]
Changed group ownership of sites/aegir3.dev/files/imagecache to www-data [success]
Changed group ownership of sites/aegir3.dev/files/locations to www-data [success]
Changed group ownership of sites/aegir3.dev/private to www-data [success]
Changed group ownership of sites/aegir3.dev/private/files to www-data [success]
Changed group ownership of sites/aegir3.dev/private/temp to www-data [success]
Changed group ownership of sites/aegir3.dev/files/styles to www-data [success]
Changed group ownership of sites/aegir3.dev/private/config to www-data [success]
Changed group ownership of sites/aegir3.dev/private/config/active to www-data [success]
Changed group ownership of sites/aegir3.dev/private/config/staging to www-data [success]
Created directory /var/aegir/config/server_master/apache/vhost.d. [success]
Generated config virtual host configuration file (/var/aegir/config/server_master/apache/vhost.d/aegir3.dev) [success]
Generated config Drupal settings.php file (/var/aegir/hostmaster-7.x-3.x/sites/aegir3.dev/settings.php) [success]
Changed permissions of /var/aegir/hostmaster-7.x-3.x/sites/aegir3.dev/settings.php to 440 [success]
Change group ownership of /var/aegir/hostmaster-7.x-3.x/sites/aegir3.dev/settings.php to www-data [success]
Platforms path /var/aegir/platforms has been created. [success]
Platforms ownership of /var/aegir/platforms has been changed to aegir. [success]
Platforms permissions of /var/aegir/platforms have been changed to 755. [success]
Platforms path /var/aegir/platforms is writable. [success]
Generated config Site Drush configuration file (/var/aegir/hostmaster-7.x-3.x/sites/aegir3.dev/drushrc.php) [success]
Changed permissions of /var/aegir/hostmaster-7.x-3.x/sites/aegir3.dev/drushrc.php to 440 [success]
Platforms path /var/aegir/platforms exists. [success]
Platforms ownership of /var/aegir/platforms has been changed to aegir. [success]
Platforms permissions of /var/aegir/platforms have been changed to 755. [success]
Platforms path /var/aegir/platforms is writable. [success]
Changed permissions of sites/aegir3.dev to 755 [success]
Changed permissions of sites/aegir3.dev/themes to 2775 [success]
Changed permissions of sites/aegir3.dev/modules to 2775 [success]
Changed permissions of sites/aegir3.dev/libraries to 2775 [success]
Changed permissions of sites/aegir3.dev/files to 2770 [success]
Changed permissions of sites/aegir3.dev/files/tmp to 2770 [success]
Changed permissions of sites/aegir3.dev/files/images to 2770 [success]
Changed permissions of sites/aegir3.dev/files/pictures to 2770 [success]
Changed permissions of sites/aegir3.dev/files/css to 2770 [success]
Changed permissions of sites/aegir3.dev/files/js to 2770 [success]
Changed permissions of sites/aegir3.dev/files/ctools to 2770 [success]
Changed permissions of sites/aegir3.dev/files/imagecache to 2770 [success]
Changed permissions of sites/aegir3.dev/files/locations to 2770 [success]
Changed permissions of sites/aegir3.dev/private to 2770 [success]
Changed permissions of sites/aegir3.dev/private/files to 2770 [success]
Changed permissions of sites/aegir3.dev/private/temp to 2770 [success]
Changed permissions of sites/aegir3.dev/files/styles to 2770 [success]
Changed permissions of sites/aegir3.dev/private/config to 2770 [success]
Changed permissions of sites/aegir3.dev/private/config/active to 2770 [success]
Changed permissions of sites/aegir3.dev/private/config/staging to 2770 [success]
Changed group ownership of sites/aegir3.dev/files to www-data [success]
Changed group ownership of sites/aegir3.dev/files/tmp to www-data [success]
Changed group ownership of sites/aegir3.dev/files/images to www-data [success]
Changed group ownership of sites/aegir3.dev/files/pictures to www-data [success]
Changed group ownership of sites/aegir3.dev/files/css to www-data [success]
Changed group ownership of sites/aegir3.dev/files/js to www-data [success]
Changed group ownership of sites/aegir3.dev/files/ctools to www-data [success]
Changed group ownership of sites/aegir3.dev/files/imagecache to www-data [success]
Changed group ownership of sites/aegir3.dev/files/locations to www-data [success]
Changed group ownership of sites/aegir3.dev/private to www-data [success]
Changed group ownership of sites/aegir3.dev/private/files to www-data [success]
Changed group ownership of sites/aegir3.dev/private/temp to www-data [success]
Changed group ownership of sites/aegir3.dev/files/styles to www-data [success]
Changed group ownership of sites/aegir3.dev/private/config to www-data [success]
Changed group ownership of sites/aegir3.dev/private/config/active to www-data [success]
Changed group ownership of sites/aegir3.dev/private/config/staging to www-data [success]
Login url: http://aegir3.dev/user/reset/1/1402149953/K65a0FWPqlpmvxDU0Jfv0FdH6amldczDcNlFefX08do/login [success]
Sent welcome mail to webmaster@aegir3.dev [success]
Content permissions have been rebuilt. [status]
Enabling Hosting system feature. [status]
The 'aegir account manager' role was assigned the following permissions: 'access content', 'access user profiles'. [status]
The 'aegir administrator' role was assigned the following permissions: 'access administration menu', 'access content', [status]
'view revisions', 'access user profiles'.
The 'aegir client' role was assigned the following permissions: 'access content', 'view revisions'. [status]
The 'aegir platform manager' role was assigned the following permissions: 'access content', 'view revisions'. [status]
Enabling Autofill platform path feature. [status]
Enabling Server administration feature. [status]
Creating master server node [status]
Task verify was added to the queue. Next queue run is 16:06:00+0200, server time is 16:05:53+0200. [status]
Creating db server node [status]
Task verify was added to the queue. Next queue run is 16:06:00+0200, server time is 16:05:53+0200. [status]
Task verify was added to the queue. Next queue run is 16:06:00+0200, server time is 16:05:53+0200. [status]
Task import was added to the queue. Next queue run is 16:06:00+0200, server time is 16:05:53+0200. [status]
Configuring default blocks [status]
Generated config Drupal sites.php file (/var/aegir/hostmaster-7.x-3.x/sites/sites.php) [success]
Changed permissions of /var/aegir/hostmaster-7.x-3.x/sites/sites.php to 644 [success]
apache on aegir3.dev could not be restarted. Changes might not be available [warning]
until this has been done. (error: apache2: Syntax error on line 265 of /etc/apache2/apache2.conf: Could not open
configuration file /etc/apache2/conf.d/aegir.conf: No such file or directory
Action 'graceful' failed.
The Apache error log may have more information.)
Client home directory for admin path /var/aegir/clients/admin has been created. [success]
Client home directory for admin ownership of /var/aegir/clients/admin has been changed to aegir. [success]
Client home directory for admin permissions of /var/aegir/clients/admin have been changed to 750. [success]
Client home directory for admin path /var/aegir/clients/admin is writable. [success]
Created symlink /var/aegir/clients/admin/aegir3.dev to /var/aegir/hostmaster-7.x-3.x/sites/aegir3.dev [success]
Changed permissions of /var/aegir/hostmaster-7.x-3.x/sites/aegir3.dev/drushrc.php to 640 [success]
Generated config Site Drush configuration file (/var/aegir/hostmaster-7.x-3.x/sites/aegir3.dev/drushrc.php) [success]
Changed permissions of /var/aegir/hostmaster-7.x-3.x/sites/aegir3.dev/drushrc.php to 440 [success]
Platforms path /var/aegir/platforms exists. [success]
Platforms ownership of /var/aegir/platforms has been changed to aegir. [success]
Platforms permissions of /var/aegir/platforms have been changed to 755. [success]
Platforms path /var/aegir/platforms is writable. [success]
Changed permissions of /var/aegir/hostmaster-7.x-3.x/sites/aegir3.dev/settings.php to 640 [success]
Generated config Drupal settings.php file (/var/aegir/hostmaster-7.x-3.x/sites/aegir3.dev/settings.php) [success]
Changed permissions of /var/aegir/hostmaster-7.x-3.x/sites/aegir3.dev/settings.php to 440 [success]
Change group ownership of /var/aegir/hostmaster-7.x-3.x/sites/aegir3.dev/settings.php to www-data [success]
Platforms path /var/aegir/platforms exists. [success]
Platforms ownership of /var/aegir/platforms has been changed to aegir. [success]
Platforms permissions of /var/aegir/platforms have been changed to 755. [success]
Platforms path /var/aegir/platforms is writable. [success]
Creating default object from empty value packages_7.inc:138 [warning]
Changed permissions of sites/aegir3.dev to 755 [success]
Changed permissions of sites/aegir3.dev/themes to 2775 [success]
Changed permissions of sites/aegir3.dev/modules to 2775 [success]
Changed permissions of sites/aegir3.dev/libraries to 2775 [success]
Changed permissions of sites/aegir3.dev/files to 2770 [success]
Changed permissions of sites/aegir3.dev/files/tmp to 2770 [success]
Changed permissions of sites/aegir3.dev/files/images to 2770 [success]
Changed permissions of sites/aegir3.dev/files/pictures to 2770 [success]
Changed permissions of sites/aegir3.dev/files/css to 2770 [success]
Changed permissions of sites/aegir3.dev/files/js to 2770 [success]
Changed permissions of sites/aegir3.dev/files/ctools to 2770 [success]
Changed permissions of sites/aegir3.dev/files/imagecache to 2770 [success]
Changed permissions of sites/aegir3.dev/files/locations to 2770 [success]
Changed permissions of sites/aegir3.dev/private to 2770 [success]
Changed permissions of sites/aegir3.dev/private/files to 2770 [success]
Changed permissions of sites/aegir3.dev/private/temp to 2770 [success]
Changed permissions of sites/aegir3.dev/files/styles to 2770 [success]
Changed permissions of sites/aegir3.dev/private/config to 2770 [success]
Changed permissions of sites/aegir3.dev/private/config/active to 2770 [success]
Changed permissions of sites/aegir3.dev/private/config/staging to 2770 [success]
Changed group ownership of sites/aegir3.dev/files to www-data [success]
Changed group ownership of sites/aegir3.dev/files/tmp to www-data [success]
Changed group ownership of sites/aegir3.dev/files/images to www-data [success]
Changed group ownership of sites/aegir3.dev/files/pictures to www-data [success]
Changed group ownership of sites/aegir3.dev/files/css to www-data [success]
Changed group ownership of sites/aegir3.dev/files/js to www-data [success]
Changed group ownership of sites/aegir3.dev/files/ctools to www-data [success]
Changed group ownership of sites/aegir3.dev/files/imagecache to www-data [success]
Changed group ownership of sites/aegir3.dev/files/locations to www-data [success]
Changed group ownership of sites/aegir3.dev/private to www-data [success]
Changed group ownership of sites/aegir3.dev/private/files to www-data [success]
Changed group ownership of sites/aegir3.dev/private/temp to www-data [success]
Changed group ownership of sites/aegir3.dev/files/styles to www-data [success]
Changed group ownership of sites/aegir3.dev/private/config to www-data [success]
Changed group ownership of sites/aegir3.dev/private/config/active to www-data [success]
Changed group ownership of sites/aegir3.dev/private/config/staging to www-data [success]
Generated config Drupal sites.php file (/var/aegir/hostmaster-7.x-3.x/sites/sites.php) [success]
Changed permissions of /var/aegir/hostmaster-7.x-3.x/sites/sites.php to 644 [success]
Changed permissions of /var/aegir/hostmaster-7.x-3.x/sites/aegir3.dev/settings.php to 640 [success]
Generated config Drupal settings.php file (/var/aegir/hostmaster-7.x-3.x/sites/aegir3.dev/settings.php) [success]
Changed permissions of /var/aegir/hostmaster-7.x-3.x/sites/aegir3.dev/settings.php to 440 [success]
Change group ownership of /var/aegir/hostmaster-7.x-3.x/sites/aegir3.dev/settings.php to www-data [success]
Generated config Aegir Drush configuration file (/var/aegir/.drush/drushrc.php) [success]
Changed permissions of /var/aegir/.drush/drushrc.php to 440 [success]
Platforms path /var/aegir/platforms exists. [success]
Platforms ownership of /var/aegir/platforms has been changed to aegir. [success]
Platforms permissions of /var/aegir/platforms have been changed to 755. [success]
Platforms path /var/aegir/platforms is writable. [success]
Generated config virtual host configuration file (/var/aegir/config/server_master/apache/vhost.d/aegir3.dev) [success]
apache on aegir3.dev could not be restarted. Changes might not be available [warning]
until this has been done. (error: apache2: Syntax error on line 265 of /etc/apache2/apache2.conf: Could not open
configuration file /etc/apache2/conf.d/aegir.conf: No such file or directory
Action 'graceful' failed.
The Apache error log may have more information.)
Client home directory for admin path /var/aegir/clients/admin exists. [success]
Client home directory for admin ownership of /var/aegir/clients/admin has been changed to aegir. [success]
Client home directory for admin permissions of /var/aegir/clients/admin have been changed to 750. [success]
Client home directory for admin path /var/aegir/clients/admin is writable. [success]
Created symlink /var/aegir/clients/admin/aegir3.dev to /var/aegir/hostmaster-7.x-3.x/sites/aegir3.dev [success]
Changed permissions of /var/aegir/hostmaster-7.x-3.x/sites/aegir3.dev/drushrc.php to 640 [success]
Generated config Site Drush configuration file (/var/aegir/hostmaster-7.x-3.x/sites/aegir3.dev/drushrc.php) [success]
Changed permissions of /var/aegir/hostmaster-7.x-3.x/sites/aegir3.dev/drushrc.php to 440 [success]
Platforms path /var/aegir/platforms exists. [success]
Platforms ownership of /var/aegir/platforms has been changed to aegir. [success]
Platforms permissions of /var/aegir/platforms have been changed to 755. [success]
Platforms path /var/aegir/platforms is writable. [success]
Initializing the hosting system
'drush' cache was cleared. [success]
This command will replace your crontab for this user. continue? (y/n): y
/usr/bin/env php /usr/share/drush/drush.php '@self' hosting-dispatch
The drush command 'hosting-dispatch' could not be found. Run `drush cache-clear drush` to clear the commandfile cache if you have [error]
installed new extensions.
Could not find a Drupal settings.php file at sites/default/settings.php. [error]
Dispatch command was run successfully [success]
Installed hosting-dispatch cron entry to run every minute [success]
==============================================================================
Congratulations, Aegir has now been installed.
You should now log in to the Aegir frontend by opening the following link in your web browser:
==============================================================================
'drush' cache was cleared. [success]










Comments
Comment #1
arosboro CreditAttribution: arosboro commentedI experienced this issue as well. There may be some sort of race condition because after I manually ran drush make for the first time, and only that once, it created a vhost file and installed the modules. It still erred out in the end. I will post the log I kept when I can pull it from my server.
Comment #2
ergonlogicThe commit to Drush that had originally broken Aegir 3.x is b1e308290. Aegir will install at that commit now. So it's something that went into Drush since then.
Comment #3
ergonlogicBumping to critical, since we need Drush 7.x to be able to support Drupal 8 sites.
Comment #4
ergonlogicGit bisect to the rescue:
I'll have to take a closer look at what that commit does, but I can confirm that it's the first one to break Aegir's hostmaster-install.
Comment #5
arosboro CreditAttribution: arosboro commentedHere's my log if it helps. I ran drush make so hostmaster-7.x-3.x dev already existed and it bootstrapped just this once. The apache config was left in a bad state.
file was way to long to include here, let me know if you want it, I did --debug, but the only error I see is that it's trying to create a site, http://default in the sites directory when settings.php does not exist in sites/default
Comment #6
ergonlogicHere's a link to the relevant commit: https://github.com/drush-ops/drush/commit/24addcdd08aa422aa00e2a11194a74...
Comment #8
ergonlogicIt looks like this was a latent bug in Drush. See: https://github.com/drush-ops/drush/pull/684
With that simple fix to Drush, Aegir installs on Drush master again.
Comment #9
realityloopIt seems like the link in #8 hasn't been committed yet, is there a way to install drush via composer with that commit included?
This is whats happening on my setup atm:
Comment #10
realityloopThis is working now