So I've ran into an issue with our gitorious build installed DEC-2010
where certain user's dashboards and user pages result in the error:
"We are sorry, but something went wrong."

Needless to say this is somewhat frustrating.  I tried to upgrade,
following the wiki instructions it said to install bundler ... this is
also not successful. error message: "Could not locate Gemfile",
despite it saying it successfully installs bundler according to the
gem binary ran.

So I'm at an inpass, and need some assistance to get this fixed.  I
would like to either fix the user's dashboard and user display pages
on gitorious and keep our version - then plan a migration later to a
fresh build and install; or upgrade our existing build to the current
master which will most likely resolve this problem, or at least give
me some piece of mind being on a current build.

Since I don't work with this that much, if you need commands ran
please let me know explicitly... I'm a bit of a git n00b so pardon my
green-ness.

Administration, teams, projects, and activities pages all work;
however the user's page and user's dashboard do not work and give the
above error message.

Some brief error codes from production.log:

~<username> clicked:
ActionView::TemplateError (undefined method `user' for nil:NilClass)
on line #102 of app/views/users/show.html.erb:
99:   </div>
100:   <ul class="with_icons">
101:    <% @favorites.each do |favorite| %>
102:      <li class="<%= css_classes_for(favorite.watchable) -%>">
103:       <%= link_to_watchable(favorite.watchable) -%>
104:      </li>
105:       <% end %>

dashboard clicked:
ActionView::TemplateError (undefined method `user' for nil:NilClass)
on line #127 of app/views/site/dashboard.html.erb:
124:       </div>
125:       <ul class="with_icons">
126:         <% @favorites.each do |favorite| %>
127:           <li class="<%= css_classes_for(favorite) -%>">
128:             <%= link_to_watchable(favorite) -%>
129:           </li>
130:         <% end %>

Our apache install for gitorious is in /var/www/gitorious;
installation is on Debian 5.0.8, and I believe ruby is version 1.8. We
run activeMQ for the messaging.

Looks like this was used for installation:
http://web.archive.org/web/20101122193308/http://cjohansen.no/en/ruby/setting_up_gitorious_on_your_own_server

Assistance with getting this repaired would be greatly appreciated...
Otherwise I'll have to work on building a new system and a migration
strategy so that we can get functionality back.

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

Reply via email to