Content
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.