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
  • #2581

Closed
Open
Created Jan 14, 2013 by Administrator@rootOwner

Cannot create user with a specified password (500 Internal Server Error)

Created by: nielsbasjes

[Gitlab 4.0]

When I try to create a user and specify the password in that dialog I get a 500 error message and the error as pasted below in the production.log.

If I do not specify a password (and check the "Generate random password") then the user gets created. After that I can simply change the password to the desired value.

Started POST "/admin/users" for 127.0.0.1 at 2013-01-14 13:11:01 +0100 Processing by Admin::UsersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"eX+JOgOYyyvX28Cn+q8GY/mNQ7z0yWr9LkeZNLwJV0s=", "user"=>{"name"=>"Niels Basjes", "username"=>"nbasjes", "email"=>"nbasjes@xxxxx.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "projects_limit"=>"25", "admin"=>"1", "skype"=>"", "linkedin"=>"", "twitter"=>""}} Completed 500 Internal Server Error in 160ms

Redis::InheritedError (Tried to use a connection from a child process without reconnecting. You need to reconnect to Redis after forking.): app/observers/user_observer.rb:5:in after_create' app/controllers/admin/users_controller.rb:67:inblock in create' app/controllers/admin/users_controller.rb:66:in `create'

Assignee
Assign to
Time tracking