My new hostmaster platform will not verify after upgrading to 1.4. Also my aegir site obviously has not imported either. I did a debug of the platform verify task and here are the errors that appear to be the issue. Been googling for hours and can not find any solutions:
Undefined offset: 1 backend.inc:163 [0.71 sec, 23.29 MB] [notice]
Undefined variable: output backend.inc:170 [0.71 sec, 23.29 MB] [notice]
The command could not be executed successfully (returned: [error]
Segmentation fault
, code: <em>139</em>) [0.72 sec, 23.88 MB]
Full Dump
drush @hostmaster hosting-task 2757 --debug
Bootstrap to phase 0. [0.03 sec, 2.28 MB] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drush() [0.04 sec, 2.51 MB] [bootstrap]
Load alias @hostmaster [0.04 sec, 2.52 MB] [notice]
Loading drushrc [bootstrap]
"/var/aegir/platforms/hostmaster-6.x-1.4/sites/aegir.bigcouchmedia.com/drushrc.php"
into "site" scope. [0.05 sec, 2.53 MB]
Bootstrap to phase 5. [0.15 sec, 10.31 MB] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_root() [0.15 sec, [bootstrap]
10.32 MB]
Loading drushrc "/var/aegir/platforms/hostmaster-6.x-1.4/drushrc.php"[bootstrap]
into "drupal" scope. [0.15 sec, 10.32 MB]
Initialized Drupal 6.22 root directory at [notice]
/var/aegir/platforms/hostmaster-6.x-1.4 [0.18 sec, 11.56 MB]
Drush bootstrap phase : _drush_bootstrap_drupal_site() [0.18 sec, [bootstrap]
11.57 MB]
Initialized Drupal site aegir.bigcouchmedia.com at [notice]
sites/aegir.bigcouchmedia.com [0.18 sec, 11.57 MB]
Loading drushrc [bootstrap]
"/var/aegir/platforms/hostmaster-6.x-1.4/sites/aegir.bigcouchmedia.com/drushrc.php"
into "site" scope. [0.18 sec, 11.57 MB]
Drush bootstrap phase : _drush_bootstrap_drupal_configuration() [0.19[bootstrap]
sec, 11.57 MB]
Drush bootstrap phase : _drush_bootstrap_drupal_database() [0.2 sec, [bootstrap]
11.62 MB]
Successfully connected to the Drupal database. [0.2 sec, 11.62 MB] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_full() [0.2 sec, [bootstrap]
12.01 MB]
Bootstrap to phase 5. [0.38 sec, 22.18 MB] [bootstrap]
Found command: hosting-task (commandfile=hosting) [0.38 sec, 22.19 [bootstrap]
MB]
Initializing drush commandfile: drush_make [0.38 sec, 22.19 MB] [bootstrap]
Initializing drush commandfile: drush_make_d_o [0.38 sec, 22.19 MB] [bootstrap]
Initializing drush commandfile: provision [0.38 sec, 22.19 MB] [bootstrap]
Load alias @server_master [0.38 sec, 22.22 MB] [notice]
Loading mysql driver for the db service [0.38 sec, 22.25 MB] [notice]
Loading apache_ssl driver for the http service [0.38 sec, 22.26 MB] [notice]
Load alias @platform_hostmaster6x14 [0.39 sec, 22.32 MB] [notice]
Initializing drush commandfile: user [0.39 sec, 22.33 MB] [bootstrap]
Including profiles/hostmaster/modules/hosting/task.hosting.inc [0.39 [bootstrap]
sec, 22.33 MB]
Drush bootstrap phase : _drush_bootstrap_drupal_login() [0.4 sec, [bootstrap]
22.4 MB]
Successfully logged into Drupal as hostmaster (uid=1) [0.4 sec, 22.41[bootstrap]
MB]
Undefined variable: additions hosting_client.module:882 [0.41 sec, [notice]
23.21 MB]
Undefined property: stdClass::$task_args hosting_task.module:548 [notice]
[0.41 sec, 23.21 MB]
Task starts processing [0.42 sec, 23.24 MB] [queue]
Trying to get property of non-object hosting.module:855 [0.42 sec, [notice]
23.28 MB]
Running: /var/aegir/drush/drush.php --context_type='platform' [command]
--master_url='http://aegir.bigcouchmedia.com/'
--root='/var/aegir/platforms/hostmaster-6.x-1.4'
--server='@server_master' --web_server='@' provision-save
'@platform_hostmaster6x14' --backend 2>&1 [0.42 sec, 23.28 MB]
Undefined offset: 1 backend.inc:163 [0.71 sec, 23.29 MB] [notice]
Undefined variable: output backend.inc:170 [0.71 sec, 23.29 MB] [notice]
The command could not be executed successfully (returned: [error]
Segmentation fault
, code: <em>139</em>) [0.72 sec, 23.88 MB]
Running: /var/aegir/drush/drush.php @platform_hostmaster6x14 [command]
provision-verify --backend 2>&1 [0.72 sec, 23.88 MB]
Bootstrap to phase 0. [1.23 sec, 24.39 MB] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drush() [1.24 sec, 24.4 MB] [bootstrap]
Load alias @platform_hostmaster6x14 [1.24 sec, 24.4 MB] [notice]
Bootstrap to phase 0. [1.24 sec, 24.4 MB] [bootstrap]
Found command: provision-verify (commandfile=provision) [1.24 sec, [bootstrap]
24.4 MB]
Initializing drush commandfile: drush_make [1.24 sec, 24.4 MB] [bootstrap]
Initializing drush commandfile: drush_make_d_o [1.24 sec, 24.4 MB] [bootstrap]
Initializing drush commandfile: provision [1.24 sec, 24.4 MB] [bootstrap]
Load alias @server_master [1.24 sec, 24.41 MB] [notice]
Loading mysql driver for the db service [1.24 sec, 24.41 MB] [notice]
Loading apache_ssl driver for the http service [1.24 sec, 24.41 MB] [notice]
Initializing drush commandfile: user [1.24 sec, 24.41 MB] [bootstrap]
Including /var/aegir/.drush/provision/dns/verify.provision.inc [1.24 [bootstrap]
sec, 24.41 MB]
Including [bootstrap]
/var/aegir/.drush/provision/platform/backupmigrate/verify.provision.inc
[1.24 sec, 24.41 MB]
Including /var/aegir/.drush/provision/platform/verify.provision.inc [bootstrap]
[1.24 sec, 24.41 MB]
Drush bootstrap phase : _drush_bootstrap_drupal_root() [1.24 sec, [bootstrap]
24.42 MB]
Loading drushrc "/var/aegir/platforms/hostmaster-6.x-1.4/drushrc.php"[bootstrap]
into "drupal" scope. [1.24 sec, 24.42 MB]
Initialized Drupal 6.22 root directory at [notice]
/var/aegir/platforms/hostmaster-6.x-1.4 [1.24 sec, 24.42 MB]
Drupal sites directory /var/aegir/platforms/hostmaster-6.x-1.4/sites [message]
is writable by the provisioning script [1.24 sec, 24.42 MB]
This platform is running drupal 6.22 [1.24 sec, 24.42 MB] [notice]
Found 33 modules in base [1.24 sec, 24.42 MB] [notice]
Found 6 themes in base [1.24 sec, 24.42 MB] [notice]
Found install profile default [1.25 sec, 24.43 MB] [notice]
Found install profile hostmaster [1.25 sec, 24.43 MB] [notice]
Found 27 modules in profiles/hostmaster [1.25 sec, 24.43 MB] [notice]
Found 1 themes in profiles/hostmaster [1.25 sec, 24.43 MB] [notice]
Template loaded: [notice]
/var/aegir/.drush/provision/http/apache/platform.tpl.php [1.25 sec,
24.43 MB]
Generated config platform configuration file [1.25 sec, 24.43 MB] [message]
apache on bcmops01.bigcouchmedia.com has been restarted [1.25 sec, [notice]
24.43 MB]
Template loaded: [notice]
/var/aegir/.drush/provision/provision_drushrc.tpl.php [1.25 sec,
24.44 MB]
Changed permissions of [message]
/var/aegir/platforms/hostmaster-6.x-1.4/drushrc.php to 644 [1.25 sec,
24.44 MB]
Generated config Platform Drush configuration file [1.25 sec, 24.44 [message]
MB]
Changed permissions of [message]
/var/aegir/platforms/hostmaster-6.x-1.4/drushrc.php to 444 [1.25 sec,
24.44 MB]
Command dispatch complete [1.25 sec, 24.44 MB] [notice]
Peak memory usage was 12.57 MB [1.25 sec, 24.44 MB] [memory]
Undefined property: stdClass::$task_args hosting_task.module:572 [notice]
[1.25 sec, 24.34 MB]
Command dispatch complete [1.26 sec, 24.27 MB] [notice]
Timer Cum (sec) Count Avg (msec)
page 1.066 1 1066.19
Peak memory usage was 24.49 MB [1.26 sec, 24.27 MB] [memory]
Comments
Comment #1
Anonymous (not verified) commentedThis is also weird
Undefined property: stdClass::$task_args hosting_task.module:548 [notice]
[0.41 sec, 23.21 MB]
What version of PHP are you running? Did you work around this in the end? Sounds like the database was not being communicated with properly, or was corrupt..
Comment #2
aleksey.tk commentedI have exactly the same problem with segmentation fault.
PHP 5.3.3-7+squeeze3
Hostmaster 1.6
I replaced the actual url with "aegir" for security reasons:
For now i can't see any workarounds...
Comment #3
omega8cc commentedNot sure if this is related, but maybe it could help in debugging as it segfaults here on *every* attempt: #1366084: PHP segmentation fault on install with Aegir
Also, I'm moving this to Provision queue, where it belongs.
Comment #4
aleksey.tk commentedit sounds like a Hostmaster issue, maybe with some of contributed module inside profile
Comment #5
rosk0Same error after upgrade for 6.x-1.7. CentOS 6 php 5.3.8.
Comment #6
steven jones commentedThe OP looks to me like an appearance of: #1454316: Provision recurses infinitely on reading in context, please re-open if you can reproduce with the latest Aegir version.