activerecord - Ruby on Rails Redmine Active Record::Record not found for select pages -
i've started @ new company uses redmine , i've been asked upgrade 2.3.3 3.0.3 - complete novice ruby , rails seems ok far.
i've installed instance of 3.0.3 , updated database using mysqldump. seems have largely worked, random wiki pages on new redmine don't work - 404 error in browser.
everything else has succeeded - user credentials, config application, many projects, issues etc, , in fact many wikis - not of them. have been unable interpret getting error logs.
my environment details are:
centos 6.5 / red hat 4.4.7-11 (tried on both, result same)
ruby 1.9.3
- rails 4.2.1
- redmine 3.0.3
the output production log app below -
activerecord::recordnotfound (couldn't find versions 'id': (all, {:include=>:attachments}) [where `versions`.`project_id` = ?] (found 0 results, looking 2)): lib/redmine/hook.rb:119:in `block (2 levels) in render_on' lib/redmine/hook.rb:117:in `map' lib/redmine/hook.rb:117:in `block in render_on' lib/redmine/hook.rb:61:in `block (2 levels) in call_hook' lib/redmine/hook.rb:61:in `each' lib/redmine/hook.rb:61:in `block in call_hook' lib/redmine/hook.rb:58:in `tap' lib/redmine/hook.rb:58:in `call_hook' lib/redmine/hook.rb:167:in `call_hook' app/helpers/application_helper.rb:1229:in `view_layouts_base_sidebar_hook_response' app/views/layouts/base.html.erb:53:in `_app_views_layouts_base_html_erb__2179447321350669763_44059640' app/controllers/wiki_controller.rb:97:in `show'
and haven't been able find relating similar issues.
any appreciated has been dragging on long time , last step before can roll upgrade out.
thanks.
the answer incompatible plugin. download button plugin causing issue , once removed , "bundle exec rake redmine:plugins:migrate rails_env=production" run again, problem resolved.
Comments
Post a Comment