Trying to move a project to the global namespace and getting a 500 error.
When checking the log we get this:
Project::TransferError (Project test_2 cannot be moved from /home/git/repositories/root/test_2.git to /home/git/repositories/test_2.git):
app/roles/namespaced_project.rb:27:in rescue in transfer' app/roles/namespaced_project.rb:3:intransfer'
app/contexts/project_update_context.rb:11:in execute' app/controllers/admin/projects_controller.rb:28:inupdate'
Designs
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related.
Learn more.
$ tail -n /home/gitlab/gitlab/log/production.log shows me
Started PUT "/admin/projects/root/acr_test_harness_android" for 127.0.0.1 at 2013-01-01 18:03:52 +0000Processing by Admin::ProjectsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"2G8O84z6sV96jomi73tmTP6kHQQtNxSBr/gJ4T9E/J8=", "project"=>{"name"=>"acr_test_harness_android", "issues_enabled"=>"1", "merge_requests_enabled"=>"1", "wall_enabled"=>"1", "wiki_enabled"=>"1", "namespace_id"=>"GLN"}, "id"=>"root/acr_test_harness_android"}Completed 500 Internal Server Error in 10msProject::TransferError (Destination /home/git/repositories/acr_test_harness_android.git already exists): app/roles/namespaced_project.rb:27:in `rescue in transfer' app/roles/namespaced_project.rb:3:in `transfer' app/contexts/project_update_context.rb:11:in `execute' app/controllers/admin/projects_controller.rb:28:in `update'
By prefixing that folder to something like /home/git/repositories/acr_test_harness_android_bak.git, I could then move the project back to the global namespace.
By Administrator on 2013-01-01T18:14:56 (imported from GitLab project)
By Administrator on 2013-01-01T18:14:56 (imported from GitLab)