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

Closed
Open
Created Jul 08, 2015 by Administrator@rootOwner

500 when renaming root user

Created by: shijij

What I'm doing: rename the default admin user "root" to "newusername"

Clean Install(omnibus), latest version.

GitLab 7.12.2

GitLab Shell 2.6.3

GitLab API v3

Ruby 2.1.6p336

Rails 4.1.11

Started GET "/admin/users" for 76.28.*.* at 2015-07-08 01:43:29 -0700
Processing by Admin::UsersController#index as HTML
Completed 200 OK in 40ms (Views: 24.6ms | ActiveRecord: 6.5ms)
Started GET "/admin/users/root/edit" for 76.28.*.* at 2015-07-08 01:43:32 -0700
Processing by Admin::UsersController#edit as HTML
  Parameters: {"id"=>"root"}
Completed 200 OK in 52ms (Views: 35.9ms | ActiveRecord: 5.5ms)
Started PATCH "/admin/users/root" for 76.28.*.* at 2015-07-08 01:43:50 -0700
Processing by Admin::UsersController#update as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"[FILTERED]", "user"=>{"name"=>"Administrator", "username"=>"newusername", "email"=>"[email protected]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "projects_limit"=>"10000", "can_create_group"=>"1", "skype"=>"", "linkedin"=>"", "twitter"=>"", "website_url"=>""}, "id"=>"root"}
Completed 500 Internal Server Error in 31ms (ActiveRecord: 7.7ms)

Exception (namespace directory cannot be moved):
  app/models/namespace.rb:133:in `move_dir'
  app/models/user.rb:610:in `ensure_namespace_correct'
  app/controllers/admin/users_controller.rb:76:in `block in update'
  app/controllers/admin/users_controller.rb:74:in `update'
Assignee
Assign to
Time tracking