Having heard about aegir at a recent DrupalCamp, I thought I'd give it a whirl.
Following http://groups.drupal.org/node/4701/install instructions but using tarballs instead of cvs
I set up all the directories and permissions and pointed my browser at my devbox, so far so good.
Once it reached the point of needing me to run drush things got a bit sticky.
drush is in $PATH
I also tried these commands using a full path straight to drush.php, same result.
I su'd in as user aegir, cd and ran
-0-aegir@whs1:~/drupal # drush hosting setup
Fatal error: Call to undefined function hosting_get_queues() in /home/aegir/drupal-6.12/sites/default/modules/hosting/hosting.drush.inc on line 15
Drush command could not be completed. [error]
So I added
include_once("hosting.queues.inc");
to the top of hosting.drush.inc and it found the function hosting_get_queues()
-255-aegir@whs1:~/drupal # drush hosting setup
Fatal error: Call to undefined function t() in /home/aegir/drupal-6.12/sites/default/modules/hosting/hosting.queues.inc on line 61
Drush command could not be completed. [error]
so I removed the two t() functions...
try again
-255-aegir@whs1:~/drupal # drush hosting setup
Fatal error: Call to undefined function module_invoke_all() in /home/aegir/drupal-6.12/sites/default/modules/hosting/hosting.queues.inc on line 70
Drush command could not be completed. [error]
This error suggests that drush is not bootstrapped in, but 'drush status' runs fine. Weird.
I checked the system table and module hosting was status=1
At this point I gave up on 'drush hosting setup' and went back to the browser and finished the install.
I am using
Drupal 6.12
drush-All-Versions-2.0
cvs_deploy-6.x-1.1
hosting-6.x-0.2-beta1
hostmaster-6.x-0.2-beta1
provision-6.x-0.2
All on Debian 5
At this point I have not looked any further, it's too late now, tomorrow
Brilliant project though, I can save myself a lot of work if I can get this going ;-)
Comments
Comment #1
anarcat commentedYou need to place the hosting modules in profiles/hostmaster/modules/hosting. Move the modules there and try again. If it fails, you should also try the Drupal 5 version as the Drupal 6 wizard is a bit broken right now (see the issue queue: http://drupal.org/project/issues?projects=hosting%2Cprovision%2Chostmast...
Comment #2
hutch commentedThank you for your help, I have got the D6 version going after a fashion but as you say there are problems. I will try D5 as well.