alpha6 upgrade - site migration problems.. error in drush_provision_drupal_provision_migrate

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

alpha6, drupal 6.15

Just upgraded, had to modify aegir.make to use drupal 6.15 and used vset to get verify to work

when attempting site migration, here is what i get:

Status: Failed
Executed: Tue, 04/13/2010 - 01:29
Execution time: 41 sec

Log message
Task starts processing
Running: /var/aegir/drush/drush.php --root='/var/aegir/atrium-1-0-beta3-1' provision-migrate 'intranet.mysite.ca' '/var/aegir/atrium-1-0-beta6' --backend
Drush bootstrap phase : _drush_bootstrap_drush()
Drush bootstrap phase : _drush_bootstrap_drupal_root()
Loading drushrc "/var/aegir/atrium-1-0-beta3-1/drushrc.php" into "drupal" scope.
Initialized Drupal 6.14 root directory at /var/aegir/atrium-1-0-beta3-1
Found command: provision-migrate (commandfile=provision)
Initializing drush commandfile: drush_make
Initializing drush commandfile: drush_make_d_o
Initializing drush commandfile: provision
Initializing drush commandfile: provision_apache
Undefined index: base_url provision_apache.drush.inc:50
Initializing drush commandfile: provision_drupal
Initializing drush commandfile: provision_mysql
Undefined index: db_url provision_mysql.drush.inc:16
Including /var/aegir/.drush/provision/platform/migrate.provision.inc
Including /var/aegir/.drush/provision/db_server/migrate.provision.inc
Drush bootstrap phase : _drush_bootstrap_drupal_site()
Initialized Drupal site intranet.mysite.ca at sites/intranet.mysite.ca
Loading drushrc "/var/aegir/atrium-1-0-beta3-1/sites/intranet.mysite.ca/drushrc.php" into "site" scope.
Putting site under maintenance
Generate settings.php file
Changed permissions of settings.php to 0640
Changed permissions of settings.php to 0440
Change group ownership of settings.php to www-data
Including /var/aegir/.drush/provision/platform/backup.provision.inc
Including /var/aegir/.drush/provision/db_server/backup.provision.inc
Drush bootstrap phase : _drush_bootstrap_drupal_configuration()
Generating mysql dump for intranet.mysite.ca.
mysqldump --defaults-file=/dev/fd/3 -rsites/intranet.mysite.ca/database.sql site_244
Adding sites directory to /var/aegir/backups/intranet.mysite.ca-20100413.092902.tar.gz
tar cpf - . | gzip -c > /var/aegir/backups/intranet.mysite.ca-20100413.092902.tar.gz
Deleted mysql dump from sites directory
Running: /var/aegir/drush/drush.php --root='/var/aegir/atrium-1-0-beta6' ... (Expand)Running: /var/aegir/drush/drush.php --root='/var/aegir/atrium-1-0-beta6' --web_host='griffin.myserver.ca' --web_ip='xxx.xxx.xxx.xxx' --db_host='localhost' --profile='openatrium' --uri='http://intranet.mysite.ca' provision-deploy 'intranet.mysite.ca' '/var/aegir/backups/intranet.mysite.ca-20100413.092902.tar.gz' --backend
The external command could not be executed due to an application error.
An error occurred at function : drush_provision_drupal_provision_migrate

Bringing site out of maintenance
Generate settings.php file
Changed permissions of settings.php to 0640
Changed permissions of settings.php to 0440
Change group ownership of settings.php to www-data
Removed unused migration site package
Generating apache host configuration file intranet.mysite.ca_80.
Apache has been restarted
Changes for drush_provision_drupal_pre_provision_migrate module have been rolled back.
Command dispatch complete
Peak memory usage was 4.75 MB
Output from failed command :
An error occurred at function : drush_hosting_hosting_task
Changes for drush_hosting_hosting_task module have been rolled back.
Command dispatch complete
Peak memory usage was 12.34 MB

Comments

ran: drush

KrisBulman's picture

ran: drush --root=/var/aegir/hostmaster-0.4-alpha6/ --uri=griffin.myserver.ca hosting-task 244 --debug

got:

Drush bootstrap phase : _drush_bootstrap_drupal_root() [0.05 sec, 3.14 MB] [bootstrap]
Loading drushrc "/var/aegir/hostmaster-0.4-alpha6/drushrc.php" into "drupal" scope. [0.05 sec, 3.14 MB] [bootstrap]
Initialized Drupal 6.15 root directory at /var/aegir/hostmaster-0.4-alpha6/ [0.06 sec, 3.87 MB] [notice]
Drush bootstrap phase : _drush_bootstrap_drupal_site() [0.07 sec, 3.91 MB] [bootstrap]
Initialized Drupal site griffin.myserver.ca at sites/griffin.myserver.ca [0.07 sec, 3.91 MB] [notice]
Loading drushrc "/var/aegir/hostmaster-0.4-alpha6/sites/griffin.myserver.ca/drushrc.php" into "site" scope. [0.07 sec, [bootstrap]
3.91 MB]
Drush bootstrap phase : _drush_bootstrap_drupal_configuration() [0.08 sec, 4.13 MB] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_database() [0.1 sec, 4.14 MB] [bootstrap]
Successfully connected to the Drupal database. [0.1 sec, 4.14 MB] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_full() [0.11 sec, 4.36 MB] [bootstrap]
Found command: hosting-task (commandfile=hosting) [0.22 sec, 10.26 MB] [bootstrap]
Initializing drush commandfile: drush_make [0.22 sec, 10.26 MB] [bootstrap]
Initializing drush commandfile: drush_make_d_o [0.22 sec, 10.26 MB] [bootstrap]
Initializing drush commandfile: provision [0.22 sec, 10.26 MB] [bootstrap]
Initializing drush commandfile: provision_apache [0.22 sec, 10.26 MB] [bootstrap]
Initializing drush commandfile: provision_drupal [0.22 sec, 10.26 MB] [bootstrap]
Initializing drush commandfile: provision_mysql [0.22 sec, 10.27 MB] [bootstrap]
Including profiles/hostmaster/modules/hosting/task.hosting.inc [0.22 sec, 10.27 MB] [bootstrap]
The drush command hook naming conventions have changed; the function drush_hosting_hosting_task_validate must be renamed [error]
to drush_hosting_task_validate. The old function will be called, but this will be removed shortly. [0.22 sec, 10.29 MB]
The drush command hook naming conventions have changed; the function drush_hosting_hosting_task must be renamed to [error]
drush_hosting_task. The old function will be called, but this will be removed shortly. [0.22 sec, 10.31 MB]
Drush bootstrap phase : _drush_bootstrap_drupal_login() [0.22 sec, 10.32 MB] [bootstrap]
This task is not valid [0.23 sec, 10.66 MB] [error]
An error occurred at function : drush_hosting_hosting_task_validate [0.23 sec, 10.66 MB] [error]
Command dispatch complete [0.23 sec, 10.66 MB] [notice]
Timer Cum (sec) Count Avg (msec)
page 0.143 1 142.72
Peak memory usage was 10.7 MB [0.23 sec, 10.66 MB]

Thanks to the help of Vertice

KrisBulman's picture

Thanks to the help of Vertice on IRC freenode #aegir I doubled php.ini memory limit & execution time, re-ran migrate command, and the site migrated fine!

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