Aegir 0.4 alpha 3 released

Events happening in the community are now at Drupal community events on www.drupal.org.
adrian's picture


The Aegir project is proud to announce the third alpha of our 0.4 release cycle. The focus of this release has been exclusively on bug fixes and improving the user interface through the application of sensible javascript and AHAH elements. We have also significantly improved the installation process and now provide documentation for CentOS and Debian.

The canonical source of installation documentation is the newly improved INSTALL.txt

We also now have an automated and scripted upgrade process for the front end, which you can read more about in UPGRADE.txt

This is the last release that will be developed on CVS, as of now Aegir is officially moving to git (with the details still needing to be sorted out). Because Aegir now uses Drush make, the only change this will involve for the end user is (possibly) downloading provision from somewhere other than drupal.org.

important: Aegir 0.4 alpha 3 now requires Drush 2.1 and the latest beta release of Drush make, which can be downloaded from Drupal.org.

Changelog :

  • several user interface improvements.
  • Added dependencies to drush make, modalframe and jquery ui
  • Only a single task node is managed for each task type related to each entity. Multiple tasks are handled through node revisions.
  • We now have a managed upgrade path through the 'hostmaster migrate' command.
  • Primitive support for Drupal7
  • Rewrote install script and documentation
  • Backup performance improvements
  • Backup file name changed to include the time
  • One-time login link directly available in the frontend, new password reset
  • Do not store passwords in settings.php for added security (it's now stored in the vhost)
  • Put the site offline during migration #632984
  • #595494 fix clone alias
  • Reduce the number of parallel tasks to avoid killing the server under heavy task load
  • API change: drop the redundant hosting_task_queue table
  • Tasks have now performance measurements that tell how much time it took

Comments

Ubuntu

attiks's picture

Thanks for the new version, since it gave me some problems doing a clean install on ubuntu, i'll add some remarks

1/ i had to change cron to include the full path to php (/usr/bin/php), there's an issue in the hostmaster profile queue i think, but can't find it right now

2/ i had to change provision_apache.drush.inc, line 227 if ($cause_error) { to if (FALSE && $cause_error) {, because otherwise the verify task was failing. BTW i can restart from the console using the same command, so /etc/sudoers is ok

UPGRADE.txt needs updating

KrisBulman's picture

seems to be same as previous release

OMG! ^_^

Macronomicus's picture

What a fantastic upgrade!
The use of drush_make was brilliant ...and the interface goodies are an amazing evolution amongst all the other great bits... you rock! ^_^

Thank you for being so awesome!

Mysql connection

KelvinWong's picture

Unable to get mysql information from vhost. I need to manually copy it to settings.php.

Anyone have a clue? Did I have vhost not setup properly? If so, how can I check?

Upgrading from 0.3 to 0.4-ALPHA3 mysql problem

mohammed j. razem's picture

I upgraded my Aegir installation from 0.3 to 0.4-ALPHA3.

I had a bunch of working sites on 0.3... after the upgrade it keeps saying Site Offline.
I'm aware that 0.4 stores the db_url vars in vhost, checked it and found it proper. But still with every verify it succeeds with no errors at all! But the site is still offline.. Any help?

Example: http://btr-msgs.untitledlabs.com/

I had the same problem on my

Macronomicus's picture

I had the same problem on my production server, in the end I couldn't figure what the problem was. Funny thing is I had no problem on my test server doing the upgrade which is nearly identical.

What I did to fix it was to wipe Aegir saving all the platforms aside and removing the main Aegir site, then I re-created Aegir with the new fantastic method (though I had to use bash in the commands to get them to work). Then I just dropped the platforms in and set them up inside Aegir which then verified the platforms and imported then verified all the sites within them, I wish I would have done that at first since it was quite a lot faster then trying to debug what my prob was.

I am glad I did it this way because now Aegir has its own platform separate from all the other sites, and has all the blocks n such laid out as designed. I suppose since I started with the first Aegir release updating each release, & hacked it quite a bit, things became a bit crufty... its nicer to have it all fresh and you dont loose any sites or have to jump through hoops to get them back in... so its painless & well worth it IMO.

Did you ever figure what the issue was?

Site Cloning Feature

wayout's picture

I have done a fresh install of 0.4 alpha 3 and cannot see the 'site cloning feature'. Is this feature still available as I use it extensively?

It is available but is not

mig5's picture

It is available but is not enabled by default. You should be able to turn it on by visiting /admin/hosting/features.

Got it working

wayout's picture

I got it working, I did a CVS checkout of the hosting module. The strange thing is that I used the Install Script originally and it didn't checkout the clone module.

Anyway I guess it's time I learnt the art of Git as it sounds like its going to make life a lot more simple :)

Thanks.

The install.sh would fetch

mig5's picture

The install.sh would fetch Hosting via the 'drush make hostmaster make' command which fetches the whole frontend via drush_make. See the make file

I'll try and reproduce that but I can't think of any circumstance where it would grab parts of hosting and not others. Like you, all it is doing is a cvs checkout - just automatically.

And +1 for git :)

Cheers!

Installation Woes

jlab's picture

I just want a bit of clarity here. I have a older version of Aegir on a VPS.net server. It did not use drush_make installation went relatively smooth and I have quite a few sites running there already.

My Employer saw Aegir in action and demanded that he wants me to install a Aegir server for the company as well since we mainly develop sites with the Drupal platfrom.

I decided to install the new Aegir 0.4 Alpha 3.

I have got everything up and running but now I'm stuck and quite confused as well.

When I want to proceed and setup Aegir from the Webinterface as soon as I select the "Hostmaster" profile I get the following error:

Requirements problem
The following errors must be resolved before you can continue the installation process:

* The jquery_ui module is required but was not found. Please move it into the modules subdirectory.
* The modalframe module is required but was not found. Please move it into the modules subdirectory.

I peeked inside the "profiles/hostmaster/hostmaster.make" file and saw the following entries:

core = 6.x

projects[hosting][type] = "module"
projects[hosting][download][type] = "cvs"
projects[hosting][download][revision] = "DRUPAL-6--0-4-ALPHA3"
; projects[hosting][download][revision] = "HEAD"
projects[hosting][download][root] = "pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib"
projects[hosting][download][module] = "contributions/modules/hosting"

projects[eldir][type] = "theme"
projects[eldir][download][type] = "cvs"
projects[eldir][download][revision] = "DRUPAL-6--0-4-ALPHA3"
; projects[eldir][download][revision] = "HEAD"
projects[eldir][download][root] = "pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib"
projects[eldir][download][module] = "contributions/themes/eldir"

; Contrib modules
projects[admin_menu][version] = "1.5"
projects[install_profile_api][version] = "2.1"
projects[jquery_ui][version] = "1.3"
projects[modalframe][version] = "1.4"

; Libraries
libraries[jquery_ui][download][type] = "get"
libraries[jquery_ui][destination] = "modules/jquery_ui"
libraries[jquery_ui][download][url] = "http://jquery-ui.googlecode.com/files/jquery.ui-1.6.zip"
libraries[jquery_ui][directory_name] = "jquery.ui"

If I understand correctly this make file should download the "jquery_ui" and "modalframe" modules for me, or is my understanding incorrect here?

I tried downloading the jquery_ui and modalframe modules into "profiles/hostmaster/modules/"

But then I get the following error: Fatal error: "Call to undefined function db_result() in /var/aegir/drupal-6.14/includes/path.inc on line 55"

I'm kind of stumped right now... I tried downloading the latest development snapshot of drush_make as well but I still get the above mentioned behavior.

Should I resort to installing the older Aegir Version I had success with? I was really looking forward to some of the interface enhancements esspecialy the "Resend Login" button.

I could probably try chnaging a few things but my coding skills is mediocre at best.

Any help or suggestions would be greatly Appreciated.

Had the same problem

vesapalmu's picture

I also had the same issue. I needed to manually download jqueryui and modalframe modules, wget and unzip jquery.ui library and then the installation was successful.

Having the same issue as

kepford's picture

Having the same issue as @personxx above.

I can't explain why you

mig5's picture

I can't explain why you would've been able to download other components but not the others. i.e if those two failed, you ought to have not downloaded install_profile_api or any others too.

Anyway, the db_result() error is because the 3rd party jquery.ui library is meant to be fetched from googlecode.com too and placed into a subdirectory of the jquery_ui folder (i.e its a library that goes inside the module itself). This has also failed, which is what produced that error. I saw that myself once, see http://drupal.org/node/610250

Likely situation is that you didn't have unzip or something installed, and the library was not able to be extracted to its final destination.. though that may not be the case if you didn't have the modules themselves (no idea how that could happen and can't reproduce).

In short: download the jquery.ui library manually per the URL make file, extract it so that it's a subfolder 'jquery.ui' in the profiles/hostmaster/modules/jquery_ui/ module, and try the installer again and the error will go away (unless you're missing anything else. Check the other components are there too to be on the safe side).

If you continue to have issues, please open a Support Request in the Hostmaster issue queue

I was missing unzip on this

kepford's picture

I was missing unzip on this server. That is why the downloads failed. After correcting that and reading http://drupal.org/node/610250 I was able to get Aegir installed. Thanks.

drush make not showing up.

qbnflaco's picture

I downloaded drush_make to the .drush folder, but it and the provision and hosting commands are no longer showing up after upgrading drush.

when doing cd ~ as aegir user I get /root/ instead...

qbnflaco's picture

I had previously used the automated script for alpha2. When using "sudo -u aegir bash" command and doing "cd ~" it seems to be showing the /root/ folder instead of /var/aegir/. I checked the passwd file and for aegir user it has this...

aegir:x:107:111::/var/aegir:/bin/false

Thanks in advance!

If you cd ~ and end up in

mig5's picture

If you cd ~ and end up in /root, you are not the aegir user, you are root.

Perhaps you want to do this (as root) per the instructions in INSTALL.txt:

su -s /bin/bash aegir
cd ~

If you want to change to the

psynaptic's picture

If you want to change to the aegir user and start from the aegir user's home directory you can:

sudo su -s /bin/bash - aegir

what is the difference

kepford's picture

what is the difference between sudo su -s /bin/bash - aegir and su - aegir?

they both seemed to work for me

qbnflaco's picture

hostmaster is now appearing in my drush commands.

Thanks for the help!

what is the difference

anthonysomerset's picture

what is the difference between sudo su -s /bin/bash - aegir and su - aegir?

su -s /bin/bash - aegir will change into the aegir user using the bash shell where as su - aegir will change into the aegir user using its shell setting (not neccesarily bash)

Little Installation Problems :-)

fluxxi's picture

hi :-)

after many trys to install aegir with the instructions from install.txt, i found the installscript with git. After i try this, the installation works and i'll been happy to see all the yellow oks in my shell. And then, the big surprise, i followed the wizzard, and all my configuration seems to work. Surprise No. 2 :-)

in the next step i logged in my new site, will be happy the third time :-) there was a green veryfied fiel just on top of the right site, it seems all will work. But then, my system tries to import the platform, and the task allways shows, it will be startet in round about 2 minutes, but id do not so. i cannot create anything, because the tasks will not start/finish.

No i don't know what to do, i took a look on all the privileges and permissions, but there seems all to be ok, i got no failure messages or something like that during the installation.

My Installation: Debian Lenny - mysql5 - php 5.2.x - Aegir Head, properly installed from this installscript: http://git.aegirproject.org/?p=hostmaster.git;a=blob_plain;f=install.sh....

Thanks for your help

Joe

You might try to run the

dave kopecek's picture

You might try to run the hosting dispatch manually:

run as aegir user:

~/drush/drush.php --root=/var/aegir/drupal-5.x hosting dispatch

(substitute your drupal install dir dir "drupal-5.x")

i did it :-) Putty was the failure

fluxxi's picture

i use Putty for Windows to connect to my root server. After many tries, a good friend told me, that i have to take care, that puttys configuration (translations) has to be put on utf-8, on standard configuration it is another one. So i change the settings, go back to my shell, made a new install.sh.txt and then all works fine.

So, maybe anotherone works with putty, be carefull and change to utf-8 in the translation settings. For all the german speaking guys, here is the link to the explanation: http://wiki.hetzner.de/index.php/Utf-8

cya, and thanks to Adrian, mig5 and all the oter guys which working on aegir - good job

Joe

Hi all, Around the time the

mig5's picture

Hi all,

Around the time the 0.4alpha3 version was released or just after, a number of problems / bugs were encountered that were generally the responsibility of some tools that Aegir depends on: particularly Drush and Drush Make.

This has led the 0.4alpha3 release to being unusually more difficult to install than intended. Unfortunately the fixes for these issues need to happen outside of Aegir itself, but a number of our users are as a result struggling to get through the install. We've written an item into our FAQ that addresses the 3 main issues that are currently occurring, describing the symptom and all possible fixes for each issue that we're aware of.

http://groups.drupal.org/node/24854#dependency-hell

If you experience an issue that doesn't match any of those items, or the fixes still didn't solve the problem for you, please search the issue queues and if still no luck, raise a Support ticket in the Hostmaster issue queue.

Good luck!

-

yajnin's picture

-

Aegir hosting system

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: