missing table for redmine

Redmine ran fine for the first two days, but after the server is powered off today, this problem persists after restarting and clicking on the project:

Says the milestones table doesn't exist. After searching for a long time,

Eventually Google came to a thread: https://github.com/samchen2009/ekanban/issues/36 ,

Just execute this sentence: rake redmine:plugins:migrate RAILS_ENV=production

Processing by ProjectsController#show as HTML
  Parameters: {"id"=>"bms-e"}
  Current user: admin (id=1)
  Rendered projects/_members_box.html.erb (5.8ms)
  Rendered plugins/advanced_roadmap/app/views/hooks/_milestones.html.erb (2.5ms)
  Rendered projects/show.html.erb within layouts/base (18.7ms)
Completed 500 Internal Server Error in 112ms

ActionView::Template::Error (Mysql2::Error: Table 'redmine_db.milestones' doesn't exist: SHOW FULL FIELDS FROM `milestones`):
    1: <%- if [email protected]? -%>
    2: <h3><%= l(:label_milestone_plural) %></h3>
    3: <%- @project.milestones.sort.each do |milestone| -%>
    4: <%= link_to_milestone(milestone) %><br />
    5: <%- end -%>
    6: <%- end -%>
  lib/redmine/hook.rb:111: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:158:in `call_hook'
  app/views/projects/show.html.erb:90:in `block in _app_views_projects_show_html_erb___3168151187052905121_45706940'
  app/helpers/application_helper.rb:1149:in `content_for'
  app/views/projects/show.html.erb:79:in `_app_views_projects_show_html_erb___3168151187052905121_45706940'
  app/controllers/projects_controller.rb:163:in `show'

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326612426&siteId=291194637