multiple instances

Added by Michael Vitz 12 months ago

Hi all,
I would like to set up multiple instances of redmine, with different databases, on the same apache server. Basically my question is that same as in the thread
Multiple URI instances of redmine on one apache server

However, that thread is 6-7 years old. I am using Ubuntu 16.04 LTS

Here is my environment:
  Redmine version                3.2.1.stable
  Ruby version                   2.3.1-p112 (2016-04-26) [x86_64-linux-gnu]
  Rails version                  4.2.6
  Environment                    production
  Database adapter               Mysql2

But if someone has different ruby/rails combination that would work with Ubuntu 16.04 I could maybe switch mine up.

Stealing from the thread linked above.....

My first redmine instance is available as


and /etc/redmine/default/database.yml pointing to a mysql database called redmine1

It would be sufficent for my purposes to create another mysql database called say 'redmine2'
available from


1) Create and populate a new mysql database redmine2

2) Modify my apache2 conf to now have

<Directory /var/www/redmine1>
RailsBaseURI /redmine1
PassengerResolveSymlinksInDocumentRoot on
<Directory /var/www/redmine2>
RailsBaseURI /redmine2
PassengerResolveSymlinksInDocumentRoot on

3) create or link /var/www/redmine2 to something like /usr/share/redmine/public or a copy of it.

4) Do some more configuration ...

Can anyone advise?

Many thanks!