Project

General

Profile

Actions

Defect #8520

closed

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

Added by Alex Last over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-06-03
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

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 1.1.xClosed2011-02-22

Actions
Actions #1

Updated by Etienne Massip over 13 years ago

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

Actions #2

Updated by Etienne Massip over 13 years ago

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

Guess not, according to #8522.

Actions #3

Updated by Alex Last over 13 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.

Actions #4

Updated by Alex Last over 13 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...

Actions #5

Updated by Etienne Massip over 13 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.

Actions #6

Updated by Alex Last over 13 years ago

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

Actions #7

Updated by Etienne Massip over 13 years ago

Did you finally manage to run it fine ?

Actions #8

Updated by Alex Last over 13 years ago

no, I tried couple things and then gave up.

Actions

Also available in: Atom PDF