Brightbox
  • Home
  • Pricing & Sign up
  • Why Brightbox?
  • Products & Services
  • FAQs
  • About
  • Blog
  • Wiki
  • Forums
  • Contact
Blog RSS feed
twitter_banner

Flickr


more images...

Recent Posts

  • Passenger 2.2.11 packages for Ubuntu 8.04 Hardy
  • Passenger 2.2.10 packages for Ubuntu 8.04 Hardy
  • Important announcement: Multiple users and accounts release
  • Full Text Indexing in Ruby with Xapian Fu
  • MySQL slow query improvements

Archives

  • March 2010 (1)
  • February 2010 (3)
  • January 2010 (6)
  • December 2009 (4)
  • November 2009 (6)
  • October 2009 (2)
  • September 2009 (3)
  • August 2009 (4)
  • July 2009 (3)
  • June 2009 (3)
  • May 2009 (5)
  • April 2009 (4)
  • March 2009 (4)
  • February 2009 (3)
  • January 2009 (6)
  • December 2008 (8)
  • November 2008 (7)
  • October 2008 (8)
  • September 2008 (3)
  • August 2008 (5)
  • July 2008 (1)
  • June 2008 (4)
  • May 2008 (4)
  • April 2008 (3)
  • March 2008 (3)
  • February 2008 (3)
  • January 2008 (4)
  • December 2007 (4)
  • November 2007 (3)
  • October 2007 (1)
  • August 2007 (7)
  • July 2007 (1)
  • June 2007 (3)

Popular tags

    • announcements
    • apache
    • beta
    • deployment
    • hardy
    • packages
    • passenger
    • performance
    • phusion
    • rails
    • rails hosting
    • ruby
    • ruby on rails
    • security
    • ubuntu

Tag Cloud

announcements apache bandwidth beta brightbox brightbox gem conference control panel dapper debian deployment events features gem hardy hosting launch leeds linux london maintenance modrails mod_rails mysql network nginx packages passenger performance phusion pricing rack rails rails hosting ruby ruby on rails security staff team tech ubuntu uk updates upgrade xen

Posts tagged ‘deployment’

Passenger 2.2.11 packages for Ubuntu 8.04 Hardy 5 Mar 10

The last Passenger release, 2.2.10, has a bug that causes Apache to freeze when used under moderate load (Phusion say high load but we’ve seen it on quite moderate conditions).  We recommend that anyone using Passenger 2.2.10 upgrade to 2.2.11 asap.  Ubuntu Hardy packages are now available in our repository.

Posted 5 March 2010 by John Leach • Add a comment

apache+ deployment+ mod_rails+ passenger+ rack+ rails+ ruby

Passenger 2.2.10 packages for Ubuntu 8.04 Hardy 26 Feb 10

Phusion released Passenger 2.2.10 this week, fixing some bundler compatibility bugs and a file descriptor bug that could lead to “mysterious crashes”.

We’ve built our Ubuntu Hardy packages for i386 and AMD64 architectures which are now available from the Brightbox apt repository.  We’ve also upgraded our librack-ruby packages to 1.1.0.

Posted 26 February 2010 by John Leach • 1 comment

apache+ debian+ deployment+ hardy+ librack+ lts+ modrails+ packages+ passenger+ rack+ rails+ ruby+ ubuntu

Brightbox Gem v2.3.6 released 27 Jan 10

Today I’m pleased to announce a new revision of the Brightbox Deployment Gem, version 2.3.6. This release fixes some of the issues reported to us by our users, along with a few extra features.

The documentation on the wiki has been updated with the new fixes and features. If you have any tips or find any errors just let us know.

NEW FEATURES

Apt Package Dependencies

Just as you can currently define gems your application relies on and have them automatically installed onto your servers, you can now do the same with apt packages. Define them in your deploy.rb and they’ll be installed before installing your required rubygems, which means you can use it to install apt packages that gems depend on. As an example, the nokogiri gem depends on a couple of apt packages.

depend :remote, :apt, "libxml2-dev"
depend :remote, :apt, "libxslt1-dev"
depend :remote, :gem, "nokogiri", ">= 0"

Intermediate SSL Certificates

Support for Intermediate SSL Certificates in Apache has been added, meaning you no longer need to manually edit the Apache config files directly. Just add one line to your deploy.rb and the gem now takes care of updating the Apache config for you. An example SSL configuration:

set :ssl_certificate, "my_cert.pem"
set :ssl_key, "my_cert.key"
set :ssl_intermediate, "intermediate.crt"

See the wiki page for Adding SSL Support to Apache for more information.

Deploy.local.rb

A common issue we’ve seen with is setting the deploy password. If you put it in deploy.rb, then it inevitably ends up in your source control repository, which is a bad idea. A workaround we’ve suggested in the past is to have a deploy.local.rb file, which isn’t tracked by source control, and load that from within your deploy.rb file. This allows you to have the password (or any other sensitive settings) defined, but kept outside your source control.

As part of this release, the gem now has official support for a deploy.local.rb file. If it exists, the gem will load it in for you.

For more information see the Advanced Gem Settings page on the wiki.

Disable (re)generating webserver config

If you’ve made manual changes to your webserver (apache or nginx) configuration, then you don’t want an accidental deploy:setup to overwrite your configs. Up until now you just had to avoid running the command, but now there’s a setting to disable it for you.

set :generate_webserver_config, false

FIXES AND ENHANCEMENTS

  • Max Age setting now accepts a number as well as a string
  • deploy:initial reloads Apache so the new config is loaded

Posted 27 January 2010 by Caius Durling • Add a comment

brightbox+ capistrano+ deployment+ gem+ rails+ recipes+ ruby

Passenger 2.2.9 packages for Ubuntu 8.04 Hardy 8 Jan 10

The Phusion team released Passenger 2.2.9 today, which adds support for Rails 3, the GEM bundler, and fixes a couple of bugs.  As usual Brightbox are providing Ubuntu Hardy packages for i386 and AMD64 architectures, available now from the Brightbox apt repository.

This package won’t actually support Rails 3 just yet though as we’ve yet to package and test the librack 1.1.0, which Rails 3 depends on.  We’re working on it now and once we’re happy with it we’ll add new packages to our repository as usual.

Posted 8 January 2010 by John Leach • Add a comment

apache+ deployment+ hardy+ mod_rack+ mod_rails+ nginx+ packages+ passenger+ phusion+ rack+ rails+ ruby+ ubuntu

Passenger 2.2.7 packages for Ubuntu 24 Nov 09

Passenger 2.2.6 (quickly followed by 2.2.7) was released last week and we now have i386 and AMD64 Ubuntu Hardy packages available in our repository.

As usual, details on installing the packages from our repository are available on our wiki.

If you’re using Passenger and it’s making you happy, please do consider supporting its development by donating money in the form of an “Enterprise License” direct from Phusion, the company behind it.

Posted 24 November 2009 by John Leach • 2 comments

apache+ cow+ deployment+ nginx+ passenger+ phusion+ rack+ rails+ ruby

Passenger 2.2.1 Ubuntu beta packages with NGINX support 22 Apr 09

The Phusion team released a new version of Passenger last week, 2.2.1, which sports a shiny new NGINX extension.  It also adds chunked file uploads (Apache only) and improves restarts.

We’ve had to restructure the way our Ubuntu packages are built to enable installation of the NGINX extension, so needs more extensive testing than usual.  The packages are now available for Ubuntu Hardy in our testing repository.

You’ll need to add our testing repository to your apt sources list. And if you’re not on a Brightbox, you’ll need to import our key and add our stable repository too.

Once you’ve done that, you can install the new version of Passenger.  If you’re wanting to just install the Apache version:

sudo apt-get update
sudo apt-get install libapache2-mod-passenger

This will pull in a new dependency, passenger-common.

If you just want to get stuck in with the new NGINX support, install the nginx-brightbox package:

sudo apt-get update
sudo apt-get install nginx-brightbox

This will also pull in the passenger-common dependency. This is NGINX 0.6.36 plus some useful modules: upload progress, upstream fair, geoip, ey-balancer and access key. It will replace any other NGINX packages you have installed (NGINX does not support dynamic modules like Apache).

You can install both Apache and NGINX side by side, but you’ll obviously need to run them on different ports.

The 2.2.1 Apache package has already had quite a bit of testing by us, but the NGINX package has had very little. We’ve already come across a Passenger bug with reloading NGINX (reported here), though we expect this will be fixed quickly.  So basically, these are good to play with but not for production just yet.

If you need any help with these packages, try our Passenger support forum.

Posted 22 April 2009 by John Leach • 2 comments

beta+ deployment+ nginx+ passenger+ phusion+ rack+ rails+ ruby

Passenger 2.1.3 packages for Ubuntu Hardy 5 Apr 09

Phusion Passenger 2.1.3 has been released and we’ve updated our Ubuntu packages as usual.  Instructions in the usual place on our wiki.

Posted 5 April 2009 by John Leach • 2 comments

apache+ deployment+ mod rails+ passenger+ phusion+ rack+ rails+ ruby

Phusion Passenger 2.1.2 packages for Ubuntu 14 Mar 09

Following Friday’s release of Passenger 2.1.2 by the Phusion folks, we’ve updated our Ubuntu packages.  We’ve been testing version 2.1.1 packages for a little while now and they’ve been very stable, supporting both Rails 2.3 and older apps that still depend on Rack 0.4 (such as older Sinatra apps).

The details are on the usual page on our wiki.  If you have any problems or need any help, try our forums.

The new packages depend on new versions of the Ruby rack libraries (not the gem), but this is provided in our repository too and will be automatically installed. You need to install the fastthread gem yourself though.  Our repository provides a few other useful Hardy packages too.

We are only testing our packages against Ubuntu Hardy right now, but they should install and run fine on newer versions of Ubuntu too.

Remember, for maximum memory savings (and speed improvements) try our Ruby Enterprise Edition packages for Ubuntu Hardy (currently only 32bit packages available).

Posted 14 March 2009 by John Leach • 1 comment

apache+ deployment+ hardy+ packages+ passenger+ phusion+ rack+ rails+ ruby+ sinatra+ ubuntu

Brightbox gem 2.3 13 Feb 09

I’m pleased to announce that we have just pushed a new revision to the Brightbox gem up to Rubyforge. 

Version 2.3 of the gem fixes some issues reported to us by our users. A quick summary of the changes from the release notes:

  • Removed the Capistrano task which calls the db:check:config rake task. This task was introduced to help with a common config mistake, but just resulted in a different mistake becoming common.
  • Removed the Capistrano task which calls rake gems:install. Running this as sudo was causing some permissions errors caused by initialising the Rails stack as root.
  • Fixed how we track the commands the gem depends upon, the deploy:check command now works as expected.
  • Gem dependencies are now installed by listing them in deploy.rb, extra examples have been added to the boilerplate deploy file.

The change in the way we handle gem dependencies was the reasoning behind making this a minor version release. Previously we simply called the inbuilt Rails 2.2 gem install task.  However we found some issues where customers with fresh deployments when running this command as root would result in files being created that could not then be removed during subsequent deployments. We took the decision to use the inbuilt capistrano dependencies to handle the installation of remote gems (examples are available inside the deploy.rb that the brightbox command automatically generates for you).

Update 24/2/2009: We’ve just pushed a new version, 2.3.2 that changes slightly how the gem dependencies work. You now specify a dependency with an alternate source in your deploy.rb like this:

depend :remote, :gem, "tmm1-amqp", ">=0.6.0", :source => "http://gems.github.com"

Posted 13 February 2009 by David Smalley • 3 comments

brightbox gem+ capistrano+ deployment+ gem+ gem dependencies+ gems:install

Passenger Ubuntu package updated 11 Jan 09

We’ve just built new versions of our Passenger Ubuntu package.  It’s still Passenger 2.0.6, but we tweaked the dependencies so you aren’t forced to use the Apache worker mpm (prefork should work just fine with Passenger).

We’re now also providing 64bit versions of the packages (the source of the 404 errors some of you reported when trying to install the package).

Documentation for the packages in the usual place on the wiki.

More Passenger news coming soon :)

Posted 11 January 2009 by John Leach • 4 comments

64bit+ apache+ deb+ deployment+ hardy+ mod rails+ package+ passenger+ rails+ ruby+ ubuntu


Recent blog posts

  • Passenger 2.2.11 packages for Ubuntu 8.04 Hardy
    12 days ago
  • Passenger 2.2.10 packages for Ubuntu 8.04 Hardy
    19 days ago
  • Important announcement: Multiple users and accounts release
    about 1 month ago
  • Full Text Indexing in Ruby with Xapian Fu
    about 1 month ago
  • MySQL slow query improvements
    about 1 month ago
  • Brightbox Gem v2.3.6 released
    about 1 month ago

Join our email list

Flickr (more...)

RSS feeds

Blog feed

Flickr feed

Recent Wiki updates

System Status feed




Brightbox Partners and Vendors

Wiki | Forums | Terms & Conditions | Privacy | Site Map

Copyright © 2010 Brightbox Systems Ltd. All rights reserved