Giter Site home page Giter Site logo

Comments (5)

omega8cc avatar omega8cc commented on July 17, 2024

If you are importing a site previously running on Aegir with Apache, make sure the settings.php file contains readable database credentials, exactly as it is with any standalone Drupal site.

from boa.

zkrebs avatar zkrebs commented on July 17, 2024

Reinstalled whole server, copied default.settings.php to settings.php, reran (now on HEAD Aegir). This is a Drupal 6.16 site - is there something incompatible with its settings.php? Also tried using a blank 6.18 settings.php file with my DB credentials. Also CHMOD -R whole directory 777. what else could i try?

Task starts processing
Running: /var/aegir/drush/drush.php --uri='xxx.xxxxxxx.com' provision-save '@xxx.xxxxxxx.com' --backend
Drush bootstrap phase : _drush_bootstrap_drush()
Found command: provision-save (commandfile=provision)
Initializing drush commandfile: drush_make
Initializing drush commandfile: drush_make_d_o
Initializing drush commandfile: provision
Load alias @self
Load alias @platform_Drupal616RVR
Load alias @server_master
Loading mysql driver for the db service
Loading nginx driver for the http service
Load alias @xxx.xxxxxxx.com
Template loaded: /var/aegir/.drush/provision/provision_drushrc_alias.tpl.php
Changed permissions of /var/aegir/.drush/xxx.xxxxxxx.com.alias.drushrc.php to 600
Generated config Drush configuration file
Changed permissions of /var/aegir/.drush/xxx.xxxxxxx.com.alias.drushrc.php to 400
Command dispatch complete
Peak memory usage was 4.14 MB
Running: /var/aegir/drush/drush.php @xxx.xxxxxxx.com provision-import --backend
Drush bootstrap phase : _drush_bootstrap_drush()
Load alias @xxx.xxxxxxx.com
Drush bootstrap phase : _drush_bootstrap_drupal_root()
Loading drushrc "/var/aegir/platforms/drupal-6.16/drushrc.php" into "drupal" scope.
Initialized Drupal 6.16 root directory at /var/aegir/platforms/drupal-6.16
Found command: provision-import (commandfile=provision)
Initializing drush commandfile: drush_make
Initializing drush commandfile: drush_make_d_o
Initializing drush commandfile: provision
Load alias @platform_Drupal616RVR
Load alias @server_master
Loading mysql driver for the db service
Loading nginx driver for the http service
Including /var/aegir/.drush/provision/platform/import.provision.inc
Drush bootstrap phase : _drush_bootstrap_drupal_site()
Initialized Drupal site xxx.xxxxxxx.com at sites/xxx.xxxxxxx.com
Drush bootstrap phase : _drush_bootstrap_drupal_configuration()
Drush bootstrap phase : _drush_bootstrap_drupal_database()
Successfully connected to the Drupal database.
Drush bootstrap phase : _drush_bootstrap_drupal_full()
Template loaded: /var/aegir/.drush/provision/provision_drushrc_alias.tpl.php
Changed permissions of /var/aegir/.drush/xxx.xxxxxxx.com.alias.drushrc.php to 600
Generated config Drush configuration file
Changed permissions of /var/aegir/.drush/xxx.xxxxxxx.com.alias.drushrc.php to 400
Running: /var/aegir/drush/drush.php @xxx.xxxxxxx.com provision-verify --backend
The external command could not be executed due to an application error.
Drush bootstrap phase : _drush_bootstrap_drush()
Load alias @xxx.xxxxxxx.com
Found command: provision-verify (commandfile=provision)
Initializing drush commandfile: drush_make
Initializing drush commandfile: drush_make_d_o
Initializing drush commandfile: provision
Load alias @platform_Drupal616RVR
Load alias @server_master
Loading mysql driver for the db service
Loading nginx driver for the http service
Including /var/aegir/.drush/provision/platform/backupmigrate/verify.provision.inc
Including /var/aegir/.drush/provision/platform/verify.provision.inc
Drush bootstrap phase : _drush_bootstrap_drupal_root()
Loading drushrc "/var/aegir/platforms/drupal-6.16/drushrc.php" into "drupal" scope.
Initialized Drupal 6.16 root directory at /var/aegir/platforms/drupal-6.16
Drush bootstrap phase : _drush_bootstrap_drupal_site()
Initialized Drupal site xxx.xxxxxxx.com at sites/xxx.xxxxxxx.com
Undefined index: db_type provision_drupal.drush.inc:140
Undefined index: db_user provision_drupal.drush.inc:140
Undefined index: db_passwd provision_drupal.drush.inc:140
Undefined index: db_host provision_drupal.drush.inc:140
Undefined index: db_name provision_drupal.drush.inc:140
Undefined index: db_port provision_drupal.drush.inc:140
Template loaded: /var/aegir/.drush/provision/platform/provision_drupal_settings.tpl.php
Changed permissions of /var/aegir/platforms/drupal-6.16/sites/xxx.xxxxxxx.com/settings.php to 640
Generated config Drupal settings.php file
Changed permissions of /var/aegir/platforms/drupal-6.16/sites/xxx.xxxxxxx.com/settings.php to 440
Change group ownership of /var/aegir/platforms/drupal-6.16/sites/xxx.xxxxxxx.com/settings.php to www-data
Drush bootstrap phase : _drush_bootstrap_drupal_configuration()
Drush command could not be completed.
Output from failed command :
An error occurred at function : drush_provision_drupal_post_provision_import
Command dispatch complete
Peak memory usage was 9.95 MB
Output from failed command :
An error occurred at function : drush_hosting_task
Command dispatch complete
Peak memory usage was 12.54 MB

from boa.

 avatar commented on July 17, 2024

This appears to be an Aegir issue and not a Barracuda only issue. See this aegir issue: http://drupal.org/node/882970#comment-3367286

from boa.

omega8cc avatar omega8cc commented on July 17, 2024

It is probably not related to Barracuda or Nginx. Sounds like a bug in Aegir itself. I have seen this on a few imported sites, while most of them work w/o any issues, so it needs further investigation http://drupal.org/node/882970.

from boa.

omega8cc avatar omega8cc commented on July 17, 2024

FYI: I had to stop all our migrations from alpha8 to alpha12, it breaks too many sites imports horribly. The same sites can be imported as custom platforms without any little issue on alpha8, while it is impossible to import them to alpha12, even when I will create before the import the settings.php file with new formats for db access etc. It resists to empty all credentials in settings.php and simply fails with all those "Undefined index: db_type provision_drupal.drush.inc:140", so it fails here:

foreach (array('db_type', 'db_user', 'db_passwd', 'db_host', 'db_name', 'db_port') as $key) {

$this->creds[$key] = ($cloaked) ? "\$_SERVER[{$key}]" : urldecode($this->data[$key]);

}

Extremely frustrated. Back to debugging it.

from boa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.