Hi Justin,

This looks to me like an issue with old data in the db.
You may try running the following command in the app directory, as "git" user:

RAILS_ENV=production bundle exec rake fix_dangling_comments fix_dangling_committerships fix_dangling_events fix_dangling_favorites fix_dangling_memberships fix_dangling_projects fix_dangling_repositories fix_missing_repos fix_missing_wiki_repos fix_system_comments

(this is a single line in case email formatting breaks it)

Basically these tasks will find and fix inconsistent data in the database and hopefully solve your issue with dashboard.

Marcin

On 27/12/13 05:38, Justin Smith wrote:
I've recently upgraded our local install to v3 (it was a pain, I'm on Ubuntu).

Everything appears to be working now, except for a broken default image for 
groups and the dashboard.

As the the dashboard, I'm seeing the following error in my production.log:

NoMethodError (undefined method `list_as_favorite?' for nil:NilClass):
   app/models/dashboard.rb:39:in `block in favorites'
   app/models/dashboard.rb:39:in `select'
   app/models/dashboard.rb:39:in `favorites'
   app/presenters/dashboard_presenter.rb:51:in `favorites'
   app/controllers/site_controller.rb:121:in `block (3 levels) in 
render_dashboard'
   app/controllers/site_controller.rb:111:in `block in render_dashboard'
   app/controllers/application_controller.rb:339:in `paginate'
   app/controllers/site_controller.rb:110:in `render_dashboard'
   app/controllers/site_controller.rb:146:in `render_global_index'
   app/controllers/site_controller.rb:39:in `index'
   app/middlewares/dolt_cache_middleware.rb:24:in `call'
   app/middlewares/dolt_auth_middleware.rb:26:in `call'

each time the dashboard tries to load.  As a workaround, I have to click the "about 
gitorious" link, at which point I can look at the project/activities/teams tabs.

Any ideas on this?


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

--- You received this message because you are subscribed to the Google Groups "Gitorious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to