Installed Aegir with this: http://groups.drupal.org/node/84074 on Debian Lenny.

Created a platform out of my Drupal 6.16 site. All of its modules were in sites/all/modules as well as themes, so I moved them all to sites/xxxxxxx.xxx/modules / themes, as well as sites/default/files. Created a new settings.php for my site (just copied the one in default that was working).

Dumped my db from old site, recreated it on Aegir server. It imports the platform fine, but the site fails with these errors:

Task starts processing
Running: /var/aegir/drush/drush.php --uri='roguevalleyroses.com' provision-save '@roguevalleyroses.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_RogueRoses
Load alias @server_master
Loading mysql driver for the db service
Loading nginx driver for the http service
Load alias @roguevalleyroses.com
Template loaded: /var/aegir/.drush/provision/provision_drushrc_alias.tpl.php
Changed permissions of /var/aegir/.drush/roguevalleyroses.com.alias.drushrc.php to 600
Generated config Drush configuration file
Changed permissions of /var/aegir/.drush/roguevalleyroses.com.alias.drushrc.php to 400
Command dispatch complete
Peak memory usage was 4.13 MB
Running: /var/aegir/drush/drush.php @roguevalleyroses.com provision-import --backend
The external command could not be executed due to an application error.
Drush bootstrap phase : _drush_bootstrap_drush()
Load alias @roguevalleyroses.com
Drush bootstrap phase : _drush_bootstrap_drupal_root()
Loading drushrc "/var/aegir/platform/rogueroses/drushrc.php" into "drupal" scope.
Initialized Drupal 6.16 root directory at /var/aegir/platform/rogueroses
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_RogueRoses
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 roguevalleyroses.com at sites/roguevalleyroses.com
Drush bootstrap phase : _drush_bootstrap_drupal_configuration()
Use of undefined constant HTTP_HOST - assumed 'HTTP_HOST' global.inc:6
parse_url(://:@/): Unable to parse URL environment.inc:697
Drush command could not be completed.
Output from failed command : Fatal error: Unsupported operand types in /var/aegir/drush/includes/environment.inc on line 698
An error occurred at function : drush_hosting_task
Command dispatch complete
Peak memory usage was 13.59 MB

ideas?

Comments

zkrebs’s picture

Title: Site Hosting Files » Aegir (Barracuda Aegir) fails to import site
carligraph’s picture

Issue tags: +drush, +import, +hosting, +site

i have the same problem, with one site, which was not installed inside a multisite environment until now.

--8<--

parse_url(://:@/): Unable to parse URL environment.inc:697
Drush command could not be completed.
Output from failed command : Fatal error: Unsupported operand types in /var/aegir/drush/includes/environment.inc on line 698
An error occurred at function : drush_hosting_task

-->8--

did you ever find a solution for this ?

zkrebs’s picture

zkrebs’s picture

Status: Active » Needs review
Anonymous’s picture

Status: Needs review » Fixed

yes this is likely the same issue that was resolved per the link in #3. apply that patch and it should work.

Status: Fixed » Closed (fixed)
Issue tags: -drush, -import, -hosting, -site

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