Issue running enable namespaces command
Created by: bassrock
When I run the enable_namespaces command I get this error:
Usernames for users:rake aborted!
unknown attribute: username
/home/gitlab/gitlab/lib/tasks/gitlab/enable_namespaces.rake:11:in block (4 levels) in <top (required)>' /home/gitlab/gitlab/lib/tasks/gitlab/enable_namespaces.rake:9:in
block (3 levels) in <top (required)>'
/home/gitlab/gitlab/lib/tasks/gitlab/enable_namespaces.rake:6:in `block (2 levels) in <top (required)>'
Tasks: TOP => gitlab:enable_namespaces
(See full trace by running task with --trace)
Parameters: {"utf8"=>"✓", "authenticity_token"=>"cLp50Q8zKUK86VejsV9gOXJzTEkWewPA31G5Mid0zT8=", "user"=>{"email"=>"USERNAME_REMOVED_FOR_OUR_SECURITY", "password"=>"[FILTERED]", "remember_me"=>"0"}} Completed 500 Internal Server Error in 181ms
NoMethodError (undefined method username_changed?' for #<User:0xa9664f0>): app/observers/user_observer.rb:13:in
after_save'
app/controllers/application_controller.rb:36:in `reject_blocked!'
Also, I can get the sign on page but as soon as I login I get a 500 error from graylog. Then in the log I also see the following error:
Any Ideas?