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. Cannot get OpenProject packaged installation to run

Cannot get OpenProject packaged installation to run

Added by Phason Electronics over 9 years ago

I did a fresh install of the latest version according to the Ubuntu 14.04 instructions here.

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

  • I already had MySQL and Apache 2.4.7 installed and running various other things.
  • OpenProject installed itself in /opt/openproject..
  • The database was created.
  • The virtual server was created on port 3000 with the document root /opt/openproject/public. The folders assets and javascripts, as well as the files 404.html, 422.html, 500.html, and favicon.ico are the only items here.

When I try to run OpenProject, I get a 403 Forbidden error.

What do I do to get this running?

Regards,
Chris


Replies (6)

RE: Cannot get OpenProject packaged installation to run - Added by Oliver Günther over 9 years ago

Hey Chris,

I assume you did run openproject configure ?

If so, can you give me the output of:

1. /var/log/apache2/error.log

and

2. all logs in /var/log/openproject/ ? (edit: wrongfully used openproject-ce in the log path)

Best,
Oliver

RE: Cannot get OpenProject packaged installation to run - Added by Phason Electronics over 9 years ago

Here is the Apache 2 error log, as well as the logs in the /var/log/openproject/ folder. There is no “openproject-ce”.

Thanks very much,
Chris

RE: Cannot get OpenProject packaged installation to run - Added by Oliver Günther over 9 years ago

Hey Chris,

The logs show nothing specific except that you had an OpenProject instance running with Packager at /home/openproject/openproject-ce/

Given the he apache2 errror.log line

H01276: Cannot serve directory /opt/openproject/public/: No matching DirectoryIndex

it is most likely* you configured OpenProject with a server prefix (Relative root installation), in that case, the installation resides at the path you configured.

If you’re unsure what this means, please post the contents of /etc/openproject/installer.dat (Remove all lines with passwords and API keys).

Best,
Oliver

RE: Cannot get OpenProject packaged installation to run - Added by Phason Electronics over 9 years ago

Hi Oliver,

Yes, I did have an OpenProject instance like that previously, which I could never get installed and running properly. I ended up ripping out everything I could find with open project, Ruby, rails, and so on, so that I could start fresh with the packaged install.

I assume the Apache error is because directory indexing is not turned on, and there is no default file such as “index.php”.

I have attached the file for you.

Thanks,
Chris

RE: Cannot get OpenProject packaged installation to run - Added by Oliver Günther over 9 years ago

Hey Chris,

you’ve defined a server prefix /openproject. That means that the installation will run under <your domain>/openproject.

If that is not what you wanted, use openproject reconfigure to run through the steps and leave Server path prefix empty!

RE: RE: Cannot get OpenProject packaged installation to run - Added by Phason Electronics over 9 years ago

Well, I ran it again. It kept redoing my Apache settings and overwriting my virtual servers that served other parts of my network. When I finally got that corrected so that it would run on port 3000 instead of the port some other things run on, it worked. I now have the “demo project” in place, and have started adding users and content.

Thanks for your help.

Regards,
Chris

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