Drush 2.0 Alpha 2 released

Events happening in the community are now at Drupal community events on www.drupal.org.
adrian's picture

Just a quick note to let everyone know that we made a new release for Drush 2.x earlier tonight.
This was the only item blocking the release of our 0.2-alpha1 release for Aegir, so we will be able to make a release in the next few days.

Comments

Very exciting!!

Macronomicus's picture

I cant wait to take it for a spin! You guys are amazing!

The new drush is awesome! I

Macronomicus's picture

The new drush is awesome! I love the cleaner integration of all the extras and the update function & updatedb rocks!

Fabulous Project

redben's picture

Just wanted to say that this IS the most exciting projet i stumbled upon this year !

Great Great Great

briwood's picture

Thought I was going get to create an issue, but see that Adrian beat me to it: http://drupal.org/node/433652

Installation:

briwood's picture

At hosting/wizard/hosting/verify I get:

The command 'drush.php provision verify' could not be executed.

From the shell I've tried

brian@raven:/var/aegir/drupal-5.x$ php /var/aegir/drush/drush.php --root='/var/aegir/drupal-5.x' 'provision' 'verify' --verbose
Initialized Drupal 5.16 root directory at /var/aegir/drupal-5.x                                                                 [notice]
Initialized Drupal site default at sites/default                                                                                [notice]
The command 'drush.php provision verify' could not be executed.                                                                 [error]

Is /var/aegir/.drush/provision the correct location for provision?

brian@raven:/var/aegir/drupal-5.x$ php /var/aegir/drush/drush.php --root='/var/aegir/drupal-5.x' 'provision' 'verify' --verbose -i ../.drush/provision/
Initialized Drupal 5.16 root directory at /var/aegir/drupal-5.x                                                                 [notice]
Could not select the mysql database.                                                                                            [error]
An error occurred at function : provision_mysql_provision_verify_validate                                                       [error]

digging into provision.mysql.inc...

briwood's picture

Made some progress, but haven't solved this:

Relized that master db user couldn't login with no db specified. So:

mysql> GRANT ALL PRIVILEGES ON . TO 'aegir'@'localhost' IDENTIFIED BY 'passwd' WITH GRANT OPTION;
Query OK, 0 rows affected (0.00 sec)

Edit /var/aegir/drupal-5.x/drushrc.php (was empty) added:

$options['master_db'] = 'mysql://aegir:passwd@localhost';

Run provision verify again.

brian@raven:/var/aegir/drupal-5.x$ php /var/aegir/drush/drush.php --root='/var/aegir/drupal-5.x' 'provision' 'verify' --verbose -i ../.drushrc/provision
Initialized Drupal 5.16 root directory at /var/aegir/drupal-5.x [notice]
Provision configuration path exists. [message]
Provision configuration ownership of path has been changed to brian. [message]
Provision configuration permissions of path have been changed to 700. [message]
Provision configuration path is writable. [message]
Web server configuration path exists. [message]
Web server configuration ownership of path has been changed to brian. [message]
Web server configuration permissions of path have been changed to 700. [message]
Web server configuration path is writable. [message]
Drupal sites directory is writable by the provisioning script [message]
This platform is running drupal 5.16 [notice]
Including version specific file : sites/default/modules/provision/platform/drupal/packages_5.inc [notice]
Found 29 modules in base [notice]
Found 6 themes in base [notice]
Found install profile hostmaster [notice]
Found install profile default [notice]
Virtual host configuration path exists. [message]
Virtual host configuration ownership of path has been changed to brian. [message]
Virtual host configuration permissions of path have been changed to 700. [message]
Virtual host configuration path is writable. [message]
Generating apache host configuration file platform_.conf. [notice]
Executing: sudo /usr/sbin/apache2ctl graceful
[sudo] password for brian:
[Sat Apr 18 13:49:10 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
Apache has been restarted [notice]
Mysql can create new databases. [message]
Generating drushrc.php file [notice]
Changed permissions of drushrc.php to 600 [message]
Drushrc file (/var/aegir/drupal-5.x/drushrc.php) was written successfully [notice]
Changed permissions of drushrc.php to 400 [message]
brian@raven:/var/aegir/drupal-5.x$

There was no "[success]" message, so I suspect not everything ran.

drushrc.php is now full of exciting stuff.

Aegir hosting system

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week