I would be grateful if you could help. When running the install.ssh.txt I get the following errors:

An error occurred at function : [error]
drush_provision_drupal_provision_install_backend
An error occurred at function : [error]
drush_provision_drupal_provision_install
Could not find a Drupal settings.php file at [error]
./sites/default/settings.php.
An error occurred at function : [error]
drush_provision_drupal_provision_verify_validate
An error occurred at function : [error]
drush_provision_hostmaster_install

Unable to send e-mail. Please contact the site [error]
administrator if the problem persists.

Provision configuration path [warning]
/var/aegir/config/server_master does not exist.
Backup path /var/aegir/backups does not exist. [warning]
Provision PHP configuration path [warning]
/var/aegir/config/includes does not exist.
Webserver custom configuration path [warning]
/var/aegir/config/server_master/apache/conf.d does
not exist.
Webserver platform configuration path [warning]
/var/aegir/config/server_master/apache/platform.d
does not exist.
Webserver virtual host configuration path [warning]
/var/aegir/config/server_master/apache/vhost.d
does not exist.

Comments

Anonymous’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

Please paste the full output including the command you ran. Did you append the aegir URL to the install.sh command?

jsmm’s picture

Hi,

Each one of the remaining processes came out as "success". The command was
sudo su -s /bin/sh aegir -c "sh install.sh.txt aegir.local"

Thanks for the quick reply,

jmm

jsmm’s picture

Status: Postponed (maintainer needs more info) » Active

Hi,

Each one of the remaining processes came out as "success". The command was
sudo su -s /bin/sh aegir -c "sh install.sh.txt aegir.local"

Thanks for the quick reply,

jmm

tstoeckler’s picture

I'm getting the errors because the directories don't exist as well. It's not really dramatic, because the install works fine anyway, but it seems install.sh.txt should create those directories before it calls hostmaster-install.

Anonymous’s picture

The directories not existing is a warning, not an error. It isn't the job of the install.sh shell script to create the directories, it is the job of the Aegir backend (provision), which is exactly what happens (The verify task which is spawned from hostmaster-install creates the directories because they don't exist)

jsmm's error is actually it trying to bootstrap the site and failing (and falling back to trying /sites/default), which is peculiar. It's too hard to say why this is without seeing the *full* task output, and getting more info like what OS is this, are you running a different version of Drush, etc etc. Come join us in IRC and maybe we can sort it out in real time

jsmm’s picture

Thanks, mig5.

The following are steps I may have wronged. Please advise which ones should be corrected before a further attempt:

1. I did: adduser aegir --home /var/aegir , instead of adduser --system --group --home /var/aegir aegir
2. I set a password for the aegir user.
3. This is an install in my workstation, not on a server. I have edited etc/hosts to include aegir.local
4. I have run AEGIR_HOST=`uname -n` as such, without substituting AEGIR_HOST for aegir.local. By the way, where does this setting get stored?
5. resolveip aegir.local resolves to 127.0.0.1, resolveip $AEGIR_HOST resolves as false - silent.
6. I have not used bind9 / dnsmasq -I was unable to find easy enough instructions!

Thanks again.

jmm

tstoeckler’s picture

I still find it weird that, if you follow the install guide step by step you still get warnings thrown at you. Conceptually it might be correct, but installing Aegir isn't something most people do on a daily basis. For me it's always hoping that I did everything right and that the install script makes it to the finish. And then seeing those warnings, I was sure I had done something wrong.

tstoeckler’s picture

StatusFileSize
new772 bytes

sorry at jsmm for (temporarily) hi-jacking this issue, but the title fit too good for this.
How about a little bit of text in INSTALL.txt that explains the issue? Patch attached.

tstoeckler’s picture

StatusFileSize
new862 bytes

Sorry forgot the 'config' in the path a bunch of times.

Anonymous’s picture

Status: Active » Closed (fixed)

I actually ended up removing the 'fail log' of 'directory doesn't exist' because we go ahead and create it anyway straight after.

jsmm:

resolveip $AEGIR_HOST resolves as false - silent.

Then you should fix this first per the INSTALL.txt which explains what is needed here.

make sure that the value of $AEGIR_HOST is in /etc/hosts mapped to 127.0.0.1.

i.e 127.0.0.1 aegir.local localhost