In place upgrade from open source to enterprise passenger?

47 views
Skip to first unread message

Fjan

unread,
Oct 5, 2012, 3:26:28 PM10/5/12
to phusion-...@googlegroups.com

An in place upgrade from one passenger version to the next works fine, but the enterprise documentation mentions that you should uninstall the open source gem before installing the enterprise version. Does this mean one cannot do an in-place upgrade from open source to the enterprise version? Or is the module compiled in a place that's not affected by the uninstall so apache keeps running?

Hongli Lai

unread,
Oct 6, 2012, 10:57:39 AM10/6/12
to phusion-...@googlegroups.com
I don't know what you mean by in-place upgrade, but here's the reason
why we recommend uninstalling first.

Phusion Passenger's gem is called 'passenger' while Phusion Passenger
Enterprise's gem is called 'passenger-enterprise-server'. However the
names of the binaries (passenger-status, passenger-memory-stats)
remain the same. If you install 'passenger-enterprise-server' when
RubyGems will not automatically remove 'passenger'. The
'passenger-status' and 'passenger-memory-stats' wrapper scripts
generated by RubyGems could get confused as to which gem to activate.

And this is pretty much the only reason why we recommend uninstalling
first. There are no other conflicts.

--
Phusion | Ruby & Rails deployment, scaling and tuning solutions

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

Fjan

unread,
Oct 6, 2012, 12:33:39 PM10/6/12
to phusion-...@googlegroups.com
Thanks for the feedback. With "in place" upgrade I meant to ask whether it's necessary to take the server offline during the upgrade, or whether you can simply keep it running during the upgrade (apart from restarting it after the config is updated, of course)
-j
Reply all
Reply to author
Forward
0 new messages