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

Closed
Open
Created Oct 31, 2015 by Administrator@rootOwner

Error 500 when try to change root username

Created by: arnaud-zg

Hi everyone, I just installed Gitlab and I would like to change root username, but browser tells me an error 500 when I try to save that. Just below you can see an extract of gitlab/log/production.log.

Started PATCH "/admin/users/root" for 180.160.2.14 at 2015-10-31 06:15:02 +0100
Processing by Admin::UsersController#update as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"[FILTERED]", "user"=>{"name"=>"Name", "username"=>"login", "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 205ms (ActiveRecord: 65.3ms)

Exception (namespace directory cannot be moved):
  app/models/namespace.rb:137:in `move_dir'
  app/models/user.rb:679:in `ensure_namespace_correct'
  app/controllers/admin/users_controller.rb:113:in `block in update'
  app/controllers/admin/users_controller.rb:111:in `update'

Sincerely yours

Assignee
Assign to
Time tracking