drush verbose debug output -

Bootstrap to phase 0. [0.03 sec, 2.99 MB]                            [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drush() [0.03 sec, 3.25 MB] [bootstrap]
Bootstrap to phase 1. [0.12 sec, 10.23 MB]                                                                                                                           [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_root() [0.12 sec, 10.23 MB]                                                                                          [bootstrap]
Initialized Drupal 6.20 root directory at /Users/boris/Sites/workspace/drupal/drupal-6.20 [0.14 sec, 11.26 MB]                                                          [notice]
Found command: site-install (commandfile=core) [0.14 sec, 11.26 MB]                                                                                                  [bootstrap]
Initializing drush commandfile: drush_make [0.14 sec, 11.27 MB]                                                                                                      [bootstrap]
Initializing drush commandfile: drush_make_d_o [0.14 sec, 11.27 MB]                                                                                                  [bootstrap]
Initializing drush commandfile: provision [0.14 sec, 11.27 MB]                                                                                                       [bootstrap]
Load alias @self [0.14 sec, 11.27 MB]                                                                                                                                   [notice]
Load alias @server_master [0.14 sec, 11.29 MB]                                                                                                                          [notice]
Initializing drush commandfile: user [0.15 sec, 11.31 MB]                                                                                                            [bootstrap]
You are about to DROP your 'd620_dev' database and then CREATE a new one. Do you want to continue? (y/n): y
Sites directory sites/d620.local already exists - proceeding. [0.15 sec, 11.33 MB]                                                                                      [notice]
Drush bootstrap phase : _drush_bootstrap_drupal_site() [0.15 sec, 11.33 MB]                                                                                          [bootstrap]
Initialized Drupal site d620.local at sites/d620.local [0.15 sec, 11.33 MB]                                                                                             [notice]
Calling system(mysql -v --database=information_schema --host=localhost --user=root --password=******  < /private/var/folders/7w/7wh-f2OiF7ux9ibPc8tvi++++TI/-Tmp-/phpU6ADUk);
--------------
DROP DATABASE IF EXISTS `d620_dev`
--------------

--------------
CREATE DATABASE `d620_dev` /*!40100 DEFAULT CHARACTER SET utf8 */
--------------

--------------
GRANT ALL PRIVILEGES ON `d620_dev`.* TO root@localhost IDENTIFIED BY '********'
--------------

--------------
FLUSH PRIVILEGES
--------------

Executing: php -r 'error_reporting(E_ERROR);$_GET=array("profile"=>"default", "locale"=>"en", "id"=>"1"); $_REQUEST=&$_GET;define("DRUSH_SITE_INSTALL6", TRUE);$_SERVER["SERVER_SOFTWARE"] = NULL;function _cli_cookie_print(){print(serialize(array(session_name()=>session_id())));}
register_shutdown_function("_cli_cookie_print"); include("/Users/boris/Sites/workspace/drupal/drupal-6.20/install.php");'
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link rel="shortcut icon" href="/./misc/favicon.ico" type="image/x-icon" />
      <title>Requirements problem | Drupal</title>
      <link type="text/css" rel="stylesheet" media="all" href="/./modules/system/defaults.css?0" />
  <link type="text/css" rel="stylesheet" media="all" href="/./modules/system/system.css?0" />
  <link type="text/css" rel="stylesheet" media="all" href="/./modules/system/system-menus.css?0" />
  <link type="text/css" rel="stylesheet" media="all" href="/./modules/system/maintenance.css?0" />
  <link type="text/css" rel="stylesheet" media="all" href="/./themes/garland/style.css?0" />
  <link type="text/css" rel="stylesheet" media="all" href="/./themes/garland/minnelli/minnelli.css?0" />
  <link type="text/css" rel="stylesheet" media="print" href="/./themes/garland/print.css?0" />
          <!--[if lt IE 7]>
        <link type="text/css" rel="stylesheet" media="all" href="/./themes/garland/fix-ie.css" />    <![endif]-->
    </head>
    <body class="sidebar-left">
  
  <!-- Layout -->
    <div id="header-region" class="clear-block"></div>
  
      <div id="wrapper">
      <div id="container" class="clear-block">
  
        <div id="header">
          <div id="logo-floater">
          <h1><a href="/./" title="Drupal"><img src="/./themes/garland/minnelli/logo.png" alt="Drupal" id="logo" /><span>Drupal</span></a></h1>        </div>
  
        </div> <!-- /header -->
  
                <div id="sidebar-left" class="sidebar">
                      <ol class="task-list"><li class="done">Choose language</li><li class="active">Verify requirements</li><li class="">Set up database</li><li class="">Install site</li><li class="">Configure site</li><li class="">Finished</li></ol>        </div>
  
        <div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
            <h2>Requirements problem</h2>                    <h3>The following error must be resolved before you can continue the installation process:</h3><div class="messages error">
  The Drupal installer requires that you create a settings file as part of the installation process.
  <ol>
  <li>Copy the <em>./sites/default/default.settings.php</em> file to <em>./sites/default/settings.php</em>.</li>
  <li>Change file permissions so that it is writable by the web server. If you are unsure how to grant file permissions, please consult the <a href="http://drupal.org/server-permissions">on-line handbook</a>.</li>
  </ol>
  More details about installing Drupal are available in INSTALL.txt.</div>
            <div class="clear-block">
              <p>Please check the error messages and <a href="/-?-">try again</a>.</p>          </div>
            <div id="footer"></div>
        </div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center -->
  
  
      </div> <!-- /container -->
    </div>
  <!-- /layout -->
  
    </body>
  </html>
  a:1:{s:36:"SESS1eda84c8ae5fd28c2b7f53d34b9dccdf";s:0:"";}
Executing: php -r '$_GET=array("profile"=>"default", "locale"=>"en", "id"=>"1"); $_REQUEST=&$_GET;define("DRUSH_SITE_INSTALL6", TRUE);$_SERVER["SERVER_SOFTWARE"] = NULL;$_COOKIE=unserialize("a:1:{s:36:\"SESS1eda84c8ae5fd28c2b7f53d34b9dccdf\";s:0:\"\";}"); $_GET["op"]="start"; include("/Users/boris/Sites/workspace/drupal/drupal-6.20/install.php");'
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link rel="shortcut icon" href="/./misc/favicon.ico" type="image/x-icon" />
      <title>Requirements problem | Drupal</title>
      <link type="text/css" rel="stylesheet" media="all" href="/./modules/system/defaults.css?0" />
  <link type="text/css" rel="stylesheet" media="all" href="/./modules/system/system.css?0" />
  <link type="text/css" rel="stylesheet" media="all" href="/./modules/system/system-menus.css?0" />
  <link type="text/css" rel="stylesheet" media="all" href="/./modules/system/maintenance.css?0" />
  <link type="text/css" rel="stylesheet" media="all" href="/./themes/garland/style.css?0" />
  <link type="text/css" rel="stylesheet" media="all" href="/./themes/garland/minnelli/minnelli.css?0" />
  <link type="text/css" rel="stylesheet" media="print" href="/./themes/garland/print.css?0" />
          <!--[if lt IE 7]>
        <link type="text/css" rel="stylesheet" media="all" href="/./themes/garland/fix-ie.css" />    <![endif]-->
    </head>
    <body class="sidebar-left">
  
  <!-- Layout -->
    <div id="header-region" class="clear-block"></div>
  
      <div id="wrapper">
      <div id="container" class="clear-block">
  
        <div id="header">
          <div id="logo-floater">
          <h1><a href="/./" title="Drupal"><img src="/./themes/garland/minnelli/logo.png" alt="Drupal" id="logo" /><span>Drupal</span></a></h1>        </div>
  
        </div> <!-- /header -->
  
                <div id="sidebar-left" class="sidebar">
                      <ol class="task-list"><li class="done">Choose language</li><li class="active">Verify requirements</li><li class="">Set up database</li><li class="">Install site</li><li class="">Configure site</li><li class="">Finished</li></ol>        </div>
  
        <div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
            <h2>Requirements problem</h2>                    <h3>The following error must be resolved before you can continue the installation process:</h3><div class="messages error">
  The Drupal installer requires that you create a settings file as part of the installation process.
  <ol>
  <li>Copy the <em>./sites/default/default.settings.php</em> file to <em>./sites/default/settings.php</em>.</li>
  <li>Change file permissions so that it is writable by the web server. If you are unsure how to grant file permissions, please consult the <a href="http://drupal.org/server-permissions">on-line handbook</a>.</li>
  </ol>
  More details about installing Drupal are available in INSTALL.txt.</div>
            <div class="clear-block">
              <p>Please check the error messages and <a href="/-?-">try again</a>.</p>          </div>
            <div id="footer"></div>
        </div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center -->
  
  
      </div> <!-- /container -->
    </div>
  <!-- /layout -->
  
    </body>
  </html>
Executing: php -r '$_GET=array("profile"=>"default", "locale"=>"en", "id"=>"1"); $_REQUEST=&$_GET;define("DRUSH_SITE_INSTALL6", TRUE);$_SERVER["SERVER_SOFTWARE"] = NULL;$_COOKIE=unserialize("a:1:{s:36:\"SESS1eda84c8ae5fd28c2b7f53d34b9dccdf\";s:0:\"\";}"); $_GET["op"]="do_nojs"; include("/Users/boris/Sites/workspace/drupal/drupal-6.20/install.php");'
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link rel="shortcut icon" href="/./misc/favicon.ico" type="image/x-icon" />
      <title>Requirements problem | Drupal</title>
      <link type="text/css" rel="stylesheet" media="all" href="/./modules/system/defaults.css?0" />
  <link type="text/css" rel="stylesheet" media="all" href="/./modules/system/system.css?0" />
  <link type="text/css" rel="stylesheet" media="all" href="/./modules/system/system-menus.css?0" />
  <link type="text/css" rel="stylesheet" media="all" href="/./modules/system/maintenance.css?0" />
  <link type="text/css" rel="stylesheet" media="all" href="/./themes/garland/style.css?0" />
  <link type="text/css" rel="stylesheet" media="all" href="/./themes/garland/minnelli/minnelli.css?0" />
  <link type="text/css" rel="stylesheet" media="print" href="/./themes/garland/print.css?0" />
          <!--[if lt IE 7]>
        <link type="text/css" rel="stylesheet" media="all" href="/./themes/garland/fix-ie.css" />    <![endif]-->
    </head>
    <body class="sidebar-left">
  
  <!-- Layout -->
    <div id="header-region" class="clear-block"></div>
  
      <div id="wrapper">
      <div id="container" class="clear-block">
  
        <div id="header">
          <div id="logo-floater">
          <h1><a href="/./" title="Drupal"><img src="/./themes/garland/minnelli/logo.png" alt="Drupal" id="logo" /><span>Drupal</span></a></h1>        </div>
  
        </div> <!-- /header -->
  
                <div id="sidebar-left" class="sidebar">
                      <ol class="task-list"><li class="done">Choose language</li><li class="active">Verify requirements</li><li class="">Set up database</li><li class="">Install site</li><li class="">Configure site</li><li class="">Finished</li></ol>        </div>
  
        <div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
            <h2>Requirements problem</h2>                    <h3>The following error must be resolved before you can continue the installation process:</h3><div class="messages error">
  The Drupal installer requires that you create a settings file as part of the installation process.
  <ol>
  <li>Copy the <em>./sites/default/default.settings.php</em> file to <em>./sites/default/settings.php</em>.</li>
  <li>Change file permissions so that it is writable by the web server. If you are unsure how to grant file permissions, please consult the <a href="http://drupal.org/server-permissions">on-line handbook</a>.</li>
  </ol>
  More details about installing Drupal are available in INSTALL.txt.</div>
            <div class="clear-block">
              <p>Please check the error messages and <a href="/-?-">try again</a>.</p>          </div>
            <div id="footer"></div>
        </div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center -->
  
  
      </div> <!-- /container -->
    </div>
  <!-- /layout -->
  
    </body>
  </html>
Executing: php -r '$_GET=array("profile"=>"default", "locale"=>"en", "id"=>"1"); $_REQUEST=&$_GET;define("DRUSH_SITE_INSTALL6", TRUE);$_SERVER["SERVER_SOFTWARE"] = NULL;$_COOKIE=unserialize("a:1:{s:36:\"SESS1eda84c8ae5fd28c2b7f53d34b9dccdf\";s:0:\"\";}"); $_GET["op"]="finished"; include("/Users/boris/Sites/workspace/drupal/drupal-6.20/install.php");'
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link rel="shortcut icon" href="/./misc/favicon.ico" type="image/x-icon" />
      <title>Requirements problem | Drupal</title>
      <link type="text/css" rel="stylesheet" media="all" href="/./modules/system/defaults.css?0" />
  <link type="text/css" rel="stylesheet" media="all" href="/./modules/system/system.css?0" />
  <link type="text/css" rel="stylesheet" media="all" href="/./modules/system/system-menus.css?0" />
  <link type="text/css" rel="stylesheet" media="all" href="/./modules/system/maintenance.css?0" />
  <link type="text/css" rel="stylesheet" media="all" href="/./themes/garland/style.css?0" />
  <link type="text/css" rel="stylesheet" media="all" href="/./themes/garland/minnelli/minnelli.css?0" />
  <link type="text/css" rel="stylesheet" media="print" href="/./themes/garland/print.css?0" />
          <!--[if lt IE 7]>
        <link type="text/css" rel="stylesheet" media="all" href="/./themes/garland/fix-ie.css" />    <![endif]-->
    </head>
    <body class="sidebar-left">
  
  <!-- Layout -->
    <div id="header-region" class="clear-block"></div>
  
      <div id="wrapper">
      <div id="container" class="clear-block">
  
        <div id="header">
          <div id="logo-floater">
          <h1><a href="/./" title="Drupal"><img src="/./themes/garland/minnelli/logo.png" alt="Drupal" id="logo" /><span>Drupal</span></a></h1>        </div>
  
        </div> <!-- /header -->
  
                <div id="sidebar-left" class="sidebar">
                      <ol class="task-list"><li class="done">Choose language</li><li class="active">Verify requirements</li><li class="">Set up database</li><li class="">Install site</li><li class="">Configure site</li><li class="">Finished</li></ol>        </div>
  
        <div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
            <h2>Requirements problem</h2>                    <h3>The following error must be resolved before you can continue the installation process:</h3><div class="messages error">
  The Drupal installer requires that you create a settings file as part of the installation process.
  <ol>
  <li>Copy the <em>./sites/default/default.settings.php</em> file to <em>./sites/default/settings.php</em>.</li>
  <li>Change file permissions so that it is writable by the web server. If you are unsure how to grant file permissions, please consult the <a href="http://drupal.org/server-permissions">on-line handbook</a>.</li>
  </ol>
  More details about installing Drupal are available in INSTALL.txt.</div>
            <div class="clear-block">
              <p>Please check the error messages and <a href="/-?-">try again</a>.</p>          </div>
            <div id="footer"></div>
        </div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center -->
  
  
      </div> <!-- /container -->
    </div>
  <!-- /layout -->
  
    </body>
  </html>
Executing: php -r '$_GET=array("profile"=>"default", "locale"=>"en", "id"=>"1"); $_REQUEST=&$_GET;define("DRUSH_SITE_INSTALL6", TRUE);$_SERVER["SERVER_SOFTWARE"] = NULL;$_COOKIE=unserialize("a:1:{s:36:\"SESS1eda84c8ae5fd28c2b7f53d34b9dccdf\";s:0:\"\";}");
  $_POST = array (
    "site_name" => "Site-Install", 
    "site_mail" => "admin@example.com", 
    "account" => array (
      "name" => "admin",
      "mail" => "admin@example.com",
      "pass" => array (
        "pass1" => "admin",
        "pass2" => "admin"
      )
    ),
    "date_default_timezone"=>"0", 
    "clean_url"=>1,
    "form_id"=>"install_configure_form", 
    "update_status_module" => array("1"=>"1")
  );
  include("/Users/boris/Sites/workspace/drupal/drupal-6.20/install.php");'
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link rel="shortcut icon" href="/./misc/favicon.ico" type="image/x-icon" />
      <title>Requirements problem | Drupal</title>
      <link type="text/css" rel="stylesheet" media="all" href="/./modules/system/defaults.css?0" />
  <link type="text/css" rel="stylesheet" media="all" href="/./modules/system/system.css?0" />
  <link type="text/css" rel="stylesheet" media="all" href="/./modules/system/system-menus.css?0" />
  <link type="text/css" rel="stylesheet" media="all" href="/./modules/system/maintenance.css?0" />
  <link type="text/css" rel="stylesheet" media="all" href="/./themes/garland/style.css?0" />
  <link type="text/css" rel="stylesheet" media="all" href="/./themes/garland/minnelli/minnelli.css?0" />
  <link type="text/css" rel="stylesheet" media="print" href="/./themes/garland/print.css?0" />
          <!--[if lt IE 7]>
        <link type="text/css" rel="stylesheet" media="all" href="/./themes/garland/fix-ie.css" />    <![endif]-->
    </head>
    <body class="sidebar-left">
  
  <!-- Layout -->
    <div id="header-region" class="clear-block"></div>
  
      <div id="wrapper">
      <div id="container" class="clear-block">
  
        <div id="header">
          <div id="logo-floater">
          <h1><a href="/./" title="Drupal"><img src="/./themes/garland/minnelli/logo.png" alt="Drupal" id="logo" /><span>Drupal</span></a></h1>        </div>
  
        </div> <!-- /header -->
  
                <div id="sidebar-left" class="sidebar">
                      <ol class="task-list"><li class="done">Choose language</li><li class="active">Verify requirements</li><li class="">Set up database</li><li class="">Install site</li><li class="">Configure site</li><li class="">Finished</li></ol>        </div>
  
        <div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
            <h2>Requirements problem</h2>                    <h3>The following error must be resolved before you can continue the installation process:</h3><div class="messages error">
  The Drupal installer requires that you create a settings file as part of the installation process.
  <ol>
  <li>Copy the <em>./sites/default/default.settings.php</em> file to <em>./sites/default/settings.php</em>.</li>
  <li>Change file permissions so that it is writable by the web server. If you are unsure how to grant file permissions, please consult the <a href="http://drupal.org/server-permissions">on-line handbook</a>.</li>
  </ol>
  More details about installing Drupal are available in INSTALL.txt.</div>
            <div class="clear-block">
              <p>Please check the error messages and <a href="/-?-">try again</a>.</p>          </div>
            <div id="footer"></div>
        </div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center -->
  
  
      </div> <!-- /container -->
    </div>
  <!-- /layout -->
  
    </body>
  </html>
Command dispatch complete [8.67 sec, 11.81 MB]                                                                                                                          [notice]
Peak memory usage was 11.91 MB [8.67 sec, 11.81 MB]                                                                                                                     [memory]
CommentFileSizeAuthor
#3 drush-1004476.patch2.71 KBjonhattan

Comments

boztek’s picture

Command was ... (woops)

drush -y -v --debug si --db-url=mysqli://root:*******@localhost/d620_dev --sites-subdir="d620.local"

jonhattan’s picture

Title: Drupal 6 site install fails complaining about settings.php permissions » site-install doesn't work for d6 when installing in a subdir
Priority: Normal » Critical

conf_path() doesn't recognize the subdir and defaults to sites/default

jonhattan’s picture

Status: Active » Needs review
StatusFileSize
new2.71 KB

it's needed to fill $_SERVER["SCRIPT_NAME"] and $_SERVER["HTTP_HOST"]

boztek’s picture

Works here - thanks!

jonhattan’s picture

Status: Needs review » Fixed

It's also needed to set $_SERVER['REMOTE_ADDR'] to not get a warning in php 5.3 & E_STRICT mode.

Committed.

owen barton’s picture

I just ran into this bug and found that the fix was committed literally minutes before I went to look for an existing issue. Thanks borg000 and jonhattan :)

Status: Fixed » Closed (fixed)

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