Actions
Defect #8688
closedInternal Server Error 500 when doing anything involving git.
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2011-06-27
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
I just updated to revision 6126, and cannot use git anymore. It was working right before I updated, but unfortunately I do not know what revision I was on. I had a project with it already setup, and I got 500 when I went to the repository viewer. I though maybe i'd delete the repository and re-add it. Now i can't even add a repository that uses git. I can do svn and filesystem, but not git. When I looked at the AJAX requests, it said that the request was also getting Error 500.
This is the contents of my log file:
ActionView::TemplateError (undefined local variable or method `extra_info' for #<Repository::Git:0xb6507fc4>) on line #19 of app/views/projects/settings/_repository.rhtml: 16: <% button_disabled = true %> 17: <% if @repository %> 18: <% button_disabled = ! @repository.class.scm_available %> 19: <%= repository_field_tags(f, @repository)%> 20: <% end %> 21: </div> 22: app/models/repository/git.rb:46:in `extra_report_last_commit' lib/tabular_form_builder.rb:35:in `check_box' app/helpers/repositories_helper.rb:236:in `git_field_tags' app/helpers/repositories_helper.rb:154:in `send' app/helpers/repositories_helper.rb:154:in `repository_field_tags' app/views/projects/settings/_repository.rhtml:19:in `_run_rhtml_app47views47projects47settings47_repository46rhtml_locals_object_repository' app/views/projects/settings/_repository.rhtml:1:in `_run_rhtml_app47views47projects47settings47_repository46rhtml_locals_object_repository' app/controllers/repositories_controller.rb:59:in `edit' app/controllers/repositories_controller.rb:58:in `edit'
Updated by Toshi MARUYAMA almost 14 years ago
- Category set to SCM
Did you run "rake db:migrate" or do you use plugins?
Updated by Ryan Pendleton almost 14 years ago
- Status changed from New to Resolved
Wow, I feel stupid now.. I forgot to run rake db:migrate, and after running it, everything works fine.
Thanks! (and sorry for wasting your time)
Updated by Toshi MARUYAMA almost 14 years ago
- Status changed from Resolved to Closed
- Resolution set to Invalid
Actions