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.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | install_warnings_go_away.patch | 862 bytes | tstoeckler |
| #8 | install_warnings_go_away.patch | 772 bytes | tstoeckler |
Comments
Comment #1
Anonymous (not verified) commentedPlease paste the full output including the command you ran. Did you append the aegir URL to the install.sh command?
Comment #2
jsmm commentedHi,
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
Comment #3
jsmm commentedHi,
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
Comment #4
tstoecklerI'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.
Comment #5
Anonymous (not verified) commentedThe 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
Comment #6
jsmm commentedThanks, 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
Comment #7
tstoecklerI 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.
Comment #8
tstoecklersorry 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.
Comment #9
tstoecklerSorry forgot the 'config' in the path a bunch of times.
Comment #10
Anonymous (not verified) commentedI actually ended up removing the 'fail log' of 'directory doesn't exist' because we go ahead and create it anyway straight after.
jsmm:
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