Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #3413

Closed
Open
Created Mar 27, 2013 by Administrator@rootOwner

Can not create users or add keys after upgrade to 5.0

Created by: lanwin

I get an 500 after hitting the button.

Here is a what the log file say.

Started GET "/admin" for 127.0.0.1 at 2013-03-27 10:07:26 +0100
Processing by Admin::DashboardController#index as HTML
  Rendered admin/dashboard/index.html.haml within layouts/admin (49.5ms)
  Rendered layouts/_head.html.haml (1.9ms)
  Rendered layouts/_search.html.haml (98.7ms)
  Rendered layouts/_init_auto_complete.html.haml (9.2ms)
  Rendered layouts/_head_panel.html.haml (219.2ms)
  Rendered layouts/_flash.html.haml (0.2ms)
Completed 200 OK in 282ms (Views: 273.7ms | ActiveRecord: 5.1ms)
Started GET "/admin/users" for 127.0.0.1 at 2013-03-27 10:07:28 +0100
Processing by Admin::UsersController#index as HTML
  Rendered admin/users/index.html.haml within layouts/admin (42.5ms)
  Rendered layouts/_head.html.haml (1.5ms)
  Rendered layouts/_search.html.haml (105.4ms)
  Rendered layouts/_init_auto_complete.html.haml (9.4ms)
  Rendered layouts/_head_panel.html.haml (121.3ms)
  Rendered layouts/_flash.html.haml (0.2ms)
Completed 200 OK in 176ms (Views: 164.4ms | ActiveRecord: 5.8ms)
Started GET "/assets/icon-search.png" for 127.0.0.1 at 2013-03-27 10:07:28 +0100
Served asset /icon-search.png - 304 Not Modified (0ms)
Started GET "/admin/users/new" for 127.0.0.1 at 2013-03-27 10:07:30 +0100
Processing by Admin::UsersController#new as HTML
  Rendered admin/users/_form.html.haml (10.6ms)
  Rendered admin/users/new.html.haml within layouts/admin (11.2ms)
  Rendered layouts/_head.html.haml (2.1ms)
  Rendered layouts/_search.html.haml (214.4ms)
  Rendered layouts/_init_auto_complete.html.haml (9.0ms)
  Rendered layouts/_head_panel.html.haml (229.3ms)
  Rendered layouts/_flash.html.haml (0.1ms)
Completed 200 OK in 251ms (Views: 243.3ms | ActiveRecord: 4.6ms)
Started POST "/admin/users" for 127.0.0.1 at 2013-03-27 10:07:43 +0100
Processing by Admin::UsersController#create as HTML
  Parameters: {"utf8"=>"?", "authenticity_token"=>"olDyDixQt/+/Fk2TiyiAPexdKx97eWggfMOCU11Gi9I=", "user"=>{"name"=>"test", "username"=>"test", "email"=>"[email protected]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "projects_limit"=>"10000", "can_create_group"=>"1", "can_create_team"=>"1", "admin"=>"0", "skype"=>"", "linkedin"=>"", "twitter"=>""}}
  Rendered admin/users/_form.html.haml (8.9ms)
  Rendered admin/users/new.html.haml within layouts/admin (11.1ms)
  Rendered layouts/_head.html.haml (1.5ms)
  Rendered layouts/_search.html.haml (225.8ms)
  Rendered layouts/_init_auto_complete.html.haml (9.2ms)
  Rendered layouts/_head_panel.html.haml (243.1ms)
  Rendered layouts/_flash.html.haml (0.2ms)
Completed 200 OK in 363ms (Views: 251.4ms | ActiveRecord: 11.0ms)
Started POST "/admin/users" for 127.0.0.1 at 2013-03-27 10:07:50 +0100
Processing by Admin::UsersController#create as HTML
  Parameters: {"utf8"=>"?", "authenticity_token"=>"olDyDixQt/+/Fk2TiyiAPexdKx97eWggfMOCU11Gi9I=", "user"=>{"name"=>"test", "username"=>"test", "email"=>"[email protected]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "projects_limit"=>"10000", "can_create_group"=>"1", "can_create_team"=>"1", "admin"=>"0", "skype"=>"", "linkedin"=>"", "twitter"=>""}}

==> application.log <==
March 27, 2013 10:07: User "test" ([email protected]) was created

==> production.log <==
Completed 500 Internal Server Error in 313ms

TypeError (can't dump anonymous class Class):
  app/observers/user_observer.rb:6:in `after_create'
  app/controllers/admin/users_controller.rb:62:in `block in create'
  app/controllers/admin/users_controller.rb:61:in `create'

Values: Name: test Username: test EMail: [email protected] Password: testtest

Assignee
Assign to
Time tracking