That fixed it. Thanks, a lot. Figured I would post the output, as it said it fixed 0 things, but I assume it "touched" something that made it work.
[fix_dangling_comments] removing 0 orphaned comments [fix_dangling_comments] removing 0 orphaned comments [fix_dangling_committerships] removing 0 orphaned committerships [fix_dangling_committerships] removing 0 orphaned committerships [fix_dangling_events] removing 0 events with missing target Project [fix_dangling_events] removing 0 events with missing target User [fix_dangling_events] removing 0 events with missing target Group [fix_dangling_events] removing 0 events with missing target MergeRequest [fix_dangling_events] removing 0 events with missing target Repository Removing 0 dangling favorites for Repository Removing 0 dangling favorites for MergeRequest Removing 0 dangling favorites for Project Removing 0 invalid memberships [fix_dangling_projects] removing 0 orphaned projects [fix_dangling_projects] removing 0 orphaned projects [fix_dangling_repositories] removing 0 orphaned repositories [fix_dangling_repositories] removing 0 orphaned repositories [fix_dangling_repositories] removing 0 orphaned repositories [fix_dangling_repositories] removing 0 orphaned repositories Again, thanks a lot. On Friday, December 27, 2013 3:40:18 AM UTC-6, Marcin Kulik wrote: > 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.
