Managing upgrade time

0 views
Skip to first unread message

Sam.

unread,
May 16, 2008, 5:56:03 AM5/16/08
to Phusion Passenger Discussions
Hi,

Passenger seems great, I'm testing it, and it will be soon in
production.
Thanks for this software !

I've a question : does a way exists to deactivate an application and
display a page to say something like "we're doing upgrade... see you
soon". Or at least just deactivate it.

Why deactivate ? Because when you're upgrading application some
database migrations will occur sometimes. Adding/Removing fields,
tables,... small batches to update data and so on. And it could be
very dangerous to do this when application is running !

With mongrel it is simple : stop... deploy and migrate... start.

I know it can done with Apache (changing config for the virtual host +
a graceful reload), but using Capistrano it will be be really useful
to have this. Something like a "stop.txt" ou "stop_message.html", as
simple as the "restart.txt". Perhaps something already exists ?

Sam.

Tom Copeland

unread,
May 16, 2008, 7:18:56 AM5/16/08
to phusion-...@googlegroups.com

On Fri, 2008-05-16 at 02:56 -0700, Sam. wrote:
> Hi,
>
> Passenger seems great, I'm testing it, and it will be soon in
> production.
> Thanks for this software !
>
> I've a question : does a way exists to deactivate an application and
> display a page to say something like "we're doing upgrade... see you
> soon". Or at least just deactivate it.

FWIW, there's an open issue on this here:

http://code.google.com/p/phusion-passenger/issues/detail?id=53&colspec=ID%20Type%20Status%20Priority%20Milestone%20Stars%20Summary

Yours,

tom


Hongli Lai

unread,
May 16, 2008, 8:03:55 AM5/16/08
to phusion-...@googlegroups.com

Passenger doesn't support it at the moment. But it has already been
filed as a feature request.

--
Phusion | The Computer Science Company

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)

Sam.

unread,
May 19, 2008, 10:00:42 AM5/19/08
to Phusion Passenger Discussions
Thanks for the replies. I'm sorry to post for a feature already
requested.
I'll try with a2dissite and a2ensite from capistrano for know.
Reply all
Reply to author
Forward
0 new messages