Top Menu

Jump to content
    Global modules

    Global modules

    • Home
    • Projects
    • Activity
    • Work packages
    • Gantt charts
    • Calendars
    • Team planners
    • Boards
    • News
    Home
    Home
Help
    Getting started
    • Introduction video
  • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support
  • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation

User menu

Sign in
Forgot your password?

or sign in with your existing account

OpenProject ID Google

Side Menu

Collapse project menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Expand project menu
Support Installation & Updates
  1. OpenProject Community
  2. OpenProject
  3. Forums
  4. Support Installation & Updates
  5. Installation of multiple openproject instances on one server

Installation of multiple openproject instances on one server

Added by Karin Haenelt over 7 years ago

Is it possible to install multiple instances of openproject on one server?

Configuration
Debian 8
Current package installation of OpenProject with Apache as reverse proxy to Unicorn and Unicorn as application server

The package installation works fine for one instance, but as soon as a second instance is installed on the server, some configuration (which?) is overwritten and only the second instance is accessible via Apache.

This is the specification of etc/apache2/sites-enabled/openproject:

Include /etc/openproject/addons/apache2/includes/server/00_repositories_perl.conf


<VirtualHost 127.0.0.1:80>
  ServerName localhost

  # Include the repoman configuration in order
  # to access the repository from localhost
  Include /var/www/html/A/etc/openproject/addons/apache2/includes/vhost/repoman_svn_wrapper.conf
  Include /var/www/html/B/etc/openproject/addons/apache2/includes/vhost/repoman_svn_wrapper.conf
</VirtualHost>


<VirtualHost *:80>

    DocumentRoot /var/www/html

    ProxyRequests off

    Include /var/www/html/A/etc/openproject/addons/apache2/includes/vhost/*.conf
    Include /var/www/html/B/etc/openproject/addons/apache2/includes/vhost/*.conf


    # Can't use Location block since it would overshadow all the other proxypass directives on CentOS
    ProxyPass /A/ http://127.0.0.1:6000/A/ retry=0
    ProxyPassReverse /A/ http://127.0.0.1:6000/A/
    ProxyPass /B/ http://127.0.0.1:6000/B/ retry=0
    ProxyPassReverse /B/ http://127.0.0.1:6000/B/
</VirtualHost>

While Https://exampleserver/B works fine, Https://exampleserver/A returns “Not found /A/” (obviously an answer from Unicorn)

Thank you very much for your answer


Loading...