Project

General

Profile

Easy Agile not creating its tables

Added by Frederick Brier over 12 years ago

After installing the Easy Agile plugin on Redmine 1.3.0, I added its module to an existing project. When I select the new Easy Agile tab, I am sent to an Internal Error page. The log shows that the redmine.stories table does not exist.

ActiveRecord::StatementInvalid (Mysql::Error: Table 'redmine.stories' doesn't exist: SHOW FIELDS FROM `stories`):

Sure enough, the table does not exist in the redmine database (via phpMyAdmin and doing refreshes). But I ran the database migration plugin command from the redmine root directory:

rake db:migrate_plugins RAILS_ENV=production

The db:migrate_plugins command does not generate any messages in the production.log file. The directory /usr/local/www/redmine/vendor/plugins/easy_agile/db/migrate contains the files:

  • 20090303213012_create_iterations.rb
  • 20090304193819_create_acceptance_criteria.rb
  • 20090325133236_create_story_team_members.rb
  • 20090304004418_create_stories.rb
  • 20090310175005_create_burndown_data_points.rb
  • 20090327110522_create_story_actions.rb

The database plugin backend is MySQL. No errors are showing in its logs. Please make any suggestions as to why the tables are not being created, or how to further debug this. Thank you.