Closed (fixed)
Project:
Provision
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Apr 2009 at 01:42 UTC
Updated:
5 May 2010 at 01:30 UTC
Jump to comment: Most recent
Drupal-7.x (as of today's HEAD) is severely broken:
Status: Succesful
Executed: Wed, 04/29/2009 - 01:38
Site: d7.test.koumbit.net
Task starts processing
Running: php /var/aegir/drush/drush.php --root='/var/aegir/drupal-7.x' 'provision' 'install' 'd7.test.koumbit.net' --backend
Removing task from hosting queue
warning: Invalid argument supplied for foreach() in /srv/aegir/drupal-5.x/sites/default/modules/hosting/package/hosting_package.module on line 289.
warning: array_key_exists(): The second argument should be either an array or an object in /srv/aegir/drupal-5.x/sites/default/modules/hosting/package/hosting_package.instance.inc on line 28.
warning: array_key_exists(): The second argument should be either an array or an object in /srv/aegir/drupal-5.x/sites/default/modules/hosting/package/hosting_package.instance.inc on line 28.
warning: array_key_exists(): The second argument should be either an array or an object in /srv/aegir/drupal-5.x/sites/default/modules/hosting/package/hosting_package.instance.inc on line 28.
warning: array_key_exists(): The second argument should be either an array or an object in /srv/aegir/drupal-5.x/sites/default/modules/hosting/package/hosting_package.instance.inc on line 28.
warning: array_key_exists(): The second argument should be either an array or an object in /srv/aegir/drupal-5.x/sites/default/modules/hosting/package/hosting_package.instance.inc on line 28.
Notice how the site has totally failed to installed but is nevertheless marked as installed.
I do not consider this release critical at this point.
Comments
Comment #1
anarcat commentedThis has progressed a little, but doesn't work in alpha5:
Comment #2
mathieu commentedI didn't do anything special and it worked fine for me in HEAD.
Comment #3
robin van emden commentedI get the exact same error as Anarcat, using Drupal 7 head and Provision head
Comment #4
Anonymous (not verified) commentedI'm reproducing, a shame since it used to work.
What's incredible is that I am seeing install.php html in my --debug trace:
[0.09 sec, 4.35 MB] [message]
@import url("http://2-d7.mig5-forge.net/modules/system/system.css?0"); @import url("http://2-d7.mig5-forge.net/modules/system/system-behavior.css?0"); @import url("http://2-d7.mig5-forge.net/modules/system/system-menus.css?0"); @import url("http://2-d7.mig5-forge.net/modules/system/maintenance.css?0"); @import url("http://2-d7.mig5-forge.net/modules/system/admin.css?0");@import url("http://2-d7.mig5-forge.net/themes/seven/reset.css?0"); @import url("http://2-d7.mig5-forge.net/themes/seven/style.css?0");Changed permissions of
sites/2-d7.mig5-forge.netto 0755 [0.09 sec, 4.35 MB] [message]Created
sites/2-d7.mig5-forge.net/themes[0.09 sec, 4.35 MB] [message]Changed permissions of
sites/2-d7.mig5-forge.net/themesto 2775 [0.09 sec, 4.35 MB] [message]Created
sites/2-d7.mig5-forge.net/modules[0.09 sec, 4.35 MB] [message]Changed permissions of
sites/2-d7.mig5-forge.net/modulesto 2775 [0.09 sec, 4.35 MB] [message]Created
sites/2-d7.mig5-forge.net/libraries[0.09 sec, 4.35 MB] [message]Changed permissions of
sites/2-d7.mig5-forge.net/librariesto 2775 [0.09 sec, 4.36 MB] [message]Created
sites/2-d7.mig5-forge.net/private[0.09 sec, 4.36 MB] [message]Changed permissions of
sites/2-d7.mig5-forge.net/privateto 0755 [0.09 sec, 4.36 MB] [message]Created
sites/2-d7.mig5-forge.net/private/files[0.09 sec, 4.36 MB] [message]Changed permissions of
sites/2-d7.mig5-forge.net/private/filesto 2770 [0.09 sec, 4.36 MB] [message]Created
sites/2-d7.mig5-forge.net/private/temp[0.09 sec, 4.36 MB] [message]Changed permissions of
sites/2-d7.mig5-forge.net/private/tempto 2770 [0.09 sec, 4.36 MB] [message]Created
sites/2-d7.mig5-forge.net/files[0.09 sec, 4.36 MB] [message]Changed permissions of
sites/2-d7.mig5-forge.net/filesto 2770 [0.09 sec, 4.36 MB] [message]Created
sites/2-d7.mig5-forge.net/files/tmp[0.09 sec, 4.36 MB] [message]Changed permissions of
sites/2-d7.mig5-forge.net/files/tmpto 2770 [0.09 sec, 4.36 MB] [message]Created
sites/2-d7.mig5-forge.net/files/images[0.09 sec, 4.36 MB] [message]Changed permissions of
sites/2-d7.mig5-forge.net/files/imagesto 2770 [0.09 sec, 4.36 MB] [message]Created
sites/2-d7.mig5-forge.net/files/pictures[0.09 sec, 4.36 MB] [message]Changed permissions of
sites/2-d7.mig5-forge.net/files/picturesto 2770 [0.09 sec, 4.36 MB] [message]Changed ownership of
sites/2-d7.mig5-forge.net/files[0.09 sec, 4.36 MB] [message]Changed ownership of
sites/2-d7.mig5-forge.net/private[0.09 sec, 4.37 MB] [message]Changed group ownership of
sites/2-d7.mig5-forge.net/files[0.09 sec, 4.37 MB] [message]Changed group ownership of
sites/2-d7.mig5-forge.net/private/files[0.09 sec, 4.37 MB] [message]Changed group ownership of
sites/2-d7.mig5-forge.net/private/temp[0.09 sec, 4.37 MB] [message]Granting privileges to 2d7mig5forgene@localhost on class="placeholder">2d7mig5forgene [0.09 sec, 4.38 MB]
Created 2d7mig5forgene database [0.1 sec, 4.38 MB] [0;33;40m[1m[success][0m
Generate settings.php file [0.1 sec, 4.38 MB] [notice]
Changed permissions of settings.php to 0440 [0.1 sec, 4.39 MB] [message]
Change group ownership of settings.php to www-data [0.1 sec, 4.39 MB] [message]
Drush bootstrap phase : _drush_bootstrap_drupal_site() [0.1 sec, 4.38 MB] [bootstrap]
Initialized Drupal site 2-d7.mig5-forge.net at sites/2-d7.mig5-forge.net [0.1 sec, 4.38 MB] [notice]
Including version specific file : /var/aegir/.drush/provision/platform/drupal/install_7.inc [0.1 sec, 4.39 MB] [notice]
Constant DRUPAL_ROOT already defined install.php:12 [0.1 sec, 4.42 MB] [notice]
Constant MAINTENANCE_MODE already defined install.php:17 [0.1 sec, 4.42 MB] [notice]
WD php: Warning: Cannot modify header information - headers already sent by (output started at /var/aegir/drush/includes/drush.inc:660) in [1;33;40m[1m[warning][0m
drupal_send_headers() (line 1014 of /var/aegir/drupal-7.x-dev/includes/bootstrap.inc). [0.36 sec, 10.42 MB]
WD php: Warning: Cannot modify header information - headers already sent by (output started at /var/aegir/drush/includes/drush.inc:660) in [1;33;40m[1m[warning][0m
drupal_send_headers() (line 1014 of /var/aegir/drupal-7.x-dev/includes/bootstrap.inc). [0.36 sec, 10.43 MB]
WD php: Warning: Cannot modify header information - headers already sent by (output started at /var/aegir/drush/includes/drush.inc:660) in [1;33;40m[1m[warning][0m
drupal_send_headers() (line 1014 of /var/aegir/drupal-7.x-dev/includes/bootstrap.inc). [0.36 sec, 10.43 MB]
WD php: Warning: Cannot modify header information - headers already sent by (output started at /var/aegir/drush/includes/drush.inc:660) in [1;33;40m[1m[warning][0m
drupal_send_headers() (line 1014 of /var/aegir/drupal-7.x-dev/includes/bootstrap.inc). [0.36 sec, 10.43 MB]
WD php: Warning: Cannot modify header information - headers already sent by (output started at /var/aegir/drush/includes/drush.inc:660) in [1;33;40m[1m[warning][0m
drupal_send_headers() (line 1014 of /var/aegir/drupal-7.x-dev/includes/bootstrap.inc). [0.36 sec, 10.44 MB]
WD php: Warning: Cannot modify header information - headers already sent by (output started at /var/aegir/drush/includes/drush.inc:660) in [1;33;40m[1m[warning][0m
drupal_send_headers() (line 1014 of /var/aegir/drupal-7.x-dev/includes/bootstrap.inc). [0.36 sec, 10.46 MB]
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Select an installation profile | Drupal
Installation tasks
The following errors must be resolved before you can continue the installation process:
Check the error messages and try again.
Drush command could not be completed. [0.36 sec, 10.45 MB] [31;40m[1m[error][0m
Comment #5
robin van emden commentedSeems to have to do with the definition and then later forbidden redefinition of DRUPAL_ROOT and MAINTENANCE_MODE
They are defined in Drupal 7 install.php, see also http://drupal.org/node/524728
But later drush defines at drush/includes/environment.inc:523:
and drush/commands/core/site_install.drush.inc:78:
And in provision .drush/provision/platform/drupal/install_7.inc:12:
Comment #6
adrian commentedthe redefinition of a global is a notice or warning at best, not an error.
Comment #7
omega8cc commentedSame here for both d7 dev and alpha2, with latest Aegir HEAD.
http://skitch.com/omega8cc/n3ikp/picture-3
Comment #8
DanielJohnston commentedSubscribing - same error with alpha6 aegir and alpha3 D7.
Comment #9
lloydpearsoniv commentedsubscribing as well
Comment #10
Anonymous (not verified) commentedThis has been fixed and has made it into the latest alpha7 release.
Rejoice! At least until the next time they change things behind our backs again :)