Hi Jamie,

just to be sure I understand the situation:

1) Your actual exisiting repos are currently sitting hashed/sharded folders, correct? Like this:

/git/repositories/112/30d/1189098e992cfb51975569f815fa9c4273.git

2) What is the current state of the corresponding repository metadata in the Gitorious mysql database? (You should be able to suss this out by running the following in the root of your Gitorious installation:) RAILS_ENV=production bundle exec script/runner 'puts Repository.find_by_name("data-services").hashed_path'

cheers,
Thomas


On 08/05/2012 04:48 PM, Jamie Craft wrote:
Hi,

I followed the gitorious upgrade instructions, but after completing the 
"migrate repository hashed_path, I am seeing the following errors when I try to 
view the path in gitorious:

A ActionView::TemplateError occurred in repositories#show:

   /git/repositories/data-services/data-services.git
   On line #53 of app/views/repositories/_overview.html.erb

     50:          :locals => {:repository => repository} -%>
     51:
     52:  </div>
     53:  <% if verbose && repository.has_commits? && !repository.git.heads.blank? 
-%>
     54:    <div class="branches">
     55:      <ul class="branch_list">
     56:        <li><strong>Branches:</strong></li>

     vendor/grit/lib/grit/repo.rb:36:in `initialize'
     app/models/repository.rb:286:in `new'
     app/models/repository.rb:286:in `git'
     app/models/repository.rb:291:in `has_commits?'
     app/views/repositories/_overview.html.erb:53
     vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `send'

My repositories aren't at /git/repositories, but (for example) 
/git/repositories/112/30d/1189098e992cfb51975569f815fa9c4273.git

How do I fix this, or revert ?


Thanks,

Jamie



--
best regards,
Thomas Kjeldahl Nilsson
http://gitorious.com

--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to