aegir

Aegir Quick Tip - Fixing Image links when Migrating a Site to a Different URL in Aegir

I'm always moving sites from a "dev" url to the production url using Aegir.  Something like dev.mysite.com will become mysite.com.

In doing this, drupal has image issues, but its easy to fix.  You just have to do a search and replace in your database for the urls of your multi-site install.

I usually do something like: ...Read more...

Notes on Installing Aegir on Amazons EC2

Update 1 - April 5th 2011:  I modified some user creation items, they were completely wack.

Yesterday I updated my main aegir site to 1.0-RC3 and about 10 minutes after I was done I got my monthly bill from Linode.  I had forgotten how big its grown.  I've been adding more and more sites to my server and needed more memory and hard drive space.  Linode makes it sooo stink'n easy to add on more stuff that its grown to the point that I should probably be doing something different. ...Read more...

Issues when Upgradeing to Aegir Alpha 14

I just upgraded 2 of my systems to alpha 14 and here are a couple of things I stumbled with:

Rename your vhost.conf files

I copied my old vhost files from ~/config/vhost.d to ~/config/server_master/apache/vhost.d.  I'm not sure if I was suposed to do that or if I was to reverify all the platforms and it would maybe recreate them in the right place... I dont know.  But my way worked.

Since all the new sites come in as mysite.com rather than mysite.com_80 (old way), I wanted to rename everything so it looked the same.  I ran this command ...Read more...

Two Common Aegir Errors I Get When Importing an Existing Site

There are 2 errors I get all the time when importing existing sites.  I verify my platform and when the site is trying to import, I get this error:

This one is pretty easy to figure out, I have the wrong database info in my settings.php file.  I probably had my DB password wrong or forgot to capitalize some letter. ...Read more...

Updating Aegir from 0.4 Alpha 3 to Alpha 5 Notes

I just updated my "production" aegir to alpha 5 from alpha 3 and I thought I would put up my notes from it.

I followed the instructions that were linked to from here: http://groups.drupal.org/node/47784#comment-135668

Before i started the whole process I did a an apt-get update and apt-get upgrade to make sure my ubuntu system what up-to-date.

At about line 35 I made these changes (bold are the changes):

Image links When Moving Drupal to Multisite - Find & Replace in Mysql

Since the release of Aegir 0.3 I've been using Drupals multisite configuration like crazy.  Mainly because Aegir uses it but also because it just makes sense.  Starting a site in multisite works great, but moving an existing site to multisite configuration can cause some problems.

For example, on a regular Drupal install the images and file uploads are stored in the "sites/default/files" directory.  On a multisite install, the files/images are stored in "sites/example.com/files" directory.  This causes a problem becuase the links to most images/files that are in content will point to the wrong location:

  • Links will look like: http://example.com/sites/default/files/myimage.jpg
  • Instead of: http://example.com/sites/example.com/files/myimage.jpg

Setting up a Cheap VPS for Virtualmin and Aegir for VPS Newbies

Aegir .4 Alpha 5 Came out last week and so I thought i would do a quick video for those VPS newbies out.  Aegir really is sweet and if you are wanting to ever just test it, this is a good starting point for you.

This can be done w/ almost any linux VPS host.  I chose to go with Burstnet for the screencast because they got decent reviews from web hosting forums and is DIRT cheap.

I would recommend Linode if you are looking for a good VPS host.  I have a node w/ them and they have always been wonderful.  Don't take my word for it, they have hundreds of reviews all over the web bragging them up.

So don't be scared... jump right in.

Part 1:

...Read more...