I tried to install the plugin today and got problems with the migration step. The Error is repeated multiple times for all the migrations.
rake redmine:plugins:migrate RAILS_ENV=production
rake aborted!
StandardError: An error has occurred, all later migrations canceled:
Directly inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for:
class AddZulipAuthToProject < ActiveRecord::Migration[4.2]
/var/lib/gems/2.5.0/gems/activerecord-5.2.3/lib/active_record/migration.rb:528:in `inherited'
/home/redmine/redmine/redmine-4.0.4/plugins/redmine_zulip/db/migrate/20130920172651_add_zulip_auth_to_project.rb:1:in `<top (required)>'
/var/lib/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require'
/var/lib/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `block in require'
/var/lib/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
/var/lib/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require'
/var/lib/gems/2.5.0/gems/activerecord-5.2.3/lib/active_record/migration.rb:986:in `load_migration'
/var/lib/gems/2.5.0/gems/activerecord-5.2.3/lib/active_record/migration.rb:982:in `migration'
/var/lib/gems/2.5.0/gems/activerecord-5.2.3/lib/active_record/migration.rb:977:in `disable_ddl_transaction'
/var/lib/gems/2.5.0/gems/activerecord-5.2.3/lib/active_record/migration.rb:1350:in `use_transaction?'
/var/lib/gems/2.5.0/gems/activerecord-5.2.3/lib/active_record/migration.rb:1342:in `ddl_transaction'
/var/lib/gems/2.5.0/gems/activerecord-5.2.3/lib/active_record/migration.rb:1291:in `execute_migration_in_transaction'
/var/lib/gems/2.5.0/gems/activerecord-5.2.3/lib/active_record/migration.rb:1263:in `block in migrate_without_lock'
/var/lib/gems/2.5.0/gems/activerecord-5.2.3/lib/active_record/migration.rb:1262:in `each'
/var/lib/gems/2.5.0/gems/activerecord-5.2.3/lib/active_record/migration.rb:1262:in `migrate_without_lock'
/var/lib/gems/2.5.0/gems/activerecord-5.2.3/lib/active_record/migration.rb:1210:in `block in migrate'
/var/lib/gems/2.5.0/gems/activerecord-5.2.3/lib/active_record/migration.rb:1363:in `with_advisory_lock'
/var/lib/gems/2.5.0/gems/activerecord-5.2.3/lib/active_record/migration.rb:1210:in `migrate'
/home/redmine/redmine/redmine-4.0.4/lib/redmine/plugin.rb:504:in `up'
/var/lib/gems/2.5.0/gems/activerecord-5.2.3/lib/active_record/migration.rb:1011:in `migrate'
/home/redmine/redmine/redmine-4.0.4/lib/redmine/plugin.rb:536:in `migrate_plugin'
/home/redmine/redmine/redmine-4.0.4/lib/redmine/plugin.rb:477:in `migrate'
/home/redmine/redmine/redmine-4.0.4/lib/redmine/plugin.rb:491:in `block in migrate'
/home/redmine/redmine/redmine-4.0.4/lib/redmine/plugin.rb:490:in `each'
/home/redmine/redmine/redmine-4.0.4/lib/redmine/plugin.rb:490:in `migrate'
/home/redmine/redmine/redmine-4.0.4/lib/tasks/redmine.rake:135:in `block (3 levels) in <top (required)>'
/var/lib/gems/2.5.0/gems/rake-12.3.3/exe/rake:27:in `<top (required)>'
I just added the Version to it, but that lead to a broken Redmine.
Couldn't find ApplicationHelper, expected it to be defined in helpers/application_helper.rb
Rails.root: /home/redmine/redmine/redmine-4.0.4
Application Trace | Framework Trace | Full Trace
app/controllers/application_controller.rb:23:in `<top (required)>'
app/controllers/issues_controller.rb:18:in `<top (required)>'
Hi,
I tried to install the plugin today and got problems with the migration step. The Error is repeated multiple times for all the migrations.
I just added the Version to it, but that lead to a broken Redmine.
Help would be appreciated.