In the documentation it is advised to create the aegir site as a 'normal' aegir site inside the /sites/ dir
During the Hostmaster installation wizard, one is required to run the Hosting Setup command for initial setup.
cd /var/aegir/drupal-6.13
/var/aegir/drush/drush.php hosting setup
If one has set up the aegir site to not be in sites/default/ but sites/aegir.example.com/, the current 'hosting setup' drush command fails with
Could not find a Drupal settings.php file at [error]
./sites/default/settings.php.
The command should be:
/var/aegir/drush/drush.php --uri=http://aegir.example.com hosting setup
so that it reads the correct settings.php
Patch attached fixes the instructions to include the --uri.
There was already this:
$uri = HOSTING_DEFAULT_BASE_URL;
but this wasn't called anywhere and also wasn't defined, I define it using the global base_url parameter from bootstrap.inc
Comments
Comment #1
Anonymous (not verified) commentedcheers
Comment #2
anarcat commentedPatch looks fine here, although I couldn't test it right now... Seems RC, but would appreciate third party testing.
Comment #3
jonhattanPatch applyed and tested here with success.
Comment #4
anarcat commentedComment #5
anarcat commentedCommitted, thanks!
Comment #7
sindhujavn commentedwen i type this(/var/aegir/drush/drush.php hosting setup) in my terminal i dint receive any msges or errors.... it simply takes me to next line... whether i miss anything ???