When i try to install a new platform using. drush drubuntu-site-add sometestsite --install-platform drupal-6.20 i get the following output.

user@computer:~/Downloads/drubuntu$ drush drubuntu-site-add sometestsite --install-platform drupal-6.20
wordwrap() expects parameter 1 to be string, array given [warning]
drush.inc:2313
[warning]
Drupal core could not be downloaded successfully. [error]

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 261900 bytes) in /home/user/workspace/drush/includes/drush.inc on line 1566

Comments

Grayside’s picture

Component: Code » User interface

Interesting error. That should be caught more effectively. Your primary problem is one of syntax. You are missing an equal sign. It should be:

user@computer:~/Downloads/drubuntu$ drush drubuntu-site-add sometestsite --install-platform=drupal-6.20

That's such a scary error I will leave it as Major, but this is a UI issue.

beermann’s picture

Thanks!

After using the correct syntax the system is working. Is there a README with all the syntax?

Beermann

Grayside’s picture

The syntax is all documented in drush. Type "drush help dsa" to get the syntax for site adds. Some sort of man page should probably be put together for all the commands.