Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • 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
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

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

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Installation on an existing server?

Installation on an existing server?

Added by Peter Verkooijen over 5 years ago

I am looking for instructions on how to install OpenProject on an existing (Apache) web server, in a subfolder (mysite.com/openproject). I have a VPS on CentOS 7 with several active websites.

All the instructions I have found so far assume you install this on an empty server. For example, you get the option 'install apache2 server' or Skip and do everything manually. If I choose the 'install apache2' option, will it wipe my existing Apache server? Where can I find instructions to configure Apache manually?

Can PostgreSQL coexist with MySQL on the same server? Would the OpenProject install scripts overwrite or mess up existing database configurations? In general, can I trust the installation scripts to check for existing files and configurations?

Where should I start with this? Has anyone done this, install OpenProject in a subfolder of an existing web server? Is that really that unusual or bad practice? There must be a tutorial somewhere...

Edit:

I found this on StackOverflow, January 2019, that seems to confirm that OpenProject does not play nice with whatever else you have on the server:

... as of the time I have installed OpenProject all my other VHOSTs stopped working. If I would disable OP, then all the rest worked properly.
I fixed it by changing OP ServerName to op-dev and port from *:80 to *:81, and one important place where this should also be done is within file:

/etc/openproject/addons/apache2/includes/server/20_repoman_svn_vhost.conf

Here you should also change :
"VirtualHost 127.0.0.1:80" to "VirtualHost *:80" and
ServerName can stay localhost.

Now, all VHOSTs are working properly.

Is that the correct solution? What is the official/recommended way?

Edit2:

I have run sudo openproject configure, skipped (re)installing Apache, still got an option to enter a Fully Qualified Domain Name and entered something like 'openproject.mywebsite.com'. Then when I go to that address, 'This site can’t be reached'. But my existing sites on the same server still work, so that is success.

Now what?

Edit3:

Checked installation/configuration by running the following:

sudo openproject run check

The result is everything is OK, except 'Web server is NOT running'.

I have Apache running on the server. Should I run 'install Apache' option in the configuration script after all? Will it play nice with the Apache server and websites I already have running on the server?


Replies (4)

RE: Installation on an existing server? - Added by Piotr F about 4 years ago

I have the same output, Web server is NOT running, however, Apache was installed only with OP.

Also, strangely, the output says MySQL configuration is running. While, I think, it should be PostgreSQL.

RE: Installation on an existing server? - Added by Peter Verkooijen about 4 years ago

@Piotr F I don't remember the details, but I think installation on an existing server is just not possible. I wasted a lot of time on OpenProject before I finally got that answer somewhere - correct me if I'm wrong.

I switched to Leantime, which works fine for my purposes.

RE: RE: Installation on an existing server? - Added by Piotr F about 4 years ago

@Peter I have no idea if it works with Apache already running, but the devs here recommend in the manual to run OP only on one instance, if I got this right.

PS How to turn on @user functionality here in the forum, to make it change into a link? I am using Firefox DE.

RE: Installation on an existing server? - Added by Oliver Günther about 4 years ago

Hi Peter, Piotr,

if you use an existing server with Apache2 installed that OpenProject cannot control on the root domain, you will need to use "skip" on the Apache autoinstall step and manually setup the Apache configuration. It works and is described here, but we do not recommend it unless you know what you're doing.

Please see the following documentation section for more information:

 https://docs.openproject.org/installation-and-operations/installation/packaged/#skip-not-recommended-1

Best

Oliver

  • (1 - 4/4)
Loading...