Cannot create user
Closed
Cannot create user
Created by: ProgVal
Hi,
I cannot create a user from the admin panel, I get a 500 message.
Here are the logs:
Started POST "/admin/users" for 2001:470:cbb3:a:c412:9cff:fe2b:3ead at 2012-11-04 22:23:16 +0000
Processing by Admin::UsersController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"EgHMDvj1Yfm+UxvENIOF4aQ4YyM3fssGOijjtnjnrkI=", "user"=>{"name"=>"foobar", "email"=>"test@progval.net", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "skype"=>"", "linkedin"=>"", "twitter"=>"", "projects_limit"=>"10", "admin"=>"0"}}
Completed 500 Internal Server Error in 96ms
NoMethodError (undefined method `bio' for #<User:0x000000095713a0>):
app/controllers/admin/users_controller.rb:67:in `block in create'
app/controllers/admin/users_controller.rb:66:in `create'
I have this issue for 5 months (see #915 (closed)), and it still isn't fixed in latest master.
Regards, Valentin
Created by: dzaporozhets
Only you experienced this bug because you messed up with db. You got an answer in #915 (closed). If you want someone to solve your problems - you need a payed support.
By Administrator on 2013-03-20T07:03:47 (imported from GitLab project)
Created by: ProgVal
I have this bug since the first day I use Gitlab, and I followed all instructions (except the ones that introduce obvious security issues, like setting chmods). The buggy features of Gitlab are definitely not worth the 1.2GB of hard disk space it uses because dependency craps (I don't know if it is because of Gitlab, Gems, or Ruby) ; even if it took only 10MB if would not be worth it. Not to mention all the RAM it uses and the time it takes to start when I reload Apache config (even if I did not change Gitlab's config). Paying for that? LOL. I would prefer making a donation to a project that works.
By Administrator on 2013-03-20T13:01:39 (imported from GitLab project)
Created by: maxlazio
Not setting correct permissions is then the most probable reason why something is not working for you. That also means that you haven't followed all instructions. No one is forcing you to pay anything, this is open source software and you are free to run it or not.
By Administrator on 2013-03-20T13:03:03 (imported from GitLab project)
Created by: ProgVal
I know that chmod 777 is never the solution. And Gitlab not being able to access Gitolite is definitely not what caused Gitlab to be unable to create a user because of a missing "bio" field.
I know what open source is. But at least when someone reports me a bug, I actually read what they said, and I try to help them fixing it. And if I cannot help them, it means this part of the software should be rewritten.
By Administrator on 2013-03-20T13:16:34 (imported from GitLab project)