ascendro / redmine_issue_reminder

Plugin for Redmine to create different role based reminders for a project
20 stars 48 forks source link

reminders table does not exist #17

Closed almcnicoll closed 12 years ago

almcnicoll commented 12 years ago

Having followed the installation instructions (correctly I think!), I get this error when running the rake task:

rake aborted Mysql::Error: Table 'bitnami_redmine.reminders' doesn't exist: SELECT * FROM reminders

Tasks: TOP => reminder:exec (see full trace by running task with --trace)

My install procedure was:

  1. Copy plugin to /vendor/plugins
  2. rake db:migrate RAILS_ENV="production"
  3. Restart redmine (I'm using Bitnami, so I restarted Apache, MySQL and Mongrel to be safe)
  4. Look in Redmine - module is listed correctly, and displays as a tab on each project - however there are errors (for obvious reasons) when viewing the Issue Reminders tab.

Is anyone able to help out on this front? All else failing, could you provide a schema diagram for the reminders table so I can manually create it?

Redmine version: 1.3.2 Platform: Win 2008 x64

bosko commented 12 years ago

You should run plugin migrations:

RAILS_ENV=production rake db:migrate_plugins

almcnicoll commented 12 years ago

Thanks - my bad. I had confused db:migrate with db:migrate_plugins. Plugin working perfectly now.