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 from packages seems incomplete

Installation from packages seems incomplete

Added by Alasdair McAndrew over 8 years ago

I attempted to install openproject on my VPS running Ubuntu 14.04 following the instructions given at

https://www.openproject.org/open-source/download/packaged-installation-guide/

It all seemed to go pretty well, but I can’t start it in my browser. And when I dug about I found that:

  • the directory /home/openproject is empty - openproject seems to be installed in /opt/openproject
  • there is no file openproject.conf in the /etc/apache2/sites-enabled/ directory

So it seems as though some manual fiddling is going to be needed. But I’m a bit confused. The manual installation instructions assume that all the necessary files will be in the home directory of the “openproject” user, but the package installation puts all the files in opt/openproject. Which one is correct - and is there a simple way of rescuing, or completing, the packaged installation?


Replies (5)

RE: Installation from packages seems incomplete - Added by Oliver Günther over 8 years ago

Hey Alasdair,

when you first install the package, OpenProject is indeed installed to /opt/openproject.
Installing the package itself does nothing but extract the relevant files. You still need to step through the installation wizard for database setup and other initial configuration.

Use openproject configure to do that. If you choose to install and setup Apache2 in the wizard, a conf file will be written.

For more information, please see ‘Package Configuration’ in the guide you’ve linked.
https://www.openproject.org/open-source/download/packaged-installation-guide

Best,
Oliver

RE: Installation from packages seems incomplete - Added by Alasdair McAndrew over 8 years ago

Thanks, Oliver,

I have indeed run openproject configure and also openproject reconfigure; I have set up a MySQL database manually and during the configuration accepted “Use existing database”. I am already running apache2 (this server runs several other web services). I think part of the problem was that the configuration asked me whether I wanted to install apache2, and I answered no (it’s already installed). But I don’t want to reinstall apache2 as I don’t want to break my existing setup and services.

If I answer “Yes” to install apache2, does openproject actually do a new download and install of apache2, or does it use an existing installation?

Thanks again,
Alasdair

RE: Installation from packages seems incomplete - Added by Oliver Günther over 8 years ago

Hi Alasdair,

it will try to / check whether the apache package is installed and use that one.

Please note that it occupies :80 and :443 virtualhosts, though. If you do not want that, you must provide the integration yourself.

Best,
Oliver

RE: Installation from packages seems incomplete - Added by Alasdair McAndrew over 8 years ago

Oops - I ran sudo openproject reconfigure and said yes to install apache2. And it did a complete reinstallation - with the result that apache2 won’t start! I get a “configtest” failure. The main lines seem to be:

AH00526: Syntax error on line 1 of /etc/openproject/addons/apache2/includes/server/00_repositories_perl.conf:
mod_perl is already running, too late for PerlSwitches

I am running mod_perl already as I need it for an online mathematics testing system I use with my students - and this is a service which I now can’t seem to use, as apache2 is not starting. This is what I was afraid of…

Any help would be most welcome!

RE: Installation from packages seems incomplete - Added by Alasdair McAndrew over 8 years ago

Well, I simply commented out the first line, and all is good.

… except there’s a problem with ports: the root of my server now produces openproject (which is excellent!) instead of wordpress.org (which I need access to)… I need some way of being able to access both of them!

Thanks again.

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