Defect #8520

"Error 500" on login to a fresh Redmine 1.2.0 install

Added by Alex Last about 8 years ago. Updated about 8 years ago.

Status:ClosedStart date:2011-06-03
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Resolution:Invalid Affected version:1.2.0

Description

the server log contains:

Fri Jun 03 11:49:54 -0700 2011: Error calling Dispatcher.dispatch #<NoMethodError: undefined method `[]' for nil:NilClass>
/usr/lib/ruby/1.8/mongrel/cgi.rb:108:in `send_cookies'
/usr/lib/ruby/1.8/mongrel/cgi.rb:136:in `out'
/usr/lib/ruby/1.8/mongrel/http_response.rb:65:in `start'
/usr/lib/ruby/1.8/mongrel/cgi.rb:135:in `out'
/usr/lib/ruby/1.8/mongrel/rails.rb:81:in `process'
/usr/lib/ruby/1.8/mongrel.rb:159:in `process_client'
/usr/lib/ruby/1.8/mongrel.rb:158:in `each'
/usr/lib/ruby/1.8/mongrel.rb:158:in `process_client'
/usr/lib/ruby/1.8/mongrel.rb:285:in `run'
/usr/lib/ruby/1.8/mongrel.rb:285:in `initialize'
/usr/lib/ruby/1.8/mongrel.rb:285:in `new'
/usr/lib/ruby/1.8/mongrel.rb:285:in `run'
/usr/lib/ruby/1.8/mongrel.rb:268:in `initialize'
/usr/lib/ruby/1.8/mongrel.rb:268:in `new'
/usr/lib/ruby/1.8/mongrel.rb:268:in `run'
/usr/lib/ruby/1.8/mongrel/configurator.rb:282:in `run'
/usr/lib/ruby/1.8/mongrel/configurator.rb:281:in `each'
/usr/lib/ruby/1.8/mongrel/configurator.rb:281:in `run'
/usr/bin/mongrel_rails:129:in `run'
/usr/lib/ruby/1.8/mongrel/command.rb:212:in `run'
/usr/bin/mongrel_rails:282


Related issues

Related to Redmine - Defect #7688: Redmine's trunk (rails 2.3.11) doesn't work with Mongrel ... Closed 2011-02-22

History

#1 Updated by Etienne Massip about 8 years ago

Did you set up #7688 patch as mentionned in requirements ?

#2 Updated by Etienne Massip about 8 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

Guess not, according to #8522.

#3 Updated by Alex Last about 8 years ago

can I still run the old Redmine 1.1 on the same machine if I install the patch?
I need to have several Redmine instances (1.1.1, 1.1.2, 1.2.0, ...) to test Redmine Java API and my Task Adapter application.

#4 Updated by Alex Last about 8 years ago

installed 2 patches now:
https://gist.github.com/826692
http://www.redmine.org/attachments/4699/patch_for_mongrel.rb

restarted Redmine - the same problem. the instruction should be more clear so that non-ruby-guru can install Redmine 1.2.0...

#5 Updated by Etienne Massip about 8 years ago

Alexey Skor wrote:

can I still run the old Redmine 1.1 on the same machine if I install the patch?

Sorry for that, I have no clue :/

About the 2 patches, you have to drop the first one in config/initializers, that should be enough.

#6 Updated by Alex Last about 8 years ago

well,I installed both and still no luck... there might be some additional steps...

#7 Updated by Etienne Massip about 8 years ago

Did you finally manage to run it fine ?

#8 Updated by Alex Last about 8 years ago

no, I tried couple things and then gave up.

Also available in: Atom PDF