Everything on my aegir 0.4 alpha 6 installation is running fine. I just have one issue. When i install modules into the hostmaster platform, i have no problems but if i try to install modules to other platforms using drush, i get this error. "Drush command could not be completed"

when i download to the hostmaster platform:

:~/hostmaster-0.4-alpha6$ drush dl acquia_prosper
Project acquia_prosper (6.x-1.0-beta4) downloaded to                 [success]
/var/aegir/hostmaster-0.4-alpha6/sites/all/themes/acquia_prosper.
:~/hostmaster-0.4-alpha6$ drush dl skinr fusion
Project skinr (6.x-1.5) downloaded to                                [success]
/var/aegir/hostmaster-0.4-alpha6/sites/all/modules/skinr.
Project fusion (6.x-1.0-rc1) downloaded to                           [success]
/var/aegir/hostmaster-0.4-alpha6/sites/all/themes/fusion.

When I try to install modules into my acquia-drupal patform:

:~/acquia-drupal-1.2.23$ drush dl ubercart fusion skinr
Drush command could not be completed.                                [error]
:~/acquia-drupal-1.2.23$ drush dl ubercart
Drush command could not be completed.                                [error]
:~/acquia-drupal-1.2.23$ drush dl acquia_prosper
Drush command could not be completed.                                [error]

Am I doing something wrong?

System Debian 5
MySQL database 5.0.51a
PHP 5.2.13-0.dotdeb.0
PHP memory limit 512M
PHP register globals Disabled
drush is located in /var/aegir/drush

Comments

jonhattan’s picture

Status: Active » Postponed (maintainer needs more info)

use --debug flag and report the output. Also check file permissions.

lloydpearsoniv’s picture

Title: Installing modules on other platforms using drush » Be nice if debug worked...lol

debug doesnt even work... permissions are fine

:~/acquia-drupal-1.2.23/sites/all/modules$ drush dl ubercart
Drush command could not be completed.                                [error]
:~/acquia-drupal-1.2.23/sites/all/modules$ drush debug ubercart
Drush command could not be completed.                                [error]
:~/acquia-drupal-1.2.23/sites/all/modules$ drush debug dl ubercart
Drush command could not be completed.                                [error]
:~/acquia-drupal-1.2.23/sites/all/modules$ drush debug flag dl ubercart
Drush command could not be completed.                                [error]
:~/acquia-drupal-1.2.23/sites/all/modules$ chmod -R u+w /var/aegir/acquia-drupal-1.2.23/
:~/acquia-drupal-1.2.23/sites/all/modules$ drush debug flag dl ubercart
Drush command could not be completed.                                [error]
:~/acquia-drupal-1.2.23/sites/all/modules$ 

debug doesnt even work... permissions are fine

greg.1.anderson’s picture

Title: Be nice if debug worked...lol » Debug flag is "-d" or "--debug"

Try:

drush --debug dl ubercart

Did you specify -r and -l in your drushrc.php file? If you cd to your root folder, as you do in #0, that will provide drush with -r but not -l. If you cd to your sites folder, as you do in #2, then drush can infer both -r and -l, but it won't do this if you set -r and -l to some other site in your drushrc.php file.

See README.txt.

lloydpearsoniv’s picture

Title: Debug flag is "-d" or "--debug" » Nevermind...here is the debug
domU-12-31-39-0A-45-C4:~/acquia-drupal-1.2.23/sites/all/modules$ drush --debug dl ubercart
Found command: pm-download (commandfile=pm) [0.12 sec, 3.28 MB]      [bootstrap]
Initializing drush commandfile: drush_make [0.13 sec, 3.28 MB]       [bootstrap]
Initializing drush commandfile: drush_make_d_o [0.13 sec, 3.28 MB]   [bootstrap]
Initializing drush commandfile: provision [0.13 sec, 3.28 MB]        [bootstrap]
Initializing drush commandfile: provision_apache [0.13 sec, 3.28 MB] [bootstrap]
Initializing drush commandfile: provision_drupal [0.13 sec, 3.29 MB] [bootstrap]
Initializing drush commandfile: provision_mysql [0.13 sec, 3.29 MB]  [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_root() [0.13 sec, 3.3[bootstrap]
MB]
Loading drushrc "/var/aegir/acquia-drupal-1.2.23/drushrc.php" into   [bootstrap]
"drupal" scope. [0.13 sec, 3.3 MB]
Initialized Drupal 6.16 root directory at                               [notice]
/var/aegir/acquia-drupal-1.2.23 [0.16 sec, 4.19 MB]
Drush bootstrap phase : _drush_bootstrap_drupal_site() [0.16 sec,    [bootstrap]
4.19 MB]
Initialized Drupal site default at sites/default [0.17 sec, 4.19 MB]    [notice]
Drush bootstrap phase : _drush_bootstrap_drupal_configuration() [0.17[bootstrap]
sec, 4.19 MB]
Undefined index:  scheme environment.inc:702 [0.17 sec, 4.2 MB]         [notice]
Undefined index:  user environment.inc:703 [0.17 sec, 4.2 MB]           [notice]
Undefined index:  host environment.inc:704 [0.17 sec, 4.2 MB]           [notice]
PDO support available, but the  driver has not been installed.       [bootstrap]
Assuming success. [0.17 sec, 4.2 MB]
Drush bootstrap phase : _drush_bootstrap_drupal_database() [0.17 sec,[bootstrap]
4.2 MB]
Successfully connected to the Drupal database. [0.17 sec, 4.2 MB]    [bootstrap]
Cannot modify header information - headers already sent by (output   [warning]
started at /var/aegir/drush/includes/drush.inc:797) install.inc:618
[0.18 sec, 4.43 MB]
Cannot modify header information - headers already sent by (output   [warning]
started at /var/aegir/drush/includes/drush.inc:797) install.inc:619
[0.18 sec, 4.43 MB]
Drush command could not be completed. [0.18 sec, 4.43 MB]            [error]
greg.1.anderson’s picture

Is your setting.php file stored at sites/default/settings.php? If not, please see #3. Hint: If settings are at sites/foo.com/settings.php, then try adding -l http://foo.com to the commandline args.

moshe weitzman’s picture

Priority: Critical » Normal
greg.1.anderson’s picture

Version: All-versions-3.0-rc4 » 8.x-6.x-dev
Status: Postponed (maintainer needs more info) » Closed (won't fix)
Issue tags: +Needs migration

This issue was marked closed (won't fix) because Drush has moved to Github.

If desired, you may copy this bug to our Github project and then post a link here to the new issue. Please also change the status of this issue to closed (duplicate).

Please ask support questions on Drupal Answers.