Project

General

Profile

Actions

Defect #9562

closed

Cannot login to my Redmine installation

Defect #9562: Cannot login to my Redmine installation

Added by Jake Booher about 15 years ago. Updated about 15 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
Resolution:
Duplicate
Affected version:

Description

When i try to login to my redmine installation it gives me a 500 error page.

My Ruby/ RaR Information:

Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.4.2
Rack version 1.1.1
Rails version 2.3.11
Active Record version 2.3.11
Active Resource version 2.3.11
Action Mailer version 2.3.11
Active Support version 2.3.11
Edge Rails revision unknown
Application root /home/phprpg/rails_apps/redmine
Environment production
Database adapter mysql
Database schema version 20110511000000

MySQL Version: 5.0.92


Related issues 1 (0 open — 1 closed)

Is duplicate of Redmine - Defect #7857: A NoMethodError occurred in account#loginClosedActions

Updated by Etienne Massip about 15 years ago Actions #1

Please check you log file.

Updated by Jake Booher about 15 years ago Actions #2

It contained the following:

Processing AccountController#login (for 75.93.182.126 at 2011-11-13 16:27:26) [POST]
Parameters: {"back_url"=>"http%3A%2F%2Fphprpg.net%3A12001%2F", "action"=>"login", "authenticity_token"=>"txNBg1JlQ/tADI1QBwm6IRwZqvbpG/rqZUAUUYFo24E=", "username"=>"admin", "controller"=>"account", "password"=>"[FILTERED]", "login"=>"Login ยป"}

NoMethodError (undefined method `destroy' for {}:Hash):
app/controllers/application_controller.rb:92:in `logged_user='
app/controllers/account_controller.rb:203:in `successful_authentication'
app/controllers/account_controller.rb:155:in `password_authentication'
app/controllers/account_controller.rb:142:in `authenticate_user'
app/controllers/account_controller.rb:30:in `login'

Rendering /home/phprpg/rails_apps/redmine/public/500.html (500 Internal Server Error)

Updated by Etienne Massip about 15 years ago Actions #3

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

Thanks, this is an issue which triggers only when updating Redmine, duplicate of #7857, you'll find a patch over there.

Updated by Etienne Massip about 15 years ago Actions #4

Also note that, according to last post in #7857, using Rails 2.3.14 (which is supported by Redmine) seems to solve the issue.

Actions

Also available in: PDF Atom