Project

General

Profile

2 redmine on same server?

Added by Jérôme Jérôme almost 11 years ago

hi all
just wanted to Know if it s possible to have 2 redmine site (with 2 dB) on the same server.
one site is on 1.3 and I would like to install and test version 2.3.

what file should i modify or what advice do you have for doing That.

thanks a lot


Replies (2)

RE: 2 redmine on same server? - Added by Jean-Baptiste Barth almost 11 years ago

I deleted your other post as duplicate.

Sure you can have 2 redmine instances running on the same server. It highly depends on the way you host Redmine. It's trivial for instance with "Passenger" which is an Apache or Nginx module for running Rails applications. You can have two different virtual hosts for running the two sites and everything should just work fine.

With other daemons, you would usually just let them run on a different port, let's say "3000" for the first one (which is the default) and "3001" for the second one. Then you would have a reverse-proxy (often Apache or Nginx) that would just "proxy pass" requests to the correct environment depending on the request.

Be careful though, it's very easy to do that with two instances in the same version. If you have one version in 1.3 and one in 2.3, you probably want to look at something like RVM to manage your gems separately in both projects and be sure that gems installed for the 2.3 versions don't interfer with the 1.3 version. Redmine 2.3 runs with something called "bundler" that will prevent this kind of problems, but I think 1.3 (which is not supported anymore for a long time btw) doesn't have that, so installing too recent versions of some gems might cause some problems down the road when you will have to restart your application.

Hope this helps!

RE: 2 redmine on same server? - Added by Jérôme Jérôme almost 11 years ago

thanks for the answer, i Will Try create a 2nd virtual host. and Will met you Know.
have a good weekend

    (1-2/2)