Redmine无法启动500错误

宝石安装后我无法启动我的redmine。 我从github做了一个干净的安装,我遵循这个安装,但是我仍然有同样的错误。 redmine(production.log)中没有输出。 这是apache日志:

[ 2016-06-28 08:26:48.7305 3216/6db5c1bea700 Pool2/Spawner.h:738 ]: [App 3326 stdout] 
[ 2016-06-28 08:26:53.4676 3216/6db5c1bea700 Pool2/SmartSpawner.h:301 ]: Preloader for /inlibro/opt/redmine started on PID 3326, listening on unix:/tmp/passenger.1.0.25100/generation-124/backends/preloader.3326
[ 2016-06-28 08:26:53.5184 3216/6db5c0040700 Pool2/Implementation.cpp:1182 ]: [App 3326 stderr]
[ 2016-06-28 08:26:53.5183 3346/0x000000083b50a8(Worker 1) utils.rb:71 ]: *** Exception NoMethodError in Rack application object (undefined method `clean_path_info' for Rack::Utils:Module) (process 3346, thread 0x000000083b50a8(Worker 1)):
[ 2016-06-28 08:26:53.5184 3216/6db5c0040700 Pool2/Implementation.cpp:1182 ]: [App 3326 stderr]     from /var/lib/gems/1.9.1/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/static.rb:28:in `block in match?'
[ 2016-06-28 08:26:53.5184 3216/6db5c0040700 Pool2/Implementation.cpp:1182 ]: [App 3326 stderr]     from /var/lib/gems/1.9.1/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/static.rb:27:in `map'
[ 2016-06-28 08:26:53.5184 3216/6db5c0040700 Pool2/Implementation.cpp:1182 ]: [App 3326 stderr]     from /var/lib/gems/1.9.1/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/static.rb:27:in `match?'
[ 2016-06-28 08:26:53.5184 3216/6db5c0040700 Pool2/Implementation.cpp:1182 ]: [App 3326 stderr]     from /var/lib/gems/1.9.1/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/static.rb:110:in `call'
[ 2016-06-28 08:26:53.5184 3216/6db5c0040700 Pool2/Implementation.cpp:1182 ]: [App 3326 stderr]     from /usr/lib/ruby/vendor_ruby/rack/sendfile.rb:102:in `call'
[ 2016-06-28 08:26:53.5184 3216/6db5c0040700 Pool2/Implementation.cpp:1182 ]: [App 3326 stderr]     from /var/lib/gems/1.9.1/gems/railties-4.2.5.2/lib/rails/engine.rb:518:in `call'
[ 2016-06-28 08:26:53.5184 3216/6db5c0040700 Pool2/Implementation.cpp:1182 ]: [App 3326 stderr]     from /var/lib/gems/1.9.1/gems/railties-4.2.5.2/lib/rails/application.rb:165:in `call'
[ 2016-06-28 08:26:53.5184 3216/6db5c0040700 Pool2/Implementation.cpp:1182 ]: [App 3326 stderr]     from /var/lib/gems/1.9.1/gems/railties-4.2.5.2/lib/rails/railtie.rb:194:in `public_send'
[ 2016-06-28 08:26:53.5184 3216/6db5c0040700 Pool2/Implementation.cpp:1182 ]: [App 3326 stderr]     from /var/lib/gems/1.9.1/gems/railties-4.2.5.2/lib/rails/railtie.rb:194:in `method_missing'
[ 2016-06-28 08:26:53.5185 3216/6db5c0040700 Pool2/Implementation.cpp:1182 ]: [App 3326 stderr]     from /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request'
[ 2016-06-28 08:26:53.5185 3216/6db5c0040700 Pool2/Implementation.cpp:1182 ]: [App 3326 stderr]     from /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request'
[ 2016-06-28 08:26:53.5185 3216/6db5c0040700 Pool2/Implementation.cpp:1182 ]: [App 3326 stderr]     from /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop'
[ 2016-06-28 08:26:53.5185 3216/6db5c0040700 Pool2/Implementation.cpp:1182 ]: [App 3326 stderr]     from /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads'
[Tue Jun 28 08:26:53 2016] [error] [client 199.38.101.93] Premature end of script headers: 

这是我的环境:

  • RubyGems环境:
  • RUBYGEMS版本:1.8.23
  • RUBY VERSION:1.9.3(2012-04-20 patchlevel 194)[x86_64-linux]
  • 安装目录:/var/lib/gems/1.9.1
  • RUBY EXECUTABLE:/usr/bin/ruby1.9.1
  • 可执行目录:/ usr / local / bin
  • RUBYGEMS平台:
  • 红宝石
  • x86_64的Linux的
  • 创业板路径:
  • /var/lib/gems/1.9.1
  • /home/mehdi/.gem/ruby/1.9.1
  • 创业板配置:
  • :update_sources => true
  • :verbose => true
  • :benchmark => false
  • :backtrace => false
  • :bulk_threshold => 1000
  • 远程资源:
  • http://rubygems.org/
  • OS:
  • Debian 7.11
  • 管理平台:
  • Redmine 3.1稳定(分支)
  • 让我知道是否需要其他东西!

    链接地址: http://www.djcxy.com/p/63333.html

    上一篇: Redmine unable to start 500 error

    下一篇: Why do I get cannot load such file?