Cannot create user with a specified password (500 Internal Server Error)
Closed
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:in
block in create'
app/controllers/admin/users_controller.rb:66:in `create'
Created by: riyad
Duplicate of #2021 (closed)
By Administrator on 2013-01-16T19:29:59 (imported from GitLab project)