Project

General

Profile

500 error on first login

Added by Isaac Wilder almost 13 years ago

*Hello all,

I hoping that somebody will be able to help me get my instance of redmine up and running.
I've installed the latest packaged release, and it is reachable on the intended subdomain. The problem is that I can't login using the admin:admin default credentials.

I am redirected to a '500 internal error'

The production.log file contains:*

Processing AccountController#login (for 99.7.95.23 at 2011-06-27 11:17:40) [GET]
Parameters: {"action"=>"login", "controller"=>"account"}
Rendering template within layouts/base
Rendering account/login
Completed in 81ms (View: 46, DB: 0) | 200 OK [http://www.freenetworkmovement.org/login]

Processing AccountController#login (for 99.7.95.23 at 2011-06-27 11:17:44) [POST]
Parameters: {"back_url"=>"http%3A%2F%2Fwww.freenetworkmovement.org%3A12003%2F", "action"=>"login", "authenticity_token"=>"u4LFEIkA+/X4WgU+GKNNPoEQ8SnJY7eCszPviI44SnE=", "username"=>"admin", "controller"=>"account", "password"=>"[FILTERED]", "login"=>"Login »"}

NoMethodError (undefined method `destroy' for {}:Hash):
app/controllers/application_controller.rb:89: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/freenet2/rails_apps/redmine/public/500.html (500 Internal Server Error)


and the result of gem query --local is:

abstract (1.0.0)
actionmailer (3.0.9)
actionpack (3.0.9)
activemodel (3.0.9)
activerecord (3.0.9)
activeresource (3.0.9)
activesupport (3.0.9)
arel (2.0.10)
builder (2.1.2)
bundler (1.0.15)
daemons (1.1.4)
erubis (2.6.6)
gem_plugin (0.2.3)
i18n (0.5.0)
mail (2.2.19)
mime-types (1.16)
polyglot (0.3.1)
rack (1.2.3)
rack-mount (0.6.14)
rack-test (0.5.7)
rails (3.0.9)
railties (3.0.9)
rake (0.9.2)
rdoc (3.6.1)
thor (0.14.6)
treetop (1.4.9)
tzinfo (0.3.28)


Replies (3)

RE: 500 error on first login - Added by Isaac Wilder almost 13 years ago

Maybe not a 500 error, sorry.

The message displayed is:

Internal error

An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.

If you are the Redmine administrator, check your log files for details about the error.

RE: 500 error on first login - Added by Isaac Wilder almost 13 years ago

thank you very much Etienne, the patches worked.

take care,
imw

    (1-3/3)