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. troubles installing and accessing openproject Centos 7

troubles installing and accessing openproject Centos 7

Added by lethargos apatheia over 8 years ago

Hi,

I’m having some trouble configuring openproject after having installed it on Centos 7.3
I reconfigured it a couple of times before because I had got some information wrong (smtp, e-mail address, whatever). So now when I try to install it I get several errors. I have already disabled Selinux.
chcon: can't apply partial context to unlabeled file ‘/etc/openproject/addons/apache2/includes/server/rewrite_mod.conf’ chcon: can't apply partial context to unlabeled file ‘/etc/openproject/addons/apache2/includes/server/ssl_mod.conf’ chcon: can't apply partial context to unlabeled file ‘/etc/openproject/addons/apache2/includes/vhost/ssl.conf’
(and some other similar lines)

Then I get these errors:
@ERROR in [default]
File ‘/opt/openproject/vendored-plugins/openproject-costs/frontend/app/components/budget/cost-budget-subform.directive.ts’ is not under ‘rootDir’ ‘/opt/openproject/frontend/app’. ‘rootDir’ is expected to contain all source files.

ERROR in [default]
File ‘/opt/openproject/vendored-plugins/openproject-costs/frontend/app/components/subform/cost-subform.directive.ts’ is not under ‘rootDir’ ‘/opt/openproject/frontend/app’. ‘rootDir’ is expected to contain all source files.

ERROR in [default]
File ‘/opt/openproject/vendored-plugins/openproject-costs/frontend/app/components/wp-display/field-types/wp-display-costs-by-type-field.module.ts’ is not under ‘rootDir’ ‘/opt/openproject/frontend/app’. ‘rootDir’ is expected to contain all source files.

ERROR in [default]
File ‘/opt/openproject/vendored-plugins/openproject-costs/frontend/app/components/wp-display/field-types/wp-display-currency-field.module.ts’ is not under ‘rootDir’ ‘/opt/openproject/frontend/app’. ‘rootDir’ is expected to contain all source files.

ERROR in [default]
File ‘/opt/openproject/vendored-plugins/openproject-my_project_page/frontend/app/components/projects-overview/overview-block.directive.ts’ is not under ‘rootDir’ ‘/opt/openproject/frontend/app’. ‘rootDir’ is expected to contain all source files.

ERROR in [default]
File ‘/opt/openproject/vendored-plugins/openproject-my_project_page/frontend/app/components/projects-overview/overview-page-layout.directive.ts’ is not under ‘rootDir’ ‘/opt/openproject/frontend/app’. ‘rootDir’ is expected to contain all source files.

ERROR in [default]
File ‘/opt/openproject/vendored-plugins/openproject-my_project_page/frontend/app/components/projects-overview/overview-textile-block.directive.ts’ is not under ‘rootDir’ ‘/opt/openproject/frontend/app’. ‘rootDir’ is expected to contain all source files.

ERROR in [default] /opt/openproject/vendored-plugins/openproject-costs/frontend/app/components/wp-display/field-types/wp-display-costs-by-type-field.module.ts:29:27
Cannot find module ‘app/components/wp-display/wp-display-field/wp-display-field.module’.

ERROR in [default] /opt/openproject/vendored-plugins/openproject-costs/frontend/app/components/wp-display/field-types/wp-display-costs-by-type-field.module.ts:30:38
Cannot find module ‘app/components/work-packages/work-package-cache.service’.

ERROR in [default] /opt/openproject/vendored-plugins/openproject-costs/frontend/app/components/wp-display/field-types/wp-display-costs-by-type-field.module.ts:49:30
Cannot find name ‘HalResource’.

ERROR in [default] /opt/openproject/vendored-plugins/openproject-costs/frontend/app/components/wp-display/field-types/wp-display-costs-by-type-field.module.ts:54:57
Property ‘$injector’ does not exist on type ‘CostsByTypeDisplayField’.

ERROR in [default] /opt/openproject/vendored-plugins/openproject-costs/frontend/app/components/wp-display/field-types/wp-display-costs-by-type-field.module.ts:59:13
Property ‘value’ does not exist on type ‘CostsByTypeDisplayField’.

ERROR in [default] /opt/openproject/vendored-plugins/openproject-costs/frontend/app/components/wp-display/field-types/wp-display-costs-by-type-field.module.ts:59:27
Property ‘value’ does not exist on type ‘CostsByTypeDisplayField’.

ERROR in [default] /opt/openproject/vendored-plugins/openproject-costs/frontend/app/components/wp-display/field-types/wp-display-costs-by-type-field.module.ts:60:11
Property ‘value’ does not exist on type ‘CostsByTypeDisplayField’.

ERROR in [default] /opt/openproject/vendored-plugins/openproject-costs/frontend/app/components/wp-display/field-types/wp-display-costs-by-type-field.module.ts:70:23
Property ‘value’ does not exist on type ‘CostsByTypeDisplayField’.

ERROR in [default] /opt/openproject/vendored-plugins/openproject-costs/frontend/app/components/wp-display/field-types/wp-display-costs-by-type-field.module.ts:76:17
Property ‘value’ does not exist on type ‘CostsByTypeDisplayField’.

ERROR in [default] /opt/openproject/vendored-plugins/openproject-costs/frontend/app/components/wp-display/field-types/wp-display-costs-by-type-field.module.ts:77:17
Property ‘value’ does not exist on type ‘CostsByTypeDisplayField’.

ERROR in [default] /opt/openproject/vendored-plugins/openproject-costs/frontend/app/components/wp-display/field-types/wp-display-costs-by-type-field.module.ts:78:16
Property ‘value’ does not exist on type ‘CostsByTypeDisplayField’.

ERROR in [default] /opt/openproject/vendored-plugins/openproject-costs/frontend/app/components/wp-display/field-types/wp-display-currency-field.module.ts:29:27
Cannot find module ‘app/components/wp-display/wp-display-field/wp-display-field.module’.

ERROR in [default] /opt/openproject/vendored-plugins/openproject-costs/frontend/app/components/wp-display/field-types/wp-display-currency-field.module.ts:36:17
Property ‘value’ does not exist on type ‘CurrencyDisplayField’.

ERROR in [default] /opt/openproject/vendored-plugins/openproject-costs/frontend/app/components/wp-display/field-types/wp-display-currency-field.module.ts:37:23
Property ‘value’ does not exist on type ‘CurrencyDisplayField’.@

I’m a little bit intrigued by the fact that I have to do some manual apache adjustments after the installation finishes. I had to do remove ssl.conf (in /etc/httpd/conf.d), because it apache was trying to bind to an already bound port (443). Anyway, when I try to access it by web (https://openproject.domain.com), I get this:
You don’t have permission to access / on this server.

Any ideas who I could start troubleshooting?
/var/log/httpd/error_log
Cannot serve directory /opt/openproject/public/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive

I suppose something is missing there, because it shouldn’t be looking for an index.html, it should be entering the application itself, shouldn’t it?

I’m actually not that sure how I can access the application itself. Haven’t found any guidelines regarding this. I only found the instructions to install the service.


Loading...