root@SERVER:/data/redmine/sf-redmine_redmine-4.1.1>>bundle exec rake db:migrate RAILS_ENV=production == 102 AddCustomFieldsEditable: migrating ===================================== -- add_column(:custom_fields, :editable, :boolean, {:default=>true}) -> 0.0336s == 102 AddCustomFieldsEditable: migrated (0.0338s) ============================ == 103 SetCustomFieldsEditable: migrating ===================================== == 103 SetCustomFieldsEditable: migrated (0.0209s) ============================ == 104 AddProjectsLftAndRgt: migrating ======================================== -- add_column(:projects, :lft, :integer, {}) -> 0.0096s -- add_column(:projects, :rgt, :integer, {}) -> 0.0093s == 104 AddProjectsLftAndRgt: migrated (0.0190s) =============================== == 105 BuildProjectsTree: migrating =========================================== == 105 BuildProjectsTree: migrated (0.0709s) ================================== == 106 RemoveProjectsProjectsCount: migrating ================================= -- remove_column(:projects, :projects_count) -> 0.0142s == 106 RemoveProjectsProjectsCount: migrated (0.0143s) ======================== == 107 AddOpenIdAuthenticationTables: migrating =============================== -- create_table(:open_id_authentication_associations, {:options=>"ENGINE=InnoDB", :force=>true, :id=>:integer}) -> 0.0048s -- create_table(:open_id_authentication_nonces, {:options=>"ENGINE=InnoDB", :force=>true, :id=>:integer}) -> 0.0027s == 107 AddOpenIdAuthenticationTables: migrated (0.0076s) ====================== == 108 AddIdentityUrlToUsers: migrating ======================================= -- add_column(:users, :identity_url, :string, {}) -> 0.0162s == 108 AddIdentityUrlToUsers: migrated (0.0162s) ============================== == 20090214190337 AddWatchersUserIdTypeIndex: migrating ======================= -- add_index(:watchers, [:user_id, :watchable_type], {:name=>:watchers_user_id_type}) -> 0.0639s == 20090214190337 AddWatchersUserIdTypeIndex: migrated (0.0640s) ============== == 20090312172426 AddQueriesSortCriteria: migrating =========================== -- add_column(:queries, :sort_criteria, :text, {}) -> 0.0070s == 20090312172426 AddQueriesSortCriteria: migrated (0.0070s) ================== == 20090312194159 AddProjectsTrackersUniqueIndex: migrating =================== -- add_index(:projects_trackers, [:project_id, :tracker_id], {:name=>:projects_trackers_unique, :unique=>true}) -> 0.0268s == 20090312194159 AddProjectsTrackersUniqueIndex: migrated (0.0679s) ========== == 20090318181151 ExtendSettingsName: migrating =============================== -- change_column(:settings, :name, :string, {:limit=>255, :default=>"", :null=>false}) -> 0.0088s == 20090318181151 ExtendSettingsName: migrated (0.0089s) ====================== == 20090323224724 AddTypeToEnumerations: migrating ============================ -- add_column(:enumerations, :type, :string, {}) -> 0.0071s == 20090323224724 AddTypeToEnumerations: migrated (0.0072s) =================== == 20090401221305 UpdateEnumerationsToSti: migrating ========================== == 20090401221305 UpdateEnumerationsToSti: migrated (0.0173s) ================= == 20090401231134 AddActiveFieldToEnumerations: migrating ===================== -- add_column(:enumerations, :active, :boolean, {:default=>true, :null=>false}) -> 0.0058s == 20090401231134 AddActiveFieldToEnumerations: migrated (0.0059s) ============ == 20090403001910 AddProjectToEnumerations: migrating ========================= -- add_column(:enumerations, :project_id, :integer, {:null=>true, :default=>nil}) -> 0.0089s -- add_index(:enumerations, :project_id) -> 0.0101s == 20090403001910 AddProjectToEnumerations: migrated (0.0191s) ================ == 20090406161854 AddParentIdToEnumerations: migrating ======================== -- add_column(:enumerations, :parent_id, :integer, {:null=>true, :default=>nil}) -> 0.0061s == 20090406161854 AddParentIdToEnumerations: migrated (0.0061s) =============== == 20090425161243 AddQueriesGroupBy: migrating ================================ -- add_column(:queries, :group_by, :string, {}) -> 0.0074s == 20090425161243 AddQueriesGroupBy: migrated (0.0074s) ======================= == 20090503121501 CreateMemberRoles: migrating ================================ -- create_table(:member_roles, {:options=>"ENGINE=InnoDB", :id=>:integer}) -> 0.0025s == 20090503121501 CreateMemberRoles: migrated (0.0025s) ======================= == 20090503121505 PopulateMemberRoles: migrating ============================== rake aborted! StandardError: An error has occurred, all later migrations canceled: undefined method `inherit_members?' for # /opt/rh/rh-ruby25/root/usr/share/gems/gems/activemodel-5.2.4.2/lib/active_model/attribute_methods.rb:430:in `method_missing' /data/redmine/sf-redmine_redmine-4.1.1/app/models/member_role.rb:72:in `block in add_role_to_subprojects' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/relation/delegation.rb:71:in `each' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/relation/delegation.rb:71:in `each' /data/redmine/sf-redmine_redmine-4.1.1/app/models/member_role.rb:71:in `add_role_to_subprojects' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:426:in `block in make_lambda' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:236:in `block in halting_and_conditional' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:517:in `block in invoke_after' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:517:in `each' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:517:in `invoke_after' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:133:in `run_callbacks' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:816:in `_run_create_callbacks' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/callbacks.rb:346:in `_create_record' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/timestamp.rb:102:in `_create_record' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/persistence.rb:705:in `create_or_update' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/callbacks.rb:342:in `block in create_or_update' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:132:in `run_callbacks' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:816:in `_run_save_callbacks' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/callbacks.rb:342:in `create_or_update' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/persistence.rb:308:in `save!' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/validations.rb:52:in `save!' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/transactions.rb:315:in `block in save!' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/transactions.rb:387:in `block in with_transaction_returning_status' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `block in transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/connection_adapters/abstract/transaction.rb:239:in `block in within_new_transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/connection_adapters/abstract/transaction.rb:236:in `within_new_transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/transactions.rb:212:in `transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/transactions.rb:385:in `with_transaction_returning_status' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/transactions.rb:315:in `save!' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/suppressor.rb:48:in `save!' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/persistence.rb:53:in `create!' /data/redmine/sf-redmine_redmine-4.1.1/db/migrate/20090503121505_populate_member_roles.rb:5:in `block in up' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/relation/delegation.rb:71:in `each' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/relation/delegation.rb:71:in `each' /data/redmine/sf-redmine_redmine-4.1.1/db/migrate/20090503121505_populate_member_roles.rb:4:in `up' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:777:in `up' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:817:in `exec_migration' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:798:in `block (2 levels) in migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:797:in `block in migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:416:in `with_connection' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:796:in `migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:977:in `migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1292:in `block in execute_migration_in_transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1345:in `ddl_transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1291:in `execute_migration_in_transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1263:in `block in migrate_without_lock' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1262:in `each' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1262:in `migrate_without_lock' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1210:in `block in migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1363:in `with_advisory_lock' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1210:in `migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1036:in `up' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1011:in `migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/tasks/database_tasks.rb:172:in `migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/railties/databases.rake:60:in `block (2 levels) in ' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/exe/rake:27:in `' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `load' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `kernel_load' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:28:in `run' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/cli.rb:476:in `exec' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor.rb:399:in `dispatch' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/cli.rb:30:in `dispatch' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/base.rb:476:in `start' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/cli.rb:24:in `start' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/exe/bundle:46:in `block in ' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/friendly_errors.rb:123:in `with_friendly_errors' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/exe/bundle:34:in `' /opt/rh/rh-ruby25/root/usr/local/bin/bundle:23:in `load' /opt/rh/rh-ruby25/root/usr/local/bin/bundle:23:in `
' Caused by: NoMethodError: undefined method `inherit_members?' for # /opt/rh/rh-ruby25/root/usr/share/gems/gems/activemodel-5.2.4.2/lib/active_model/attribute_methods.rb:430:in `method_missing' /data/redmine/sf-redmine_redmine-4.1.1/app/models/member_role.rb:72:in `block in add_role_to_subprojects' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/relation/delegation.rb:71:in `each' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/relation/delegation.rb:71:in `each' /data/redmine/sf-redmine_redmine-4.1.1/app/models/member_role.rb:71:in `add_role_to_subprojects' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:426:in `block in make_lambda' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:236:in `block in halting_and_conditional' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:517:in `block in invoke_after' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:517:in `each' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:517:in `invoke_after' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:133:in `run_callbacks' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:816:in `_run_create_callbacks' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/callbacks.rb:346:in `_create_record' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/timestamp.rb:102:in `_create_record' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/persistence.rb:705:in `create_or_update' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/callbacks.rb:342:in `block in create_or_update' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:132:in `run_callbacks' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:816:in `_run_save_callbacks' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/callbacks.rb:342:in `create_or_update' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/persistence.rb:308:in `save!' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/validations.rb:52:in `save!' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/transactions.rb:315:in `block in save!' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/transactions.rb:387:in `block in with_transaction_returning_status' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `block in transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/connection_adapters/abstract/transaction.rb:239:in `block in within_new_transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/connection_adapters/abstract/transaction.rb:236:in `within_new_transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/transactions.rb:212:in `transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/transactions.rb:385:in `with_transaction_returning_status' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/transactions.rb:315:in `save!' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/suppressor.rb:48:in `save!' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/persistence.rb:53:in `create!' /data/redmine/sf-redmine_redmine-4.1.1/db/migrate/20090503121505_populate_member_roles.rb:5:in `block in up' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/relation/delegation.rb:71:in `each' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/relation/delegation.rb:71:in `each' /data/redmine/sf-redmine_redmine-4.1.1/db/migrate/20090503121505_populate_member_roles.rb:4:in `up' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:777:in `up' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:817:in `exec_migration' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:798:in `block (2 levels) in migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:797:in `block in migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:416:in `with_connection' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:796:in `migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:977:in `migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1292:in `block in execute_migration_in_transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1345:in `ddl_transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1291:in `execute_migration_in_transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1263:in `block in migrate_without_lock' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1262:in `each' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1262:in `migrate_without_lock' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1210:in `block in migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1363:in `with_advisory_lock' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1210:in `migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1036:in `up' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1011:in `migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/tasks/database_tasks.rb:172:in `migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/railties/databases.rake:60:in `block (2 levels) in ' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/exe/rake:27:in `' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `load' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `kernel_load' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:28:in `run' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/cli.rb:476:in `exec' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor.rb:399:in `dispatch' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/cli.rb:30:in `dispatch' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/base.rb:476:in `start' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/cli.rb:24:in `start' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/exe/bundle:46:in `block in ' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/friendly_errors.rb:123:in `with_friendly_errors' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/exe/bundle:34:in `' /opt/rh/rh-ruby25/root/usr/local/bin/bundle:23:in `load' /opt/rh/rh-ruby25/root/usr/local/bin/bundle:23:in `
' Tasks: TOP => db:migrate (See full trace by running task with --trace) root@SERVER:/data/redmine/sf-redmine_redmine-4.1.1>> root@SERVER:/data/redmine/sf-redmine_redmine-4.1.1>>bundle exec rake db:migrate RAILS_ENV=production --trace ** Invoke db:migrate (first_time) ** Invoke db:load_config (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:load_config ** Execute db:migrate == 20090503121505 PopulateMemberRoles: migrating ============================== rake aborted! StandardError: An error has occurred, all later migrations canceled: undefined method `inherit_members?' for # /opt/rh/rh-ruby25/root/usr/share/gems/gems/activemodel-5.2.4.2/lib/active_model/attribute_methods.rb:430:in `method_missing' /data/redmine/sf-redmine_redmine-4.1.1/app/models/member_role.rb:72:in `block in add_role_to_subprojects' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/relation/delegation.rb:71:in `each' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/relation/delegation.rb:71:in `each' /data/redmine/sf-redmine_redmine-4.1.1/app/models/member_role.rb:71:in `add_role_to_subprojects' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:426:in `block in make_lambda' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:236:in `block in halting_and_conditional' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:517:in `block in invoke_after' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:517:in `each' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:517:in `invoke_after' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:133:in `run_callbacks' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:816:in `_run_create_callbacks' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/callbacks.rb:346:in `_create_record' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/timestamp.rb:102:in `_create_record' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/persistence.rb:705:in `create_or_update' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/callbacks.rb:342:in `block in create_or_update' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:132:in `run_callbacks' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:816:in `_run_save_callbacks' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/callbacks.rb:342:in `create_or_update' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/persistence.rb:308:in `save!' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/validations.rb:52:in `save!' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/transactions.rb:315:in `block in save!' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/transactions.rb:387:in `block in with_transaction_returning_status' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `block in transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/connection_adapters/abstract/transaction.rb:239:in `block in within_new_transaction' /opt/rh/rh-ruby25/root/usr/share/ruby/monitor.rb:235:in `mon_synchronize' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/connection_adapters/abstract/transaction.rb:236:in `within_new_transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/transactions.rb:212:in `transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/transactions.rb:385:in `with_transaction_returning_status' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/transactions.rb:315:in `save!' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/suppressor.rb:48:in `save!' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/persistence.rb:53:in `create!' /data/redmine/sf-redmine_redmine-4.1.1/db/migrate/20090503121505_populate_member_roles.rb:5:in `block in up' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/relation/delegation.rb:71:in `each' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/relation/delegation.rb:71:in `each' /data/redmine/sf-redmine_redmine-4.1.1/db/migrate/20090503121505_populate_member_roles.rb:4:in `up' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:777:in `up' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:817:in `exec_migration' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:798:in `block (2 levels) in migrate' /opt/rh/rh-ruby25/root/usr/share/ruby/benchmark.rb:293:in `measure' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:797:in `block in migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:416:in `with_connection' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:796:in `migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:977:in `migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1292:in `block in execute_migration_in_transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1345:in `ddl_transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1291:in `execute_migration_in_transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1263:in `block in migrate_without_lock' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1262:in `each' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1262:in `migrate_without_lock' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1210:in `block in migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1363:in `with_advisory_lock' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1210:in `migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1036:in `up' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1011:in `migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/tasks/database_tasks.rb:172:in `migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/railties/databases.rake:60:in `block (2 levels) in ' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:281:in `block in execute' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:281:in `each' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:281:in `execute' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:219:in `block in invoke_with_call_chain' /opt/rh/rh-ruby25/root/usr/share/ruby/monitor.rb:235:in `mon_synchronize' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:199:in `invoke_with_call_chain' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:188:in `invoke' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:160:in `invoke_task' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:116:in `block (2 levels) in top_level' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:116:in `each' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:116:in `block in top_level' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:125:in `run_with_threads' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:110:in `top_level' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:83:in `block in run' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:186:in `standard_exception_handling' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:80:in `run' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/exe/rake:27:in `' /opt/rh/rh-ruby25/root/usr/local/bin/rake:23:in `load' /opt/rh/rh-ruby25/root/usr/local/bin/rake:23:in `' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `load' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `kernel_load' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:28:in `run' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/cli.rb:476:in `exec' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor.rb:399:in `dispatch' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/cli.rb:30:in `dispatch' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/base.rb:476:in `start' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/cli.rb:24:in `start' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/exe/bundle:46:in `block in ' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/friendly_errors.rb:123:in `with_friendly_errors' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/exe/bundle:34:in `' /opt/rh/rh-ruby25/root/usr/local/bin/bundle:23:in `load' /opt/rh/rh-ruby25/root/usr/local/bin/bundle:23:in `
' Caused by: NoMethodError: undefined method `inherit_members?' for # /opt/rh/rh-ruby25/root/usr/share/gems/gems/activemodel-5.2.4.2/lib/active_model/attribute_methods.rb:430:in `method_missing' /data/redmine/sf-redmine_redmine-4.1.1/app/models/member_role.rb:72:in `block in add_role_to_subprojects' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/relation/delegation.rb:71:in `each' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/relation/delegation.rb:71:in `each' /data/redmine/sf-redmine_redmine-4.1.1/app/models/member_role.rb:71:in `add_role_to_subprojects' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:426:in `block in make_lambda' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:236:in `block in halting_and_conditional' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:517:in `block in invoke_after' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:517:in `each' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:517:in `invoke_after' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:133:in `run_callbacks' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:816:in `_run_create_callbacks' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/callbacks.rb:346:in `_create_record' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/timestamp.rb:102:in `_create_record' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/persistence.rb:705:in `create_or_update' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/callbacks.rb:342:in `block in create_or_update' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:132:in `run_callbacks' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activesupport-5.2.4.2/lib/active_support/callbacks.rb:816:in `_run_save_callbacks' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/callbacks.rb:342:in `create_or_update' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/persistence.rb:308:in `save!' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/validations.rb:52:in `save!' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/transactions.rb:315:in `block in save!' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/transactions.rb:387:in `block in with_transaction_returning_status' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `block in transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/connection_adapters/abstract/transaction.rb:239:in `block in within_new_transaction' /opt/rh/rh-ruby25/root/usr/share/ruby/monitor.rb:235:in `mon_synchronize' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/connection_adapters/abstract/transaction.rb:236:in `within_new_transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/transactions.rb:212:in `transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/transactions.rb:385:in `with_transaction_returning_status' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/transactions.rb:315:in `save!' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/suppressor.rb:48:in `save!' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/persistence.rb:53:in `create!' /data/redmine/sf-redmine_redmine-4.1.1/db/migrate/20090503121505_populate_member_roles.rb:5:in `block in up' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/relation/delegation.rb:71:in `each' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/relation/delegation.rb:71:in `each' /data/redmine/sf-redmine_redmine-4.1.1/db/migrate/20090503121505_populate_member_roles.rb:4:in `up' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:777:in `up' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:817:in `exec_migration' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:798:in `block (2 levels) in migrate' /opt/rh/rh-ruby25/root/usr/share/ruby/benchmark.rb:293:in `measure' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:797:in `block in migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:416:in `with_connection' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:796:in `migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:977:in `migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1292:in `block in execute_migration_in_transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1345:in `ddl_transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1291:in `execute_migration_in_transaction' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1263:in `block in migrate_without_lock' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1262:in `each' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1262:in `migrate_without_lock' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1210:in `block in migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1363:in `with_advisory_lock' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1210:in `migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1036:in `up' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/migration.rb:1011:in `migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/tasks/database_tasks.rb:172:in `migrate' /opt/rh/rh-ruby25/root/usr/share/gems/gems/activerecord-5.2.4.2/lib/active_record/railties/databases.rake:60:in `block (2 levels) in ' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:281:in `block in execute' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:281:in `each' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:281:in `execute' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:219:in `block in invoke_with_call_chain' /opt/rh/rh-ruby25/root/usr/share/ruby/monitor.rb:235:in `mon_synchronize' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:199:in `invoke_with_call_chain' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/task.rb:188:in `invoke' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:160:in `invoke_task' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:116:in `block (2 levels) in top_level' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:116:in `each' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:116:in `block in top_level' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:125:in `run_with_threads' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:110:in `top_level' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:83:in `block in run' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:186:in `standard_exception_handling' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/lib/rake/application.rb:80:in `run' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-13.0.1/exe/rake:27:in `' /opt/rh/rh-ruby25/root/usr/local/bin/rake:23:in `load' /opt/rh/rh-ruby25/root/usr/local/bin/rake:23:in `' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `load' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `kernel_load' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:28:in `run' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/cli.rb:476:in `exec' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor.rb:399:in `dispatch' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/cli.rb:30:in `dispatch' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/base.rb:476:in `start' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/cli.rb:24:in `start' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/exe/bundle:46:in `block in ' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/lib/bundler/friendly_errors.rb:123:in `with_friendly_errors' /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler-2.1.4/exe/bundle:34:in `' /opt/rh/rh-ruby25/root/usr/local/bin/bundle:23:in `load' /opt/rh/rh-ruby25/root/usr/local/bin/bundle:23:in `
' Tasks: TOP => db:migrate root@SERVER:/data/redmine/sf-redmine_redmine-4.1.1>>