Content
centos 7 install help
Added by ryan m over 6 years ago
trying to install openproject on centos 7
getting this error after running sudo openproject 7 in a fresh centos 7 install
[openproject] ./bin/configure
[legacy-installer] ./bin/preinstall
[mysql] ./bin/preinstall
[apache2] ./bin/preinstall
Note: Forwarding request to ‘systemctl enable httpd.service’.
[repositories] ./bin/preinstall
[smtp] ./bin/preinstall
[memcached] ./bin/preinstall
Note: Forwarding request to ‘systemctl enable memcached.service’.
[openproject] ./bin/preinstall
[legacy-installer] ./bin/postinstall
[mysql] ./bin/postinstall
Generating /etc/openproject/conf.d/database…
[apache2] ./bin/postinstall
Redirecting to /bin/systemctl restart httpd.service
[repositories] ./bin/postinstall
Setting up SVN integration for Apache
Setting up Git integration for Apache
chcon: failed to change context of \u2018/var/db/openproject/git\u2019 to \u2018unconfined_u:object_r:httpd_git_rw_content_t:s0\u2019: Invalid argument
Redirecting to /bin/systemctl restart httpd.service
[smtp] ./bin/postinstall
[memcached] ./bin/postinstall
[openproject] ./bin/postinstall
rake aborted!
Psych::SyntaxError: (): found character that cannot start any token while scanning for the next token at line 38 column 18
/opt/openproject/lib/open_project/configuration.rb:378:in `load_config_from_file’
/opt/openproject/lib/open_project/configuration.rb:133:in `load’
/opt/openproject/lib/open_project/configuration.rb:202:in `[]’
/opt/openproject/config/application.rb:149:in `class:Application’
/opt/openproject/config/application.rb:77:in `module:OpenProject’
/opt/openproject/config/application.rb:76:in `<top (required)>’
/opt/openproject/Rakefile:33:in `require’
/opt/openproject/Rakefile:33:in `<top (required)>’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/rake-12.1.0/exe/rake:27:in `<top (required)>’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:74:in `load’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:74:in `kernel_load’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:27:in `run’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli.rb:360:in `exec’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli.rb:20:in `dispatch’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli.rb:10:in `start’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/exe/bundle:30:in `block in <top (required)>’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors’
/opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/exe/bundle:22:in `<top (required)>’
/opt/openproject/bin/bundle:3:in `load’
/opt/openproject/bin/bundle:3:in `
’
(See full trace by running task with —trace)
Replies (1)
Install script apprently doesnt support special charicters….apprently security is overated.
https://community.openproject.com/topics/4542