Project

General

Profile

sprints table in Database

Added by Dustin Weber about 9 years ago

Hello,

I recently upgraded our redmine application from version 2.4 to 3.1. My company used the bitnami redmine installer, https://bitnami.com/stack/redmine. Everything seemed to be working great, so I went to add this scrum plugin. (Also if i remove the plugin everything works great as well)

Steps I took:
I downloaded the package. I have tried these two version: 0.13.0 and 0.13.1.
I extracted the files into the plugins/scrum
I ran the bundle exec rake redmine:plugins:migrate command
I restarted the redmine application and database

Currently I see the plugin under the administration->Plugins. I am also able to edit the settings, but upon trying to open a project that uses the plugin. It gives the follow error:

ActionView::Template::Error (Mysql2::Error: Table 'bitnami_redmine.sprints' doesn't exist: SHOW FULL FIELDS FROM `sprints`):
    1: <%- tips = scrum_tips -%>
    2: <%- unless tips.empty? -%>
    3:   <h3><%= l(:label_tip_title) %> <%= image_tag("help.png") %></h3>
    4:   <ul>
  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:1230:in `view_layouts_base_sidebar_hook_response'
  app/views/layouts/base.html.erb:53:in `_app_views_layouts_base_html_erb___3833564742300484716_70032245195680'
  app/controllers/projects_controller.rb:153:in `show'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'

Any help would be greatly appreciated!

Thanks,
Dustin


Replies (1)

RE: sprints table in Database - Added by Dustin Weber about 9 years ago

Alright! I figured it out! Just in case anyone else has the same issue, which is very basic from I could tell. After reading through all of the other forum posts to try to see if they would shed some light. I found my issue:
https://redmine.ociotec.com/boards/11/topics/248

The command to install the new plugin had to:

bundle exec rake RAILS_ENV=production redmine:plugins:migrate

Instead of:

bundle exec rake redmine:plugins:migrate command

Thanks and I hope this helps someone else in the future,
Dustin

    (1-1/1)