db:migrate error when upgrading from 3.2.0 to 3.2.1

Added by Ben Blanco almost 3 years ago

Hi All,

I have upgraded our server from 3.2.0 to 3.2.1.

But I get an error when migrating the db; error due to db/migrate/006_calendar_and_activity.rb

I don't understand why...

Any help appreciated!

Thanks

bundle exec rake db:migrate RAILS_ENV=production --trace

/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/htmlentities-4.3.1/lib/htmlentities/mappings/expanded.rb:465: warning: duplicated key at line 466 ignored: "inodot" 
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Invoke db:load_config (first_time)
** Execute db:load_config
** Execute db:migrate
== 6 CalendarAndActivity: migrating ===========================================
rake aborted!
StandardError: An error has occurred, all later migrations canceled:

Mysql2::Error: Table 'redmine.permissions' doesn't exist: SHOW FULL FIELDS FROM `permissions`/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:305:in `query'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:305:in `block in execute'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract_adapter.rb:472:in `block in log'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activesupport-4.2.5.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract_adapter.rb:466:in `log'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:305:in `execute'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:312:in `execute_and_free'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:457:in `columns'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/schema_cache.rb:43:in `columns'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/attributes.rb:93:in `columns'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/attributes.rb:98:in `columns_hash'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/model_schema.rb:238:in `column_types'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/model_schema.rb:234:in `attributes_builder'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/model_schema.rb:254:in `_default_attributes'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/core.rb:273:in `initialize'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/inheritance.rb:61:in `new'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/inheritance.rb:61:in `new'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/protected_attributes-1.1.3/lib/active_record/mass_assignment_security/persistence.rb:45:in `create'
/[server_location]/redmine/db/migrate/006_calendar_and_activity.rb:6:in `up'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:571:in `up'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:611:in `exec_migration'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
/usr/local/rbenv/versions/2.2.5/lib/ruby/2.2.0/benchmark.rb:288:in `measure'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:591:in `block in migrate'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:590:in `migrate'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:768:in `migrate'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:1046:in `ddl_transaction'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:959:in `block in migrate'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:955:in `each'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:955:in `migrate'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:823:in `up'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:801:in `migrate'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:240:in `call'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:240:in `block in execute'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:235:in `each'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:235:in `execute'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/usr/local/rbenv/versions/2.2.5/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:172:in `invoke_with_call_chain'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:165:in `invoke'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:150:in `invoke_task'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:106:in `each'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:106:in `block in top_level'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:115:in `run_with_threads'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:100:in `top_level'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:78:in `block in run'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:176:in `standard_exception_handling'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:75:in `run'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/bin/rake:33:in `<top (required)>'
/usr/local/rbenv/versions/2.2.5/bin/rake:22:in `load'
/usr/local/rbenv/versions/2.2.5/bin/rake:22:in `<main>'
ActiveRecord::StatementInvalid: Mysql2::Error: Table 'redmine.permissions' doesn't exist: SHOW FULL FIELDS FROM `permissions`
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:305:in `query'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:305:in `block in execute'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract_adapter.rb:472:in `block in log'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activesupport-4.2.5.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract_adapter.rb:466:in `log'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:305:in `execute'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:312:in `execute_and_free'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:457:in `columns'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/schema_cache.rb:43:in `columns'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/attributes.rb:93:in `columns'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/attributes.rb:98:in `columns_hash'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/model_schema.rb:238:in `column_types'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/model_schema.rb:234:in `attributes_builder'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/model_schema.rb:254:in `_default_attributes'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/core.rb:273:in `initialize'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/inheritance.rb:61:in `new'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/inheritance.rb:61:in `new'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/protected_attributes-1.1.3/lib/active_record/mass_assignment_security/persistence.rb:45:in `create'
/[server_location]/redmine/db/migrate/006_calendar_and_activity.rb:6:in `up'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:571:in `up'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:611:in `exec_migration'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
/usr/local/rbenv/versions/2.2.5/lib/ruby/2.2.0/benchmark.rb:288:in `measure'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:591:in `block in migrate'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:590:in `migrate'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:768:in `migrate'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:1046:in `ddl_transaction'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:959:in `block in migrate'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:955:in `each'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:955:in `migrate'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:823:in `up'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:801:in `migrate'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:240:in `call'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:240:in `block in execute'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:235:in `each'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:235:in `execute'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/usr/local/rbenv/versions/2.2.5/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:172:in `invoke_with_call_chain'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:165:in `invoke'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:150:in `invoke_task'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:106:in `each'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:106:in `block in top_level'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:115:in `run_with_threads'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:100:in `top_level'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:78:in `block in run'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:176:in `standard_exception_handling'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:75:in `run'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/bin/rake:33:in `<top (required)>'
/usr/local/rbenv/versions/2.2.5/bin/rake:22:in `load'
/usr/local/rbenv/versions/2.2.5/bin/rake:22:in `<main>'
Mysql2::Error: Table 'redmine.permissions' doesn't exist
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:305:in `query'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:305:in `block in execute'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract_adapter.rb:472:in `block in log'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activesupport-4.2.5.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract_adapter.rb:466:in `log'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:305:in `execute'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:312:in `execute_and_free'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:457:in `columns'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/schema_cache.rb:43:in `columns'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/attributes.rb:93:in `columns'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/attributes.rb:98:in `columns_hash'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/model_schema.rb:238:in `column_types'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/model_schema.rb:234:in `attributes_builder'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/model_schema.rb:254:in `_default_attributes'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/core.rb:273:in `initialize'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/inheritance.rb:61:in `new'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/inheritance.rb:61:in `new'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/protected_attributes-1.1.3/lib/active_record/mass_assignment_security/persistence.rb:45:in `create'
/[server_location]/redmine/db/migrate/006_calendar_and_activity.rb:6:in `up'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:571:in `up'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:611:in `exec_migration'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
/usr/local/rbenv/versions/2.2.5/lib/ruby/2.2.0/benchmark.rb:288:in `measure'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:591:in `block in migrate'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:590:in `migrate'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:768:in `migrate'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:1046:in `ddl_transaction'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:959:in `block in migrate'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:955:in `each'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:955:in `migrate'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:823:in `up'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/migration.rb:801:in `migrate'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/activerecord-4.2.5.2/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:240:in `call'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:240:in `block in execute'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:235:in `each'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:235:in `execute'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/usr/local/rbenv/versions/2.2.5/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:172:in `invoke_with_call_chain'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:165:in `invoke'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:150:in `invoke_task'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:106:in `each'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:106:in `block in top_level'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:115:in `run_with_threads'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:100:in `top_level'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:78:in `block in run'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:176:in `standard_exception_handling'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:75:in `run'
/usr/local/rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rake-10.5.0/bin/rake:33:in `<top (required)>'
/usr/local/rbenv/versions/2.2.5/bin/rake:22:in `load'
/usr/local/rbenv/versions/2.2.5/bin/rake:22:in `<main>'
Tasks: TOP => db:migrate