Content
Error 503
Added by John Crawford about 6 years ago
Linus newbie, unable to determine what is happening. Can someone provide some answers?
Launching installer for openproject...
Selected addons: legacy-installer mysql apache2 repositories smtp memcached openproject
[legacy-installer] ./bin/configure
[mysql] ./bin/configure
Package mysql-community-client-8.0.14-1.el7.x86_64 already installed and latest version
MySQL connection OK
DONE
[apache2] ./bin/configure
DONE
[repositories] ./bin/configure
DONE
[smtp] ./bin/configure
DONE
[memcached] ./bin/configure
DONE
[openproject] ./bin/configure
[legacy-installer] ./bin/preinstall
[mysql] ./bin/preinstall
[apache2] ./bin/preinstall
getsebool: SELinux is disabled
setsebool: SELinux is disabled.
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
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/vhost/compression.conf’
chcon: can't apply partial context to unlabeled file ‘/etc/openproject/addons/apache2/includes/vhost/expiration.conf’
chcon: can't apply partial context to unlabeled file ‘/etc/openproject/addons/apache2/includes/vhost/sys.conf’
chcon: can't apply partial context to unlabeled file ‘/etc/openproject/addons/apache2/includes/vhost/assets.conf’
chcon: can't apply partial context to unlabeled file ‘/etc/openproject/addons/apache2/includes/vhost/00_prefix_redirect.conf’
chcon: can't apply partial context to unlabeled file ‘/etc/openproject/addons/apache2/includes/server/proxy_mod.conf’
chcon: can't apply partial context to unlabeled file ‘/etc/openproject/addons/apache2/includes/server/proxy_http_mod.conf’
chcon: can't apply partial context to unlabeled file ‘/etc/openproject/addons/apache2/includes/server/headers_mod.conf’
chcon: can't apply partial context to unlabeled file ‘/etc/openproject/addons/apache2/includes/server/expires_mod.conf’
chcon: can't apply partial context to unlabeled file ‘/etc/openproject/addons/apache2/includes/server/deflate_mod.conf’
chcon: can't apply partial context to unlabeled file ‘/etc/openproject/addons/apache2/includes/server/filter_mod.conf’
chcon: can't apply partial context to unlabeled file ‘/etc/httpd/conf.d/openproject.conf’
Redirecting to /bin/systemctl restart httpd.service
[repositories] ./bin/postinstall
Setting up SVN integration for Apache
chcon: can't apply partial context to unlabeled file ‘/etc/openproject/addons/apache2/includes/vhost/repoman_svn_wrapper.conf’
chcon: can't apply partial context to unlabeled file ‘/etc/openproject/addons/apache2/includes/server/20_repoman_svn_vhost.conf’
chcon: can't apply partial context to unlabeled file ‘/etc/openproject/addons/apache2/includes/vhost/svn_dav.conf’
chcon: can't apply partial context to unlabeled file ‘/var/db/openproject/svn’
chcon: can't apply partial context to unlabeled file ‘/var/db/openproject/svn’
Setting up Git integration for Apache
chcon: can't apply partial context to unlabeled file ‘/etc/openproject/addons/apache2/includes/vhost/git_smart_http.conf’
chcon: can't apply partial context to unlabeled file ‘/var/db/openproject/git’
chcon: can't apply partial context to unlabeled file ‘/var/db/openproject/git’
chcon: can't apply partial context to unlabeled file ‘/usr/libexec/git-core/git-http-backend’
chcon: can't apply partial context to unlabeled file ‘/var/db/openproject/git’
Redirecting to /bin/systemctl restart httpd.service
[smtp] ./bin/postinstall
[memcached] ./bin/postinstall
[openproject] ./bin/postinstall
rake aborted!
Mysql2::Error: Authentication plugin 'caching_sha2_password' cannot be loaded: /usr/lib64/mysql/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/mysql2-0.5.1/lib/mysql2/client.rb:90:in `connect'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/mysql2-0.5.1/lib/mysql2/client.rb:90:in `initialize'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.6.1/lib/active_record/connection_adapters/mysql2_adapter.rb:21:in `new'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.6.1/lib/active_record/connection_adapters/mysql2_adapter.rb:21:in `mysql2_connection'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.6.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:759:in `new_connection'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.6.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:803:in `checkout_new_connection'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.6.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:782:in `try_to_checkout_new_connection'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.6.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:743:in `acquire_connection'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.6.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:500:in `checkout'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.6.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:374:in `connection'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.6.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:931:in `retrieve_connection'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.6.1/lib/active_record/connection_handling.rb:116:in `retrieve_connection'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.6.1/lib/active_record/connection_handling.rb:88:in `connection'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.6.1/lib/active_record/model_schema.rb:331:in `table_exists?'
/opt/openproject/config/initializers/30-redmine.rb:36:in `<top (required)>'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.6.1/lib/active_support/dependencies.rb:286:in `load'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.6.1/lib/active_support/dependencies.rb:286:in `block in load'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.6.1/lib/active_support/dependencies.rb:258:in `load_dependency'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.6.1/lib/active_support/dependencies.rb:286:in `load'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/railties-5.1.6.1/lib/rails/engine.rb:655:in `block in load_config_initializer'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.6.1/lib/active_support/notifications.rb:168:in `instrument'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/railties-5.1.6.1/lib/rails/engine.rb:654:in `load_config_initializer'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/railties-5.1.6.1/lib/rails/engine.rb:612:in `block (2 levels) in <class:Engine>'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/railties-5.1.6.1/lib/rails/engine.rb:611:in `each'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/railties-5.1.6.1/lib/rails/engine.rb:611:in `block in <class:Engine>'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/railties-5.1.6.1/lib/rails/initializable.rb:30:in `instance_exec'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/railties-5.1.6.1/lib/rails/initializable.rb:30:in `run'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/railties-5.1.6.1/lib/rails/initializable.rb:59:in `block in run_initializers'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/railties-5.1.6.1/lib/rails/initializable.rb:48:in `each'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/railties-5.1.6.1/lib/rails/initializable.rb:48:in `tsort_each_child'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/railties-5.1.6.1/lib/rails/initializable.rb:58:in `run_initializers'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/railties-5.1.6.1/lib/rails/application.rb:353:in `initialize!'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/railties-5.1.6.1/lib/rails/railtie.rb:185:in `public_send'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/railties-5.1.6.1/lib/rails/railtie.rb:185:in `method_missing'
/opt/openproject/config/environment.rb:34:in `<top (required)>'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.6.1/lib/active_support/dependencies.rb:292:in `require'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.6.1/lib/active_support/dependencies.rb:292:in `block in require'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.6.1/lib/active_support/dependencies.rb:258:in `load_dependency'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.6.1/lib/active_support/dependencies.rb:292:in `require'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/railties-5.1.6.1/lib/rails/application.rb:329:in `require_environment!'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/railties-5.1.6.1/lib/rails/application.rb:445:in `block in run_tasks_blocks'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:74:in `load'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:74:in `kernel_load'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:27:in `run'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/cli.rb:360:in `exec'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/cli.rb:20:in `dispatch'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/cli.rb:10:in `start'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/exe/bundle:30:in `block in <top (required)>'
/opt/openproject/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'
/opt/openproject/vendor/bundle/ruby/2.5.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 `<main>'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
Replies (1)
Your MySQL installation uses a plugin that results in an error:
Mysql2::Error: Authentication plugin 'caching_sha2_password' cannot be loaded: /usr/lib64/mysql/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory
I have never heard of that and it is definitely not something OpenProject installs. It's not related to the packaged installation. Remove the plugin and re-run the configure command.
Best,
Oliver