Project

General

Profile

Redmine unable to start 500 error

Added by Mehdi Hamidi almost 8 years ago

I' unable to start my redmine after a gem installation. I did a clean installation from the github and I followed this [[http://www.redmine.org/projects/redmine/wiki/redmineinstall]] but I still have the same error. There's no output in the redmine (production.log). This is the apache log :

[ 2016-06-27 16:19:17.0316 23797/7c94ac9ba700 Pool2/Implementation.cpp:1182 ]: [App 23924 stderr] [ 2016-06-27 16:19:17.0315 23950/0x0000000892bd70(Worker 1) utils.rb:71 ]: *** Exception NoMethodError in Rack application object (undefined method `clean_path_info' for Rack::Utils:Module) (process 23950, thread 0x0000000892bd70(Worker 1)):
[ 2016-06-27 16:19:17.0316 23797/7c94ac9ba700 Pool2/Implementation.cpp:1182 ]: [App 23924 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-27 16:19:17.0316 23797/7c94ac9ba700 Pool2/Implementation.cpp:1182 ]: [App 23924 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-27 16:19:17.0316 23797/7c94ac9ba700 Pool2/Implementation.cpp:1182 ]: [App 23924 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-27 16:19:17.0316 23797/7c94ac9ba700 Pool2/Implementation.cpp:1182 ]: [App 23924 stderr] from /var/lib/gems/1.9.1/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/static.rb:110:in `call'
[Mon Jun 27 16:19:17 2016] [error] [client 199.38.101.93] Premature end of script headers:
[ 2016-06-27 16:19:17.0316 23797/7c94ac9ba700 Pool2/Implementation.cpp:1182 ]: [App 23924 stderr] from /usr/lib/ruby/vendor_ruby/rack/sendfile.rb:102:in `call'
[ 2016-06-27 16:19:17.0317 23797/7c94ac9ba700 Pool2/Implementation.cpp:1182 ]: [App 23924 stderr] from /var/lib/gems/1.9.1/gems/railties-4.2.5.2/lib/rails/engine.rb:518:in `call'
[ 2016-06-27 16:19:17.0317 23797/7c94ac9ba700 Pool2/Implementation.cpp:1182 ]: [App 23924 stderr] from /var/lib/gems/1.9.1/gems/railties-4.2.5.2/lib/rails/application.rb:165:in `call'
[ 2016-06-27 16:19:17.0317 23797/7c94ac9ba700 Pool2/Implementation.cpp:1182 ]: [App 23924 stderr] from /var/lib/gems/1.9.1/gems/railties-4.2.5.2/lib/rails/railtie.rb:194:in `public_send'
[ 2016-06-27 16:19:17.0317 23797/7c94ac9ba700 Pool2/Implementation.cpp:1182 ]: [App 23924 stderr] from /var/lib/gems/1.9.1/gems/railties-4.2.5.2/lib/rails/railtie.rb:194:in `method_missing'
[ 2016-06-27 16:19:17.0317 23797/7c94ac9ba700 Pool2/Implementation.cpp:1182 ]: [App 23924 stderr] from /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request'
[ 2016-06-27 16:19:17.0317 23797/7c94ac9ba700 Pool2/Implementation.cpp:1182 ]: [App 23924 stderr] from /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request'
[ 2016-06-27 16:19:17.0317 23797/7c94ac9ba700 Pool2/Implementation.cpp:1182 ]: [App 23924 stderr] from /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop'
[ 2016-06-27 16:19:17.0317 23797/7c94ac9ba700 Pool2/Implementation.cpp:1182 ]: [App 23924 stderr] from /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads'

This my envirnement:

- RubyGems Environment:  
- RUBYGEMS VERSION: 1.8.23
- RUBY VERSION: 1.9.3 (2012-04-20 patchlevel 194) [x86_64-linux]
- INSTALLATION DIRECTORY: /var/lib/gems/1.9.1
- RUBY EXECUTABLE: /usr/bin/ruby1.9.1
- EXECUTABLE DIRECTORY: /usr/local/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /var/lib/gems/1.9.1
- /home/mehdi/.gem/ruby/1.9.1
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://rubygems.org/
- OS :
- Debian 7.11
- Redmine:
- Redmine 3.1-stable (branch)
- Let me know if anything else is needed! THanks for your help.