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. struggling to install Openproject on Centos 7 - 403 Forbidden

struggling to install Openproject on Centos 7 - 403 Forbidden

Added by lethargos apatheia over 8 years ago

(I’ve already posted once, and I’ve no idea how to get that that particular post, there doesn’t seem to be any way sections like “my posts”, “subscribed posts”, whatever - but now I’ll try to be more succint and explain exactly what is going on).

I’ve installed openproject for Centos 7, following the instructions on the openproject site. Because there’s already a rewrite rule for https on openproject.conf (under /etc/httpd/conf.d) and a Listen 443 directive in the openproject configuration, I had to delete /etc/httpd/conf.d/ssl.conf.

Anyway, when I try to access it by web, I get a 403 Forbidden error. I tried both with and without /openproject at the end. As far as I can tell, I configured it with an “/openproject” suffix (this is what it says in installer.dat). So I’ve no idea where to go from here.

This is what /var/log/httpd/error.log says:
[Wed Jan 04 16:29:34.844468 2017] [autoindex:error] [pid 3277] [client 10.32.0.148:58019] AH01276: Cannot serve directory /opt/openproject/public/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive

I’m guessing that I don’t actually need a DirectoryIndex directive, do I? That’s for listing the files themselves, instead of loading a website.

Where do I go from here?

Thanks!


Replies (4)

RE: struggling to install Openproject on Centos 7 - 403 Forbidden - Added by lethargos apatheia about 8 years ago

I’m amazed by the constant support I’ve received on this forum. I’m really looking forward to using openproject, having seem so much activity in the community. Schön.

RE: struggling to install Openproject on Centos 7 - 403 Forbidden - Added by Oliver Günther about 8 years ago

If you delete the ssl.conf, nothing will be served towards the inner proxy. The Listen configuration only allows the server to listen on https, and the rewrite does nothing but effectively delegate to the ssl.conf.

The error you’re seeing is just the default behavior of the DocumentRoot /opt/openproject/public directive without the Indexes option.

I’d suggest you let openproject configure the server again by running openproject configure, which should do the correct things.

Best,
Oliver

RE: struggling to install Openproject on Centos 7 - 403 Forbidden - Added by lethargos apatheia about 8 years ago

Actually I did solve the problem. No, openproject configure didn’t work, I tried it many times. Configure and reconfigure and what not. The problem is related to the way the installer was adjusted for Centos and it’s related to the mysql rights. I guess Centos is too obscure a distribution for openproject to be able to make it work out of the box.

My only advice to people out there, I guess, is not use this crap :) Thanks.

RE: RE: struggling to install Openproject on Centos 7 - 403 Forbidden - Added by Ming Ming almost 7 years ago

Hi,

i face the same issue under centos.

Could you share, what you exactly did to solve the issue?

Thanks in advance for your Feedback.

Best Regards
Ming

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