Comments (5)
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.
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.
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.
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.
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)
- Drush 8 error on command line for Drupal 10 install. How to use different Drush versions per platform? HOT 9
- What is the proper way to add php extensions? HOT 2
- Best practice: Help needed to setup the right BOA structure (Barracuda with multiple Octopus servers), Dev, Test, and Production. HOT 3
- How to do legacy up-4.2? HOT 2
- Feature request: Add the following php-extensions HOT 1
- Where is the _HOURLY_DB_BACKUPS variable HOT 1
- Should I remove BOA installed modules like redis from my composer.json file? HOT 2
- Do changes in barracuda.cnf take effect on upgrade or is it instant? HOT 2
- Examples of extra services and apps that might need to be specified in .barracuda.cnf? HOT 1
- Which version of platforms specified in Platforms.txt are run? HOT 4
- How to enable ssl for octopus or master.fqdn barracuda/octopus install? HOT 17
- Adminer Percona manager gives an under construction page HOT 2
- Is it possible to rename master.fqdn to prime.fqdn? HOT 1
- Varbase install from BOA failed HOT 2
- Best practice: static vs. platforms HOT 3
- Fresh Install receiving geoip_country error
- Logrotate: Error running shared postrotate script HOT 1
- Cron / CPU related performance issue since 27th October HOT 2
- Upgrade from Beowulf to Chimaera fails HOT 2
- The Catastrophe or The Christmas Present HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boa.