Hi,
I'm excited to start using Aegir, and was about to give myself a pat on the back for getting it up and running, but it looks like the final installation tasks are thwarting my effort.
Namely, I can't get the Drush command:
php '/var/aegir/drush/drush.php' hosting dispatch --root='/var/aegir/drupal-6.15' --uri=http://aegir.earthtrendsdelivered.comTo do anything!
When I run with --debug, I get the following:
Drush bootstrap phase : _drush_bootstrap_drupal_root() [0.04 sec] [bootstrap]
Initialized Drupal 6.15 root directory at /var/aegir/drupal-6.15 [notice]
[0.05 sec]
Drush bootstrap phase : _drush_bootstrap_drupal_site() [0.06 sec] [bootstrap]
Initialized Drupal site aegir.earthtrendsdelivered.com at [notice]
sites/aegir.earthtrendsdelivered.com [0.06 sec]
Drush bootstrap phase : _drush_bootstrap_drupal_configuration() [0.06[bootstrap]
sec]
Drush bootstrap phase : _drush_bootstrap_drupal_database() [0.06 sec][bootstrap]
Successfully connected to the Drupal database. [0.06 sec] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_full() [0.07 sec] [bootstrap]
Including non-version specific file : [notice]
/var/aegir/drush/commands/core/drupal/environment.inc [0.17 sec]
Drush bootstrap phase : _drush_bootstrap_drupal_login() [0.22 sec] [bootstrap]
Found command: hosting dispatch [0.23 sec] [bootstrap]
hosting_dispatch [0.23 sec] [dispatching queues]
Forking : (/usr/bin/php /var/aegir/drush/drush.php --quiet [notice]
--root='/var/aegir/drupal-6.15'
--uri='http://aegir.earthtrendsdelivered.com' 'hosting' 'cron'
--backend &) > /dev/null [0.24 sec]
Forking : (/usr/bin/php /var/aegir/drush/drush.php --items='20' [notice]
--quiet --root='/var/aegir/drupal-6.15'
--uri='http://aegir.earthtrendsdelivered.com' 'hosting' 'tasks'
--backend &) > /dev/null [0.24 sec]
Command dispatch complete [0.24 sec] [notice]
Timer 'page' is 0.18 sec. [0.24 sec] [timer]When I check the status, I get:
PHP configuration : /etc/php.ini
Drupal Root : /var/aegir/drupal-6.15
Drupal version : 6.15
Site Path : sites/aegir.earthtrendsdelivered.com
Site URI : http://aegir.earthtrendsdelivered.com
Database Driver : mysqli
Database Hostname : localhost
Database Username : aegir
Database Name : aegir
Database Password : secret
Database : Connected
Drupal Bootstrap : Successful
Drupal User : AnonymousI've installed twice, trying to ensure all permissions are set correctly. I've followed troubleshooting advice here: http://groups.drupal.org/node/24854#cron
And various posts making sure my database user has the permissions it needs for hosts 'localhost' and '127.0.0.1'.
Other drush commands seem to work fine - for example:
php /var/aegir/drush/drush.php hosting setup
php '/var/aegir/drush/drush.php' hosting dispatch --root='/var/aegir/drupal-6.15'
Dispatch command was run successfully [success]I'm really at a loss. I get no feedback either way when I run php '/var/aegir/drush/drush.php' hosting dispatch --root='/var/aegir/drupal-6.15' --uri=http://aegir.earthtrendsdelivered.com from the command line, other than the debugging information above.
Any help would be greatly appreciated.
Comments
That command that are you
That command that are you executing is used to dispatch any task that is set from UI. So if there is nothing in your task queue it will do nothing...
You must go on Retry to try to verify your Aegir Site again (if verify failed).
Thank You
Your instruction to click 'Retry' was the piece I was missing.
I had to fix up permissions a bit on my provisioning extension for drush:
sudo chown -R aegir:aegir /var/aegir/.drush/Once I did that and clicked Retry, I got some errors I could work with, including:
"An error occurred at function : drush_provision_apache_provision_verify"
Answered at http://drupal.org/node/560256
I dealt with that error, and a problem restarting apache by commenting out
# Defaults requirettyin visudo, as described here: http://groups.drupal.org/node/19170
Thanks! This is a really impressive tool.