redmine_finance Mysql2::Error: Table `block in rebuild_tree!'

1

ashraf alzyoud
Added about 4 years ago

12 BuildOperationsTree: migrating ========================================
rake aborted!
StandardError: An error has occurred, all later migrations canceled:

Mysql2::Error: Table 'redmine.operation_categories' doesn't exist: SHOW FULL FIELDS FROM `operation_categories`
/home/redmine/4.1/plugins/redmine_finance/app/models/operation_category_nested_set.rb:136:in `block in rebuild_tree!'
/home/redmine/4.1/plugins/redmine_finance/app/models/operation_category_nested_set.rb:135:in `rebuild_tree!'
/home/redmine/4.1/plugins/redmine_finance/db/migrate/012_build_operations_tree.rb:23:in `up'
/home/redmine/4.1/lib/redmine/plugin.rb:510:in `up'
/home/redmine/4.1/lib/redmine/plugin.rb:542:in `migrate_plugin'
/home/redmine/4.1/lib/redmine/plugin.rb:483:in `migrate'
/home/redmine/4.1/lib/redmine/plugin.rb:494:in `migrate'
/home/redmine/4.1/lib/tasks/redmine.rake:135:in `block (3 levels) in <top (required)>'
/home/redmine/4.1/lib/tasks/redmine.rake:57:in `block (2 levels) in <top (required)>'
/home/redmine/.rbenv/versions/2.6.6/bin/bundle:23:in `load'
/home/redmine/.rbenv/versions/2.6.6/bin/bundle:23:in `<main>'

Caused by:
ActiveRecord::StatementInvalid: Mysql2::Error: Table 'redmine.operation_categories' doesn't exist: SHOW FULL FIELDS FROM `operation_categories`
/home/redmine/4.1/plugins/redmine_finance/app/models/operation_category_nested_set.rb:136:in `block in rebuild_tree!'
/home/redmine/4.1/plugins/redmine_finance/app/models/operation_category_nested_set.rb:135:in `rebuild_tree!'
/home/redmine/4.1/plugins/redmine_finance/db/migrate/012_build_operations_tree.rb:23:in `up'
/home/redmine/4.1/lib/redmine/plugin.rb:510:in `up'
/home/redmine/4.1/lib/redmine/plugin.rb:542:in `migrate_plugin'
/home/redmine/4.1/lib/redmine/plugin.rb:483:in `migrate'
/home/redmine/4.1/lib/redmine/plugin.rb:494:in `migrate'
/home/redmine/4.1/lib/tasks/redmine.rake:135:in `block (3 levels) in <top (required)>'
/home/redmine/4.1/lib/tasks/redmine.rake:57:in `block (2 levels) in <top (required)>'
/home/redmine/.rbenv/versions/2.6.6/bin/bundle:23:in `load'
/home/redmine/.rbenv/versions/2.6.6/bin/bundle:23:in `<main>'

Caused by:
Mysql2::Error: Table 'redmine.operation_categories' doesn't exist
/home/redmine/4.1/plugins/redmine_finance/app/models/operation_category_nested_set.rb:136:in `block in rebuild_tree!'
/home/redmine/4.1/plugins/redmine_finance/app/models/operation_category_nested_set.rb:135:in `rebuild_tree!'
/home/redmine/4.1/plugins/redmine_finance/db/migrate/012_build_operations_tree.rb:23:in `up'
/home/redmine/4.1/lib/redmine/plugin.rb:510:in `up'
/home/redmine/4.1/lib/redmine/plugin.rb:542:in `migrate_plugin'
/home/redmine/4.1/lib/redmine/plugin.rb:483:in `migrate'
/home/redmine/4.1/lib/redmine/plugin.rb:494:in `migrate'
/home/redmine/4.1/lib/tasks/redmine.rake:135:in `block (3 levels) in <top (required)>'
/home/redmine/4.1/lib/tasks/redmine.rake:57:in `block (2 levels) in <top (required)>'
/home/redmine/.rbenv/versions/2.6.6/bin/bundle:23:in `load'
/home/redmine/.rbenv/versions/2.6.6/bin/bundle:23:in `<main>'
Tasks: TOP => redmine:plugins:migrate
(See full trace by running task with --trace)

Dimitar Chervenakov about 4 years

Hello, Ashraf. Further investigation is needed on the reported problem. Please contact our support team at for the solution of it. Thank you.

Answers (1)

1

Dimitar Chervenakov
Added about 4 years ago

Hello, Ashraf. Further investigation is needed on the reported problem. Please contact our support team at for the solution of it. Thank you.

    (1-1/1)