suddenly Redmine shows "We're sorry, but something went wrong".
Added by seongyu lee over 2 years ago
Suddenly I can not enter Redmine since a week ago.
I try to solve it, but no effective anythings...
I want someone to help me... Thank you.
Redmine 3.4.4 version.
Rails 4.2.10
[ 2022-06-13 16:57:31.1360 1180/7f9b0632a700 age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /usr/share/redmine: An error occurred while starting up the preloader.
Error ID: 23be222b
Error details saved to: /tmp/passenger-error-W4fOeu.html
Message from application: uninitialized constant Net::LDAP::LdapError (NameError)
/usr/share/redmine/app/models/auth_source_ldap.rb:24:in `<class:AuthSourceLdap>'
/usr/share/redmine/app/models/auth_source_ldap.rb:22:in `<top (required)>'
/usr/lib/ruby/vendor_ruby/rails/engine.rb:472:in `block (2 levels) in eager_load!'
/usr/lib/ruby/vendor_ruby/rails/engine.rb:471:in `each'
/usr/lib/ruby/vendor_ruby/rails/engine.rb:471:in `block in eager_load!'
/usr/lib/ruby/vendor_ruby/rails/engine.rb:469:in `each'
/usr/lib/ruby/vendor_ruby/rails/engine.rb:469:in `eager_load!'
/usr/lib/ruby/vendor_ruby/rails/engine.rb:346:in `eager_load!'
/usr/lib/ruby/vendor_ruby/rails/application/finisher.rb:56:in `each'
/usr/lib/ruby/vendor_ruby/rails/application/finisher.rb:56:in `block in <module:Finisher>'
/usr/lib/ruby/vendor_ruby/rails/initializable.rb:30:in `instance_exec'
/usr/lib/ruby/vendor_ruby/rails/initializable.rb:30:in `run'
/usr/lib/ruby/vendor_ruby/rails/initializable.rb:55:in `block in run_initializers'
/usr/lib/ruby/2.5.0/tsort.rb:228:in `block in tsort_each'
/usr/lib/ruby/2.5.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
/usr/lib/ruby/2.5.0/tsort.rb:431:in `each_strongly_connected_component_from'
/usr/lib/ruby/2.5.0/tsort.rb:349:in `block in each_strongly_connected_component'
/usr/lib/ruby/2.5.0/tsort.rb:347:in `each'
/usr/lib/ruby/2.5.0/tsort.rb:347:in `call'
/usr/lib/ruby/2.5.0/tsort.rb:347:in `each_strongly_connected_component'
/usr/lib/ruby/2.5.0/tsort.rb:226:in `tsort_each'
/usr/lib/ruby/2.5.0/tsort.rb:205:in `tsort_each'
/usr/lib/ruby/vendor_ruby/rails/initializable.rb:54:in `run_initializers'
/usr/lib/ruby/vendor_ruby/rails/application.rb:352:in `initialize!'
/usr/share/redmine/config/environment.rb:14:in `<top (required)>'
config.ru:3:in `require'
config.ru:3:in `block in <main>'
/usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `instance_eval'
/usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `initialize'
config.ru:1:in `new'
config.ru:1:in `<main>'
/usr/share/passenger/helper-scripts/rack-preloader.rb:110:in `eval'
/usr/share/passenger/helper-scripts/rack-preloader.rb:110:in `preload_app'
/usr/share/passenger/helper-scripts/rack-preloader.rb:156:in `<module:App>'
/usr/share/passenger/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
/usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `<main>'
[ 2022-06-13 16:57:31.1549 1180/7f9adeffd700 age/Cor/Con/CheckoutSession.cpp:285 ]: [Client 7-1] Cannot checkout session because a spawning error occurred. The identifier of the error is 23be222b. Please see earlier logs for details about the error.