My setup:

Drupal 5.18
Drush HEAD
Hosting DRUPAL-5 Branch
Provision HEAD

I've been using 0.2 sucessfully for some time but in some of the recent cvs updates the queues stopped executing.

When I execute "drush hosting dispatch" manually I get this error:

Fatal error: Call to undefined function hosting_get_queues() in /var/drupal/aegir-5.x-0.2/sites/default/modules/hosting/hosting.drush.inc on line 15

Call Stack:
    0.0072     110240   1. {main}() /var/drupal/drush/drush.php:0
    0.0409     800828   2. drush_main() /var/drupal/drush/drush.php:38
    0.2208    3463112   3. drush_parse_command() /var/drupal/drush/drush.php:73
    0.2208    3463112   4. drush_get_commands() /var/drupal/drush/includes/command.inc:153
    0.2225    3469696   5. hosting_drush_command() /var/drupal/drush/includes/command.inc:90

Drush command could not be completed.                                [error]

I've been debugging for a while but I didn't find a solution. I've tried to put an include to hosting.queues.inc in hosting.drush.inc but then undefined function is t().

Comments

adrian’s picture

Category: bug » support
Priority: Critical » Normal
Status: Active » Fixed

your files are stored incorrectly.

the modules need to be in profiles/hostmaster/modules

This is explained in several places including the INSTALL.txt , the install screencast and the wiki.

Pedro Lozano’s picture

Thanks adrian.

I didn't read those instructions since I've been using aegir 0.1 and 0.2 for some time and in the old instructions hosting was intalled in sites/default/modules/hosting. My 0.2 setup did work in the past and stopped working in one of the recent updates, so I gess this is a recent requeriment.

Status: Fixed » Closed (fixed)

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

fxarte’s picture

Where is the INSTALL.txt?

steven jones’s picture

fxarte’s picture

Thank you