Upgrading from Aegir-6.x-0.4-alpha3 to Aegir-6.x-0.4-alpha6

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

The backend upgraded easily -- I downloaded drush 3.0-rc1 and alpha6 version of provision from http://files.aegirproject.org/ but when I try running
drush hostmaster migrate aegir.eduglue.com $DRUPAL_DIR

All I get is:

No hook functions were found for hostmaster migrate.                                                                                                                                                                                              [warning]
Available drush_invoke() hooks for hostmaster migrate:                                                                                                                                                                                            [warning]
drush_core_hostmaster_migrate_validate
drush_drush_make_hostmaster_migrate_validate
drush_drush_make_d_o_hostmaster_migrate_validate
drush_pm_hostmaster_migrate_validate
drush_provision_hostmaster_migrate_validate
drush_provision_apache_hostmaster_migrate_validate
drush_provision_drupal_hostmaster_migrate_validate
drush_provision_mysql_hostmaster_migrate_validate
drush_provision_ssl_hostmaster_migrate_validate
drush_search_hostmaster_migrate_validate
... and a lot more

Any ideas what's going on?

Comments

If you are using Drush 3.x

mig5's picture

If you are using Drush 3.x then the command should be drush hostmaster-migrate (note the hyphen)

The rest of the output is normal in Drush 3.x. Don't know why it ships with so much distracting debug stuff now, but those are not errors.

(No subject)

kyle_mathews's picture

I found the source of the problem above. I'd backed up the provision folder in .drush to provision.bak -- but drush was still using those commands. Removing the backup folder solved that.

A different problem now. Running the upgrade now fails with these lines:

Mysql can create new databases.                                                                                                                                                                                                                     [message]
Found existing drushrc.php file                                                                                                                                                                                                                      [notice]
Changed permissions of drushrc.php to 0600                                                                                                                                                                                                          [message]
Drushrc file (/var/aegir/hostmaster-6.x-0.4-alpha3/drushrc.php) was written successfully                                                                                                                                                             [notice]
Changed permissions of drushrc.php to 0400                                                                                                                                                                                                          [message]
Command dispatch complete                                                                                                                                                                                                                            [notice]
The external command could not be executed due to an application error.                                                                                                                                                                           [error]
Initialized Drupal 6.15 root directory at /var/aegir/hostmaster-6.x-0.4-alpha3                                                                                                                                                                       [notice]
Undefined index:  base_url provision_apache.drush.inc:50                                                                                                                                                                                             [notice]
Undefined index:  db_url provision_mysql.drush.inc:16                                                                                                                                                                                                [notice]
Initialized Drupal site aegir.eduglue.com at sites/aegir.eduglue.com                                                                                                                                                                                 [notice]
Generate settings.php file                                                                                                                                                                                                                           [notice]
Changed permissions of settings.php to 0640                                                                                                                                                                                                         [message]
Changed permissions of settings.php to 0440                                                                                                                                                                                                         [message]
Change group ownership of settings.php to www-data                                                                                                                                                                                                  [message]
Drush command could not be completed.                                                                                                                                                                                                             [error]
Output from failed command :                                                                                                                                                                                                                      [error]

An error occurred at function : drush_provision_hostmaster_migrate_validate                                                                                                                                                                       [error]
Command dispatch complete                                                                                                                                                                                                                            [notice]
aegir@eduglue1:~/hostmaster-6.x-0.4-alpha3/sites$ drush hostmaster-migrate aegir.eduglue.com $DRUPAL_DIR
The external command could not be executed due to an application error.                                                                                                                                                                           [error]
Drush command could not be completed.                                                                                                                                                                                                             [error]
Output from failed command :                                                                                                                                                                                                                      [error]

An error occurred at function : drush_provision_hostmaster_migrate_validate 

I've already increased my memory limit on php5/cli/php.ini to 96M so I know it's not that problem. Any ideas what's going on?

Kyle Mathews

Aegir hosting system

Group organizers

Group categories

Group notifications

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