Project

General

Profile

Internal Error when I try to add user. (Can't mass-assign protected attributes for AnonymousUser: login)

Added by Abegail Benero over 7 years ago

Hi,

I installed Redmine 3.3.2 on Debian 8, I'm able to login as admin, but when I try to create (Register) another user this Internal Error appear.

"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."

Here is the tail of the log:

Started GET "/" for 49.145.110.224 at 2017-01-25 07:06:18 +0000
Processing by WelcomeController#index as HTML
WARNING: Can't mass-assign protected attributes for AnonymousUser: login
    app/models/user.rb:750:in `anonymous'
    app/models/user.rb:742:in `current'
    app/controllers/application_controller.rb:93:in `user_setup'
  Current user: anonymous
  Rendered welcome/index.html.erb within layouts/base (8.6ms)
Completed 200 OK in 331ms (Views: 182.1ms | ActiveRecord: 29.3ms)
Started GET "/" for 49.145.110.224 at 2017-01-26 07:20:09 +0000
Processing by WelcomeController#index as HTML
  Current user: anonymous
  Rendered welcome/index.html.erb within layouts/base (8.5ms)
Completed 200 OK in 288ms (Views: 190.3ms | ActiveRecord: 4.9ms)
Migrating to CreateEasySettings (20150705172511)
Migrating to CreateEntityAssignments (20160519161300)
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from measure at /usr/local/rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/benchmark.rb:293)
Migrating to AddEasyBaselineForToProject (20150810233049)
Migrating to CreateEasyBaselineSources (20150812122322)