Skip to content

Unable to install in Redmine 5.1. #414

@jonc310

Description

@jonc310

When trying to install into redmine 5.1 I get an error during migration. Error Sowed below I can do trace if more information is needed.

== 20100317201659 AddRatingsToArticles: migrating =============================
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:

undefined method create_ratings_table' for ActiveRecord::Base:Class Did you mean? create_drafts_table create_viewings_table /mnt/extra/redmine/plugins/redmine_knowledgebase/db/migrate/20100317201659_add_ratings_to_articles.rb:3:in up'
/mnt/extra/redmine/lib/redmine/plugin.rb:482:in up' /mnt/extra/redmine/lib/redmine/plugin.rb:518:in migrate_plugin'
/mnt/extra/redmine/lib/redmine/plugin.rb:455:in migrate' /mnt/extra/redmine/lib/redmine/plugin.rb:466:in migrate'
/mnt/extra/redmine/lib/tasks/redmine.rake:151:in block (3 levels) in <top (required)>' /root/.rbenv/versions/3.1.6/bin/bundle:25:in load'
/root/.rbenv/versions/3.1.6/bin/bundle:25:in `

'

Caused by:
NoMethodError: undefined method create_ratings_table' for ActiveRecord::Base:Class Did you mean? create_drafts_table create_viewings_table /mnt/extra/redmine/plugins/redmine_knowledgebase/db/migrate/20100317201659_add_ratings_to_articles.rb:3:in up'
/mnt/extra/redmine/lib/redmine/plugin.rb:482:in up' /mnt/extra/redmine/lib/redmine/plugin.rb:518:in migrate_plugin'
/mnt/extra/redmine/lib/redmine/plugin.rb:455:in migrate' /mnt/extra/redmine/lib/redmine/plugin.rb:466:in migrate'
/mnt/extra/redmine/lib/tasks/redmine.rake:151:in block (3 levels) in <top (required)>' /root/.rbenv/versions/3.1.6/bin/bundle:25:in load'
/root/.rbenv/versions/3.1.6/bin/bundle:25:in `

'
Tasks: TOP => redmine:plugins:migrate
(See full trace by running task with --trace)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions