【问题标题】:Internal error when installing scrumbler plugin to redmine将 Scrumbler 插件安装到 redmine 时出现内部错误
【发布时间】:2014-04-16 06:50:52
【问题描述】:

我已将 Scrumbler 插件安装到 Redmine 以根据 SCRUM 方法进行项目管理:

  cd plugins
 git clone git://github.com/256MbTeam/Redmine-Scrumbler.git redmine_scrumbler
 rake redmine:plugins:migrate

我已经进入浏览器:http://localhost/scrumbler/admin

Internal error

An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.

If you are the Redmine administrator, check your log files for details about the error

在日志文件中:

Completed 500 Internal Server Error in 7ms

ActiveRecord::StatementInvalid (Mysql2::Error: Table 'redmine_production.scrumbler_project_settings' doesn't exist: SELECT `projects`.* FROM `projects` INNER JOIN `scrumbler_project_settings` ON `scrumbler_project_settings`.`project_id` = `projects`.`id`):
  activerecord (3.2.12) lib/active_record/connection_adapters/abstract_mysql_adapter.rb:243:in `query'

.

【问题讨论】:

  • 检查this。也许某种条件是真实的

标签: mysql ruby-on-rails redmine redmine-plugins


【解决方案1】:

解决了!

rake redmine:plugins:migrate RAILS_ENV=production

而不是

rake redmine:plugins:migrate

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-04-17
    • 2020-04-09
    • 1970-01-01
    • 2013-06-07
    • 2019-03-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多