I didn't have any issues when upgrading from 0.4-alpha8 to 0.4-alpha9. I followed the UPGRADE.txt so I upgraded drush to 3.3 before doing this.

aegir@themyth:~/hostmaster-0.4-alpha9$ drush hostmaster-migrate aegir.lan /opt/aegir/hostmaster-0.4-alpha10
Drupal sites directory /sites is not writable by the provisioning script [error]
An error occurred at function : drush_provision_drupal_pre_provision_verify [error]
An error occurred at function : drush_provision_hostmaster_migrate_validate [error]

========
The debug version:
aegir@themyth:~/hostmaster-0.4-alpha9$ drush -d hostmaster-migrate aegir.lan /opt/aegir/hostmaster-0.4-alpha10
Drush bootstrap phase : drush_bootstrap_drupal_root() [0.1 sec, 8.35 MB] [bootstrap]
Loading drushrc "/opt/aegir/hostmaster-0.4-alpha9/drushrc.php" into "drupal" scope. [0.1 sec, 8.36 MB] [bootstrap]
Initialized Drupal 6.17 root directory at /opt/aegir/hostmaster-0.4-alpha9 [0.12 sec, 9.82 MB] [notice]
Found command: hostmaster-migrate (commandfile=provision) [0.14 sec, 9.82 MB] [bootstrap]
Initializing drush commandfile: drush_make [0.14 sec, 9.82 MB] [bootstrap]
Initializing drush commandfile: drush_make_d_o [0.15 sec, 9.83 MB] [bootstrap]
Initializing drush commandfile: provision [0.15 sec, 9.83 MB] [bootstrap]
Load alias @self [0.15 sec, 9.83 MB] [notice]
Load alias @server_master [0.15 sec, 9.84 MB] [notice]
Loading mysql driver for the db service [0.15 sec, 9.86 MB] [notice]
Loading apache driver for the http service [0.15 sec, 9.87 MB] [notice]
Including /opt/aegir/.drush/provision/migrate.hostmaster.inc [0.15 sec, 9.89 MB] [bootstrap]
Undefined index: config_path migrate.hostmaster.inc:12 [0.16 sec, 9.97 MB] [notice]
Undefined index: script_user migrate.hostmaster.inc:14 [0.16 sec, 9.97 MB] [notice]
Undefined index: web_group migrate.hostmaster.inc:17 [0.16 sec, 9.97 MB] [notice]
Undefined index: master_url migrate.hostmaster.inc:18 [0.16 sec, 9.97 MB] [notice]
Undefined index: restart_cmd migrate.hostmaster.inc:19 [0.16 sec, 9.97 MB] [notice]
Undefined index: master_db migrate.hostmaster.inc:22 [0.16 sec, 9.98 MB] [notice]
Running: /usr/bin/php /opt/aegir/drush/drush.php --php=/usr/bin/php --context_type='server' --remote_host='themyth' --http_service_type='apache' --db_service_type='mysql' --root='/opt/aegir/hostmaster-0.4-alpha9' [command]
provision-save '@server_master' --backend [0.16 sec, 9.98 MB]
Drush bootstrap phase : _drush_bootstrap_drush() [0.31 sec, 10.03 MB] [bootstrap]
Found command: provision-save (commandfile=provision) [0.31 sec, 10.03 MB] [bootstrap]
Initializing drush commandfile: drush_make [0.32 sec, 10.03 MB] [bootstrap]
Initializing drush commandfile: drush_make_d_o [0.32 sec, 10.03 MB] [bootstrap]
Initializing drush commandfile: provision [0.32 sec, 10.03 MB] [bootstrap]
Load alias @self [0.32 sec, 10.03 MB] [notice]
Load alias @server_master [0.32 sec, 10.03 MB] [notice]
Loading mysql driver for the db service [0.32 sec, 10.03 MB] [notice]
Loading apache driver for the http service [0.32 sec, 10.04 MB] [notice]
Loading mysql driver for the db service [0.32 sec, 10.04 MB] [notice]
Undefined index: host db.drush.inc:263 [0.32 sec, 10.04 MB] [notice]
Loading apache driver for the http service [0.32 sec, 10.04 MB] [notice]
Template loaded: /opt/aegir/.drush/provision/provision_drushrc_alias.tpl.php [0.32 sec, 10.04 MB] [notice]
Changed permissions of /opt/aegir/.drush/server_master.alias.drushrc.php to 600 [0.32 sec, 10.04 MB] [message]
Generated config Drush configuration file [0.32 sec, 10.04 MB] [message]
Changed permissions of /opt/aegir/.drush/server_master.alias.drushrc.php to 400 [0.32 sec, 10.04 MB] [message]
Command dispatch complete [0.32 sec, 10.04 MB] [notice]
Peak memory usage was 8.61 MB [0.32 sec, 10.05 MB] [memory]
Running: /usr/bin/php /opt/aegir/drush/drush.php --php=/usr/bin/php @server_master provision-verify --backend [0.32 sec, 10.01 MB] [command]
Drush bootstrap phase : _drush_bootstrap_drush() [0.6 sec, 10.11 MB] [bootstrap]
Load alias @server_master [0.6 sec, 10.11 MB] [notice]
Found command: provision-verify (commandfile=provision) [0.6 sec, 10.11 MB] [bootstrap]
Initializing drush commandfile: drush_make [0.6 sec, 10.11 MB] [bootstrap]
Initializing drush commandfile: drush_make_d_o [0.6 sec, 10.11 MB] [bootstrap]
Initializing drush commandfile: provision [0.6 sec, 10.12 MB] [bootstrap]
Loading mysql driver for the db service [0.6 sec, 10.12 MB] [notice]
Loading apache driver for the http service [0.6 sec, 10.12 MB] [notice]
Including /opt/aegir/.drush/provision/platform/backupmigrate/verify.provision.inc [0.6 sec, 10.12 MB] [bootstrap]
Including /opt/aegir/.drush/provision/platform/verify.provision.inc [0.6 sec, 10.12 MB] [bootstrap]
Provision configuration path /opt/aegir/config/server_master exists. [0.6 sec, 10.12 MB] [message]
Provision configuration ownership of /opt/aegir/config/server_master has been changed to aegir. [0.6 sec, 10.12 MB] [message]
Provision configuration permissions of /opt/aegir/config/server_master have been changed to 711. [0.6 sec, 10.12 MB] [message]
Provision configuration path /opt/aegir/config/server_master is writable. [0.6 sec, 10.12 MB] [message]
Backup path /opt/aegir/backups exists. [0.6 sec, 10.13 MB] [message]
Backup ownership of /opt/aegir/backups has been changed to aegir. [0.6 sec, 10.13 MB] [message]
Backup permissions of /opt/aegir/backups have been changed to 700. [0.6 sec, 10.13 MB] [message]
Backup path /opt/aegir/backups is writable. [0.6 sec, 10.13 MB] [message]
Provision PHP configuration path /opt/aegir/config/includes exists. [0.61 sec, 10.13 MB] [message]
Provision PHP configuration ownership of /opt/aegir/config/includes has been changed to aegir. [0.61 sec, 10.13 MB] [message]
Provision PHP configuration permissions of /opt/aegir/config/includes have been changed to 711. [0.61 sec, 10.13 MB] [message]
Provision PHP configuration path /opt/aegir/config/includes is writable. [0.61 sec, 10.13 MB] [message]
Global configuration file exists [0.61 sec, 10.14 MB] [message]
Provision can create new databases. [0.61 sec, 10.14 MB] [message]
Webserver custom configuration path /opt/aegir/config/server_master/apache/conf.d exists. [0.61 sec, 10.14 MB] [message]
Webserver custom configuration ownership of /opt/aegir/config/server_master/apache/conf.d has been changed to aegir. [0.61 sec, 10.14 MB] [message]
Webserver custom configuration permissions of /opt/aegir/config/server_master/apache/conf.d have been changed to 700. [0.61 sec, 10.14 MB] [message]
Webserver custom configuration path /opt/aegir/config/server_master/apache/conf.d is writable. [0.61 sec, 10.14 MB] [message]
Webserver platform configuration path /opt/aegir/config/server_master/apache/platform.d exists. [0.61 sec, 10.14 MB] [message]
Webserver platform configuration ownership of /opt/aegir/config/server_master/apache/platform.d has been changed to aegir. [0.61 sec, 10.14 MB] [message]
Webserver platform configuration permissions of /opt/aegir/config/server_master/apache/platform.d have been changed to 700. [0.61 sec, 10.14 MB] [message]
Webserver platform configuration path /opt/aegir/config/server_master/apache/platform.d is writable. [0.62 sec, 10.15 MB] [message]
Webserver virtual host configuration path /opt/aegir/config/server_master/apache/vhost.d exists. [0.62 sec, 10.15 MB] [message]
Webserver virtual host configuration ownership of /opt/aegir/config/server_master/apache/vhost.d has been changed to aegir. [0.62 sec, 10.15 MB] [message]
Webserver virtual host configuration permissions of /opt/aegir/config/server_master/apache/vhost.d have been changed to 700. [0.62 sec, 10.15 MB] [message]
Webserver virtual host configuration path /opt/aegir/config/server_master/apache/vhost.d is writable. [0.62 sec, 10.15 MB] [message]
Template loaded: /opt/aegir/.drush/provision/http/apache/server.tpl.php [0.62 sec, 10.15 MB] [notice]
Generated config web server configuration file [0.62 sec, 10.15 MB] [message]
Created symlink for apache.conf on themyth [0.62 sec, 10.15 MB] [notice]
apache on themyth has been restarted [0.62 sec, 10.16 MB] [notice]
Command dispatch complete [0.62 sec, 10.16 MB] [notice]
Peak memory usage was 8.67 MB [0.62 sec, 10.16 MB] [memory]
Undefined index: publish_path migrate.hostmaster.inc:33 [0.62 sec, 10.07 MB] [notice]
Undefined index: publish_path migrate.hostmaster.inc:38 [0.63 sec, 10.07 MB] [notice]
Running: /usr/bin/php /opt/aegir/drush/drush.php --php=/usr/bin/php --context_type='platform' --server='@server_master' --web_server='@server_master' provision-save '@platform' --backend [0.63 sec, 10.08 MB] [command]
Drush bootstrap phase : drush_bootstrap_drush() [0.78 sec, 10.12 MB] [bootstrap]
Found command: provision-save (commandfile=provision) [0.79 sec, 10.12 MB] [bootstrap]
Initializing drush commandfile: drush_make [0.79 sec, 10.12 MB] [bootstrap]
Initializing drush commandfile: drush_make_d_o [0.79 sec, 10.12 MB] [bootstrap]
Initializing drush commandfile: provision [0.79 sec, 10.12 MB] [bootstrap]
Load alias @self [0.79 sec, 10.12 MB] [notice]
Load alias @server_master [0.79 sec, 10.12 MB] [notice]
Loading mysql driver for the db service [0.79 sec, 10.13 MB] [notice]
Loading apache driver for the http service [0.79 sec, 10.13 MB] [notice]
Load alias @platform [0.79 sec, 10.13 MB] [notice]
Template loaded: /opt/aegir/.drush/provision/provision_drushrc_alias.tpl.php [0.79 sec, 10.13 MB] [notice]
Changed permissions of /opt/aegir/.drush/platform_.alias.drushrc.php to 600 [0.79 sec, 10.13 MB] [message]
Generated config Drush configuration file [0.79 sec, 10.13 MB] [message]
Changed permissions of /opt/aegir/.drush/platform_.alias.drushrc.php to 400 [0.79 sec, 10.13 MB] [message]
Command dispatch complete [0.79 sec, 10.13 MB] [notice]
Peak memory usage was 8.59 MB [0.79 sec, 10.14 MB] [memory]
Running: /usr/bin/php /opt/aegir/drush/drush.php --php=/usr/bin/php @platform_ provision-verify --backend [0.79 sec, 10.1 MB] [command]
Drush bootstrap phase : drush_bootstrap_drush() [1.02 sec, 10.61 MB] [bootstrap]
Load alias @platform [1.02 sec, 10.61 MB] [notice]
Found command: provision-verify (commandfile=provision) [1.02 sec, 10.61 MB] [bootstrap]
Initializing drush commandfile: drush_make [1.02 sec, 10.61 MB] [bootstrap]
Initializing drush commandfile: drush_make_d_o [1.02 sec, 10.61 MB] [bootstrap]
Initializing drush commandfile: provision [1.02 sec, 10.62 MB] [bootstrap]
Load alias @server_master [1.02 sec, 10.62 MB] [notice]
Loading mysql driver for the db service [1.03 sec, 10.62 MB] [notice]
Loading apache driver for the http service [1.03 sec, 10.62 MB] [notice]
Including /opt/aegir/.drush/provision/platform/backupmigrate/verify.provision.inc [1.03 sec, 10.62 MB] [bootstrap]
Including /opt/aegir/.drush/provision/platform/verify.provision.inc [1.03 sec, 10.62 MB] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_root() [1.03 sec, 10.62 MB] [bootstrap]
Loading drushrc "/opt/aegir/hostmaster-0.4-alpha9/drushrc.php" into "drupal" scope. [1.03 sec, 10.62 MB] [bootstrap]
Initialized Drupal 6.17 root directory at /opt/aegir/hostmaster-0.4-alpha9 [1.03 sec, 10.62 MB] [notice]
Drupal sites directory /sites is not writable by the provisioning script [1.03 sec, 10.63 MB] [error]
This platform is running drupal 6.17 [1.03 sec, 10.63 MB] [notice]
Found 37 modules in base [1.03 sec, 10.63 MB] [notice]
Found 6 themes in base [1.03 sec, 10.63 MB] [notice]
Found install profile default [1.03 sec, 10.63 MB] [notice]
Found install profile hostmaster [1.03 sec, 10.63 MB] [notice]
Found 25 modules in profiles/hostmaster [1.03 sec, 10.63 MB] [notice]
Found 1 themes in profiles/hostmaster [1.03 sec, 10.63 MB] [notice]
An error occurred at function : drush_provision_drupal_pre_provision_verify [1.03 sec, 10.64 MB] [error]
Command dispatch complete [1.03 sec, 10.64 MB] [notice]
Peak memory usage was 11.35 MB [1.03 sec, 10.64 MB] [memory]
An error occurred at function : drush_provision_hostmaster_migrate_validate [1.03 sec, 10.14 MB] [error]
Command dispatch complete [1.03 sec, 10.11 MB] [notice]
Peak memory usage was 10.87 MB [1.03 sec, 10.1 MB] [memory]

Comments

univate’s picture

I had the same issue, comparing the hostmaster platform drushrc.php file i noticed it didn't have a few lines that other platforms have:

$options['master_url'] =
$options['publish_path'] = 
$options['web_host'] =
$options['web_ip'] = 
$options['web_group'] =
$options['script_user'] =
$options['restart_cmd'] =
$options['backup_path'] =
$options['config_path'] = 
$options['master_db'] =

I copied these over and just changed the 'publish_path' (for hostmaster directory) and reran the migrate and it worked. I didn't try re-verifying the hostmaster platform which may also fix the file.

daledude’s picture

@univate - thanks for the pointer. Your advice worked. I tried verifying the aegir platform and site first which didn't work. After changing publish_path to the path of 0.4-alpha9 and rerunning the drush command I'm now on 0.4-alpha10.

adrian’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.