Redmine无法启动500错误

时间:2016-06-27 20:36:11

标签: ruby-on-rails ruby apache passenger redmine

安装宝石后我无法启动我的redmine。我从github做了一个干净的安装,我跟着这个installation,但我仍然有同样的错误。 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
    • EXECUTABLE目录:/ usr / local / bin
    • RUBYGEMS PLATFORMS:
      • ruby​​
      • x86_64-linux
    • GEM路径:
      • /var/lib/gems/1.9.1
      • /home/mehdi/.gem/ruby/1.9.1
    • GEM配置:
    • :update_sources =>真正
      • :verbose =>是的
      • :benchmark =>假的
      • :backtrace =>假的
      • :bulk_threshold => 1000
    • 远程来源:
    • 操作系统:
      • Debian 7.11
    • 管理平台:
      • Redmine 3.1-stable(branch)

如果需要其他任何内容,请告诉我们!

0 个答案:

没有答案