hi
am keen to get the Aegir script running, so here is my adventure.. I am getting the following error below
I know install-aegir.sh script isnt supported, but in case there is someone out there generous or silly enough to help me out
note, during installation it asks me for mysql root password, which is set in the script.. which makes me think I am perhaps doing something really basic wrong...
QUESTION: from what folder and what command do I use to execute the script?
Do you really want to proceed with the install (y/n): y
Project drush_make (6.x-2.0-beta9) downloaded to [success]
/var/aegir/.drush//drush_make.
Project drush_make contains 0 modules: .
Command provision-install needs a higher bootstrap level to run - you[error]
will need invoke drush from a more functional Drupal environment to
run this command.
The drush command 'provision-install' could not be executed. [error]
A Drupal installation directory could not be found [error]
Aegir Installation complete.
Aegir is a hosting management platform. Aegir is running at http://aegir.dev
To restart Aegir: sudo /etc/init.d/apache2 restart
To admin Aegir: http://aegir.dev/
For details on using Aegir, see here: http://aegirproject.org/
NOTE: ABOVE IS A PASSWORD RESET URL. USE IT TO LOGIN INITIALLY.
NOTE 2: If you lost your password reset url, get a new one for user 'admin' and
check the ~/websites/log/mail folder for a password reset email.
RESTART OR RELOGIN for apache2ctl to work.
the Apache environment seems set-up OK (and other changes have been made like users, groups etc), but no db is created
Apache Environment
Variable Value
HTTP_HOST aegir.dev
HTTP_USER_AGENT Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.10 (maverick) Firefox/3.6.13
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_LANGUAGE en-us,en;q=0.5
HTTP_ACCEPT_ENCODING gzip,deflate
HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_KEEP_ALIVE 115
HTTP_CONNECTION keep-alive
PATH /usr/local/bin:/usr/bin:/bin
SERVER_SIGNATURE <address>Apache/2.2.16 (Ubuntu) Server at aegir.dev Port 80</address>
SERVER_SOFTWARE Apache/2.2.16 (Ubuntu)
SERVER_NAME aegir.dev
SERVER_ADDR 127.0.0.1
SERVER_PORT 80
REMOTE_ADDR 127.0.0.1
DOCUMENT_ROOT /var/www
SERVER_ADMIN webmaster@localhost
SCRIPT_FILENAME /var/www/index.php
REMOTE_PORT 47383
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING no value
REQUEST_URI /
SCRIPT_NAME /index.php
Comments
Comment #1
niccolox commentedupdate
it seems that the version Drush 4.x Provision is breaking Aegir - but in HEAD Aegir and Drush its now fixed
am exploring upgrade or downgrade to Drush within context of Quickstart (downgrade to 3.3. first, upgrade to 5 second)
http://drupal.org/node/1014638
http://drupal.org/node/1047922
Comment #2
MichaelCole commentedHi niccolo,
Check out the comments at the top of the script.
Seems like I keep fixing this script and it keeps breaking as Aegir moves forward. This will stabilize as Aegir gets out of beta.
For now you may have to do this manually. I'd be interested in a patch if you care to make one...
Mike
Comment #3
niccolox commentedhi Mike
I think the fix revolves around using Drush 3 or getting Provision and Aegir from HEAD. I started to look into this, but haven't progressed so far.
Will try the manual install, but I am guessing might have the same problems with Drush / Provision
Will work on it some more.
thanks
-N
Comment #4
niccolox commentedhi again
I just tried the install script from
http://community.aegirproject.org/node/246
https://github.com/doka/install-aegir-on-ubuntu/blob/master/install-aegi...
got the same result... I expect a manual installation will have the same result
will downgrading Drush to 3.3 in Quickstart cause elements of the Quickstart dev environment to break ?
Comment #5
MichaelCole commentedHa, I'm about 5 weeks from diving deep into Aegir.
Hopefully, they'll RC 0.4 by then :-)
Comment #6
niccolox commentedok, I guess we are near closure.
I haven't got a patch, but I do have a simple change that could be considered a FIX
in your install-aegir.sh script
replace this line
to this one referencing the HEAD install script
cheers for the Quickstart btw, I am diving deeper into Ubuntu and Drupal coding and this environment has lived up to its name (and more)
if you are around Berkeley I'll buy you a beer, or a feed or a book !
cheers
-N
Comment #7
niccolox commentedmy understanding they are going to go straight to v1 from the betas... bit hazey on that.. but its punctuated equillibrium in Aegir water world
Comment #8
atuline commentedFor whatever reason, this didn't work for me, but I'll follow this thread and see how it all shakes out.
Thanks,
Andrew
Comment #9
MichaelCole commentedThis is important, but I won't get around to fixing it till after Aegir 0.4 is released.
Comment #10
izmeez commentedsubscribing
Comment #11
jason.fisher commentedIf you had trouble with the updated instructions, reboot and try again. Maybe try with sudo? Make sure you specify 'quickstart' as the root DB password. The fix failed for me the first time .. and then worked fine the next day.
Comment #12
Anonymous (not verified) commentedI had the same problem with provision complaining that it needed a higher bootstrap level and tried the fix in #6 to no avail. I finally, managed to get it working:
I think the reason my first attempt at applying #6 failed is that the install process detects if provision is already installed. By uninstalling aegir completely, the install process managed to successfully download the proper version of provision.
Comment #13
amstercadI worked through the Quickstart distro as-delivered, plus the aegir script and eventually got it to work for me. In fact Aegir has been put through the paces for a week now.
Being a documentation guy, I worked a second time to install it, just so I could write detailed notes, but failed to install the second time. Still, I can remember the main steps for the most part I think, and I kept some notes.
Using the latest available versions, I overwrote all off the files in:
Using the latest available versions, I overwrote all of the files in:
Next, go to:
This file must be saved as:
changed line 32 from:
to:
changed these lines:
to:
....and finally, as I vaguely recall what worked, I ran the two lines that follow, one after the other in the SAME command line window. But I failed to replicate the process in spite of multiple attempts.
Note WGET always failed to download the aegir script, so I worked around that WGET aspect by saving it manuall, and not scripting it. Also, running two scripts in one window allows variables relevant from the first to carry into the second.
Hopefully these contributed notes help someone else. Kudos for the distro!!
Comment #14
niccolox commentedI tried #12 and it I broke Quickstart i.e. aegir.dev doesnt resolve, nor does localhost or the example6.dev or example.dev
would be wonderful if this could be resolved now that Aegir is now version 1 rc07
http://community.aegirproject.org/1.0-rc7
Comment #15
MichaelCole commentedHi, anybody want to take a stab at doing this?
Comment #16
niccolox commentedAnarcat is working on deb Aegir installations too. Will be looking at this myself again "real soon now"
I noticed also that you've released a GIT enabled incremental version, I will download and try that.. this ticket may need to be closed as obselete..
more soon
Comment #17
niccolox commentedUPDATE: Downloaded latest version QS901
downloaded the latest version qs901 and ran the manual installation for Aegir 1rc0.7
http://community.aegirproject.org/installing/manual#Install_system_requi...
http://community.aegirproject.org/1.0-rc7
Aegir now runs, but its broken localhost, so I've lost access to http://localhost/phpmyadmin/ and http://localhost
the test sites http://example.dev/ and http://example6.dev/ still work ok
haven't yet tried to install a new site using either Aegir or the Quickstart Drush method
I am guessing there will be some clashes and problems with Aegir and Quickstart having their own versions and Drush approaches
possible contention points;
-aegir installation involved mysql download, why did that work and not break ?
-aegir wanted a Drush download and install? does that clash with qs901's Drush ?
-aegir and Quickstart both deal with apache conf and dns, will these clash ?
Comment #18
niccolox commentedAegir: a D7 drush dl drupal into /var/aegir/platforms works fine i.e. platform verifies and creates site i.e. http://d7.aegir.dev
Quickstart: using drush dc --domain=test1.dev in websites folder was able to create a site and load it in Netbeans. Did a wget for Display Suite module and installed ok within that test1.dev
made a really clumsy Quickstart-Aegir dev/stage/live type workflow by add the test1.dev to GIT, which then allowed me to import it from RabbitVCS GIT to a folder /var/platforms/test1.dev.
will look into fixing the mysql phpadmin dns
for smooth workflow need something done with adding a new user to the aegir group ?
http://perlucida.com/blog/software/four-tips-for-developing-drupal-under...
http://groups.drupal.org/node/87414
Comment #19
MichaelCole commentedComment #20
niccolox commentedthanks for keeping this alive
I am happily working away using Aegir-centric Drupal dev and prototyping using qs901
I'd seriously recommend trying to update qs901 to support Aegir
also, you might be interested in the new continous integration Jenkins system for Aegir
rocks !!!
Comment #21
niccolox commentedI know this isn't exactly a major accomplishment, but, I worked-out http://localhost.localdomain/phpmyadmin is the new location for PhpMyAdmin....
Comment #22
MichaelCole commentedComment #23
MichaelCole commentedComment #24
MichaelCole commentedNeeds testing.
Comment #25
niccolox commentedhow do I test this ? is there a new QS for download ? are the scripts somewhere ?
Comment #26
MichaelCole commentedHi Niccolo,
I'm working on this today and some next week. I think I'll release a beta version for everything but the drush commands next week.
If you want it sooner, you can clone the git repo and check out the "contrib" directory.
Cheers,
Mike