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

Closed
Open
Created Jan 29, 2013 by Administrator@rootOwner

Internal server error 500 on user creation after upgrading to 4.1

Created by: ibodrov

Trying to add new user after upgrading to gitlab 4.1. Getting "We're sorry, but something went wrong".

sudo -u gitlab -H bundle exec rake gitlab:env:info RAILS_ENV=production

System information
System:     Debian 7.0
Current User:   gitlab
Using RVM:  no
Ruby Version:   1.9.2p290
Gem Version:    1.8.24
Bundler Version:1.2.3
Rake Version:   10.0.3

GitLab information
Version:    4.1.0
Revision:   d14069e
Directory:  /home/gitlab/gitlab
DB Adapter: mysql2
URL:        http://[beep]
HTTP Clone URL: http://[beep]/some-project.git
SSH Clone URL:  git@[beep]:some-project.git
Using LDAP: no
Using Omniauth: no

Gitolite information
Version:    v3.2-gitlab-patched-0-g2d29cf7
Admin URI:  git@localhost:gitolite-admin
Admin Key:  gitlab
Repositories:   /home/git/repositories/
Hooks:      /home/git/.gitolite/hooks/
Git:        /usr/bin/git

production.log

Started POST "/admin/users" for 127.0.0.1 at 2013-01-29 12:21:13 +0400
Processing by Admin::UsersController#create as HTML
  Parameters: {"utf8"=>"<9C><93>", "authenticity_token"=>"Y0xRu2ivKKxohdQVJj6lwmILmV33NJkpJvp4KarqGPQ=", "user"=>{"name"=>"test2", "username"=>"test2", "email"=>"[email protected]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "projects_limit"=>"10", "admin"=>"0", "skype"=>"", "linkedin"=>"", "twitter"=>""}}
Completed 500 Internal Server Error in 159ms

TypeError (can't dump anonymous class Class):
  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'

application.log

January 29, 2013 12:21: User "test2" ([email protected]) was created

User is not created, despite log message.

Assignee
Assign to
Time tracking