• Drupal deployments & workflows with version control, drush_make, and Aegir   6 hours 41 min ago

    Love it!
    Like many of the previous commenters, I currently use an svn based workflow with a vendor repository from which specific versions of modules - which may or may not have been patched in some way - can be linked into individual site repositories with svn:externals. It works, and it works well, there is no doubt about that. But I totally agree that it feels too clunky, overweight, messy and time and resource intensive to manage.

    I was a convert from the moment you showed that drush make can apply patches as part of the build process. To me, a flyweight setup like you have so kindly, outlined in such great detail seems like the next logical progression and a real step forward.

    However... I do still have reservations about the underlying decision to store only the configuration of a site in version control, as opposed to the entire site including the content. Whilst this is clearly not an issue for things like installation profiles or new platform builds, what about actual sites? When I am in control of a site, I like to include EVERYTHING to do with that site in svn. This includes the database (dumped in an svn friendly way thanks to dbscripts), and all of the files too. This way, I can check out the entire site from svn, run the dbscripts import script and have the site up and running in a matter of minutes. DBscripts also makes it very easy to synchronise database changes from Production back to Development.

    Should VCS really only be used to store configuration (the application)? I tend to think not when working with actual live sites (instances) because an actual site is a combination of it's configuration and it's content. Not just one, or the other. And with the entire thing in svn, I can jump back in time to any point and get to the entire site as it was then. As a developer, it's easy to think that the code, or the application is the really important thing, but what is the point of having all the code, with no content?!

    I'd love to know how you deal with managing actual site instances like this... Do you just rely on having backups of the database and the files directory? And if you're not storing the database in VCS along with the code, how can you ever be sure that the database you restore will match up to the specific version of the code you are working with? having it all in VCS ensures that every single revision has everything it needs, exactly as it was when that revision was created.

  • Video: Installing Aegir 0.4 alpha5   1 week 4 days ago

    You should be able to upgrade from 0.3 to the latest 0.4 release with no problem. I tested the process myself prior to making the last release.

    Just be sure to follow the UPGRADE.txt closely. There is one bug in the file, related to incorrect instructions regarding downloading of Provision. I documented the fix here.

  • Video: Installing Aegir 0.4 alpha5   1 week 5 days ago

    How difficult would it be to upgrade my Aegir 3.0 Server to 0.4 Alpha 5?

    I already have a few sites running on there and it makes my Drupal administration a lot easer.

    But I would really like to have the clone and resend login details features. And the JQuery refresh scripts is quite awesome as well...

    I did install a fresh Aegir 0.4 Alpla 5 on Debian without any major headches...

    And thanks for your awesome work on Aegir

  • Video: Installing Aegir 0.4 alpha5   3 weeks 2 days ago

    When executing the script to get drush, provisioning,... I get an error when provisioning should get downloaded.
    Installing provision backend in /var/aegir/.drush
    12:01:16 up 6:57, 3 users, load average: 0.21, 0.07, 0.05
    USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
    xxxxx tty7 :0 Wed08 28:36m 2:10 0.83s gnome-session
    xxxxx pts/0 :0.0 Wed08 1.00s 0.88s 8.23s gnome-terminal
    xxxxx pts/1 :0.0 11:34 4:57 0.63s 0.63s bash
    gzip: provision-0.4-alpha5.tgz: No such file or directory
    tar: This does not look like a tar archive
    tar: Exiting with failure status due to previous errors

    My system is ubuntu 9.10.
    Thanks for any help.

  • Video: Installing Aegir 0.4 alpha5   3 weeks 2 days ago

    Thanks for your replies. Sudo su and then running the command worked! I'll continue the setup now.

  • Video: Installing Aegir 0.4 alpha5   3 weeks 2 days ago

    I love Aegir, it saves me so much time and looks so good doing it.

    I created a screencast that goes along w/ this screencast here:
    http://peterjolson.com/blog/setting-cheap-vps-virtualmin-and-aegir-vps-n...

    I use a really cheap VPS host that would allow VPS Newbies to get their feet wet before going off to a good host like Linode.

    I tried not to duplicate any of your info and referenced his video... Just thought I'd let you know

  • Video: Installing Aegir 0.4 alpha5   3 weeks 2 days ago

    P.S I realise that the INSTALL.txt endorses running with the 'sudo' prefix instead of root, which will fail that Include echo as you have discovered, although it is mentioned 'Shell commands as root'. I've updated the INSTALL.txt to suit. a sudo prefix will not work here.

  • Video: Installing Aegir 0.4 alpha5   3 weeks 2 days ago

    When you redirect to stdout (i.e the > part), the stdout is trying to write to a file without sudo privileges.

    Become root with 'sudo su' and then run the command and you will see that it works.

  • Video: Installing Aegir 0.4 alpha5   3 weeks 2 days ago

    That's the weird part.I started with my own user. I did all the commands with "sudo". When I do the include part with sudo, I get the permission denied error. I don't get what's going wrong...

  • Happy birthday Dad!   3 weeks 2 days ago

    There is always Saturday lunch for that re-anactment. Wear a white tshirt :)

  • Aegir batch site backup script   3 weeks 2 days ago

    Dad, that looks like Russian spam. WTF!

  • Aegir batch site backup script   3 weeks 2 days ago

    ¡ɹǝpunuʍop ǝʌıן ı

  • Happy birthday Dad!   3 weeks 2 days ago

    And I'm glad I saved my favourite daughter in law from it. I remember taking the bull .. hmm the goat by the horns! :)

    We could reenact the scene with the pumpkin soup just so you could take a pic!

  • Video: Installing Aegir 0.4 alpha5   3 weeks 3 days ago

    You likely ran the command as the aegir user, or some other unprivileged user.

    You need to run it as root or as a sudoer same as you ran the apt-get commands.

  • Video: Installing Aegir 0.4 alpha5   3 weeks 3 days ago

    Thanks for this screencast.
    I get this error when executing echo "Include /var/aegir/config/vhost.d/" > /etc/apache2/conf.d/aegir
    This is the error: bash: /etc/apache2/conf.d/aegir: Permission denied
    I am installing on ubuntu 9.10. What can I do to get around this problem?

    Thanks for your help!

  • Video: Installing Aegir 0.4 alpha5   4 weeks 3 days ago

    Zombies pay taxes! Who knew?

    Thanks for this. It is great.

  • Video: Installing Aegir 0.4 alpha5   4 weeks 4 days ago

    Excellent stuff. There really was a need for up-to-date tutorial of aegir. Installation is boring, but its only done once, then the fun part comes up :) Thanks

  • Video: Installing Aegir 0.4 alpha5   4 weeks 5 days ago

    Even though you profess this to be a 'boring' screencast (and it is a bit dry), there is a ton of great meat in here that you don't get by just reading the INSTALL.txt - background on why certain steps are important and the concepts behind certain commands are really great to help solidify background knowledge so that when things go wrong for the user, they have more than a clue on how to troubleshoot what they've done.

    Thank you a lot for this screencast as well as all the hard work you've done on this project!!

  • Migrate your Drupal sites to a new Drupal core security release with Ægir   5 weeks 3 days ago

    Yes, one should always backup first :)

    The Migrate task itself *does* make a backup of the site and database before it does anything with it. You can see the backup get generated in the task log of the Migration, whether the Migration fails or not. This backup can be restored using the 'provision restore' command.

  • Migrate your Drupal sites to a new Drupal core security release with Ægir   5 weeks 3 days ago

    Although it seem easy to use, you need to be prepared and save your site's content just in case something wrong would happen while you migrate. I guess some issues can be detected only when you try to apply it on your site. There should be made improvements soon, so it won't cause the same problems to the it's future users.

    Harry at Drupal implementations

  • Intel Pro/Wireless 4965 on 2.6.26-1-686 (Debian Lenny)   5 weeks 4 days ago

    I had the same problem and also installed wicd but couldn't get it to work even after I added deb http://www.backports.org/debian lenny-backports main contrib non-free to my sources list .
    Then I did: aptitude -t lenny-backports install firmware-iwlwifi
    And after I installed this the wifi now works.
    Hope this helps somebody else.

  • Howto: Highly available Zimbra cluster using Heartbeat and DRBD   5 weeks 5 days ago

    Thanks for the howto! I would like to clarify some things because I'm having difficulty setting things up.

    I suppose that I have to create a filesystem first on my /dev/sda3 before installing zimbra, right?

    Since I have two physical machines to install zimbra, I can't exactly replicate what you did but will try to simulate the same, I will install zimbra on both machines on the /opt directory, right?

    In your example you did not create the drbd device using # drbdadm create-md zimbra, what's the difference between the your method and the latter?

    Is this the following OK?
    Install drbd on both nodes;
    Configure drbd on both nodes;
    Create the drbd partition (drbd create-md r0)
    mount drbd0 to /opt
    create a filesystem on drbd0
    install zimbra in /opt of node1
    unmount node1's drbd partition
    make node1 as secondary and promote node2 as primary
    mount node2's drbd0
    install zimbra on node2

    Will this approach work?

    Thanks!

  • Aegir batch site backup script   6 weeks 3 days ago

    Thanks Moshe. Yes this current implementation was very much limited to a single server since the check is rather crude and being done on Apache vhost configs on the local system. It probably should (at least) check from hosting_site on the aegir node, when multiserver comes in.

    And in this case it is ignoring site aliases since we don't want to run a backup for multiple aliases of the same site/database

    It could also be interesting to group selections of sites into 'development' and 'live' groups per that ticket, though in my case I'd probably be logically separating such relationships by server entirely.. but that's offtopic. And I need to properly digest everything in that ticket first :)

  • Aegir batch site backup script   6 weeks 4 days ago

    drush head just got the feature to run same command on multiple site aliases with a single invocation. see http://drupal.org/node/628996. so your loop is no longer needed. we ought to think about how aegir is gonna use the new sitealias features.

  • Aegir batch site backup script   6 weeks 4 days ago

    I was wondering how to do this myself. Can't wait for scheduled backups to be front-end friendly. :-)