Problem viewing issue after migration.
Added by Roberto Rodríguez over 12 years ago
Hi guys!
I migrate toredmine 1.4.4, and after restore the data from the old server, i'm getting a very different problems.
There is a few issues that i can see and in the log file i got this:
Processing IssuesController#show (for xxx.xx.xxx.xx at 2012-11-12 18:02:02) [GET] Parameters: {"controller"=>"issues", "action"=>"show", "id"=>"205"} Rendering template within layouts/base Rendering issues/show ActionView::TemplateError (undefined method `position' for nil:NilClass) on line #79 of app/views/issues/show.html.erb: 76: 77: <p><strong><%=l(:field_description)%></strong></p> 78: <div class="wiki"> 79: <%= textilizable @issue, :description, :attachments => @issue.attachments %> 80: </div> 81: <% end %> 82: <%= link_to_attachments @issue %>
I'm getting similar errors when i search using a punctual parameter. Another error is with a query to search that does not work for all.
I have runned the script
rake db:migrate RAILS_ENV=production
But does not work.
Any clue to solve this problem?
Thanks a lot!
Replies (2)
RE: Problem viewing issue after migration.
-
Added by Roberto Rodríguez over 12 years ago
More info about my deploy:
About your application's environment Ruby version 1.9.3 (i486-linux) RubyGems version 1.8.23 Rack version 1.4 Rails version 2.3.14 Active Record version 2.3.14 Active Resource version 2.3.14 Action Mailer version 2.3.14 Active Support version 2.3.14 Application root /usr/share/redmine Environment production Database adapter postgresql Database schema version 20120301153455
RE: Problem viewing issue after migration.
-
Added by Roberto Rodríguez over 12 years ago
I have solved my problem. Allthe issues that were giving me problem, it had a status_id that doesn't exist.
I have updated this issues with
update issues set status_id=2 where status_id=7
And all come to work again.
--Roberto