synology_redmine

datestreamcontent
2017-05-03 12:52:01stdout(See full trace by running task with --trace)
2017-05-03 12:52:01stdoutTasks: TOP => db:migrate
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-05-03 12:52:01stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-05-03 12:52:01stdoutMysql2::Error: Table 'imports' already exists
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-05-03 12:52:01stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-05-03 12:52:01stdoutActiveRecord::StatementInvalid: Mysql2::Error: Table 'imports' already exists: CREATE TABLE `imports` (`id` int(11) auto_increment PRIMARY KEY, `type` varchar(255), `user_id` int(11) NOT NULL, `filename` varchar(255), `settings` text, `total_items` int(11), `finished` tinyint(1) DEFAULT 0 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-05-03 12:52:01stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-05-03 12:52:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-05-03 12:52:01stdoutMysql2::Error: Table 'imports' already exists: CREATE TABLE `imports` (`id` int(11) auto_increment PRIMARY KEY, `type` varchar(255), `user_id` int(11) NOT NULL, `filename` varchar(255), `settings` text, `total_items` int(11), `finished` tinyint(1) DEFAULT 0 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
2017-05-03 12:52:01stdout
2017-05-03 12:52:01stdoutStandardError: An error has occurred, all later migrations canceled:
2017-05-03 12:52:01stdoutrake aborted!
2017-05-03 12:51:51stdoutredmine already exists
2017-05-03 12:51:41stdoutMigrating database. Please be patient, this could take a while...
2017-05-03 12:51:41stdoutConfiguring nginx::redmine...
2017-05-03 12:51:41stdoutConfiguring nginx...
2017-05-03 12:51:41stdoutConfiguring redmine::backups...
2017-05-03 12:51:40stdoutConfiguring redmine::autologin_cookie...
2017-05-03 12:51:40stdoutConfiguring redmine::sudo_mode...
2017-05-03 12:51:40stdoutConfiguring redmine::max_concurrent_ajax_uploads...
2017-05-03 12:51:40stdout  **SHOULD** be defined if you have a load-balancing Redmine cluster.
2017-05-03 12:51:40stdout  Please specify the REDMINE_SECRET_TOKEN parameter for persistence.
2017-05-03 12:51:40stdout  All old sessions will become invalid.
2017-05-03 12:51:40stdoutNote:
2017-05-03 12:51:40stdoutGenerating a session token...
2017-05-03 12:51:40stdoutConfiguring redmine::secret_token...
2017-05-03 12:51:40stdoutConfiguring redmine::unicorn...
2017-05-03 12:51:40stdoutConfiguring redmine::database
2017-05-03 12:51:39stdoutConfiguring redmine...
2017-05-03 12:51:38stdoutInstalling configuration templates...
2017-05-03 12:51:37stdoutSymlinking dotfiles...
2017-05-03 12:51:37stdoutInitializing datadir...
2017-05-03 12:51:37stdoutInitializing logdir...
2017-05-03 12:47:50stdout(See full trace by running task with --trace)
2017-05-03 12:47:50stdoutTasks: TOP => db:migrate
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-05-03 12:47:50stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-05-03 12:47:50stdoutMysql2::Error: Table 'imports' already exists
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-05-03 12:47:50stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-05-03 12:47:50stdoutActiveRecord::StatementInvalid: Mysql2::Error: Table 'imports' already exists: CREATE TABLE `imports` (`id` int(11) auto_increment PRIMARY KEY, `type` varchar(255), `user_id` int(11) NOT NULL, `filename` varchar(255), `settings` text, `total_items` int(11), `finished` tinyint(1) DEFAULT 0 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-05-03 12:47:50stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-05-03 12:47:50stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-05-03 12:47:50stdoutMysql2::Error: Table 'imports' already exists: CREATE TABLE `imports` (`id` int(11) auto_increment PRIMARY KEY, `type` varchar(255), `user_id` int(11) NOT NULL, `filename` varchar(255), `settings` text, `total_items` int(11), `finished` tinyint(1) DEFAULT 0 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
2017-05-03 12:47:50stdout
2017-05-03 12:47:50stdoutStandardError: An error has occurred, all later migrations canceled:
2017-05-03 12:47:50stdoutrake aborted!
2017-05-03 12:47:39stdoutredmine already exists
2017-05-03 12:47:28stdoutMigrating database. Please be patient, this could take a while...
2017-05-03 12:47:28stdoutConfiguring nginx::redmine...
2017-05-03 12:47:28stdoutConfiguring nginx...
2017-05-03 12:47:28stdoutConfiguring redmine::backups...
2017-05-03 12:47:28stdoutConfiguring redmine::autologin_cookie...
2017-05-03 12:47:28stdoutConfiguring redmine::sudo_mode...
2017-05-03 12:47:28stdoutConfiguring redmine::max_concurrent_ajax_uploads...
2017-05-03 12:47:28stdout  **SHOULD** be defined if you have a load-balancing Redmine cluster.
2017-05-03 12:47:28stdout  Please specify the REDMINE_SECRET_TOKEN parameter for persistence.
2017-05-03 12:47:28stdout  All old sessions will become invalid.
2017-05-03 12:47:28stdoutNote:
2017-05-03 12:47:28stdoutGenerating a session token...
2017-05-03 12:47:28stdoutConfiguring redmine::secret_token...
2017-05-03 12:47:28stdoutConfiguring redmine::unicorn...
2017-05-03 12:47:27stdoutConfiguring redmine::database
2017-05-03 12:47:26stdoutConfiguring redmine...
2017-05-03 12:47:26stdoutInstalling configuration templates...
2017-05-03 12:47:25stdoutSymlinking dotfiles...
2017-05-03 12:47:25stdoutInitializing datadir...
2017-05-03 12:47:25stdoutInitializing logdir...
2017-05-03 12:37:45stdout(See full trace by running task with --trace)
2017-05-03 12:37:45stdoutTasks: TOP => db:migrate
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-05-03 12:37:45stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-05-03 12:37:45stdoutMysql2::Error: Table 'imports' already exists
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-05-03 12:37:45stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-05-03 12:37:45stdoutActiveRecord::StatementInvalid: Mysql2::Error: Table 'imports' already exists: CREATE TABLE `imports` (`id` int(11) auto_increment PRIMARY KEY, `type` varchar(255), `user_id` int(11) NOT NULL, `filename` varchar(255), `settings` text, `total_items` int(11), `finished` tinyint(1) DEFAULT 0 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-05-03 12:37:45stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-05-03 12:37:45stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-05-03 12:37:45stdoutMysql2::Error: Table 'imports' already exists: CREATE TABLE `imports` (`id` int(11) auto_increment PRIMARY KEY, `type` varchar(255), `user_id` int(11) NOT NULL, `filename` varchar(255), `settings` text, `total_items` int(11), `finished` tinyint(1) DEFAULT 0 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
2017-05-03 12:37:45stdout
2017-05-03 12:37:45stdoutStandardError: An error has occurred, all later migrations canceled:
2017-05-03 12:37:45stdoutrake aborted!
2017-05-03 12:37:34stdoutredmine already exists
2017-05-03 12:37:23stdoutMigrating database. Please be patient, this could take a while...
2017-05-03 12:37:23stdoutConfiguring nginx::redmine...
2017-05-03 12:37:23stdoutConfiguring nginx...
2017-05-03 12:37:23stdoutConfiguring redmine::backups...
2017-05-03 12:37:22stdoutConfiguring redmine::autologin_cookie...
2017-05-03 12:37:22stdoutConfiguring redmine::sudo_mode...
2017-05-03 12:37:22stdoutConfiguring redmine::max_concurrent_ajax_uploads...
2017-05-03 12:37:22stdout  **SHOULD** be defined if you have a load-balancing Redmine cluster.
2017-05-03 12:37:22stdout  Please specify the REDMINE_SECRET_TOKEN parameter for persistence.
2017-05-03 12:37:22stdout  All old sessions will become invalid.
2017-05-03 12:37:22stdoutNote:
2017-05-03 12:37:22stdoutGenerating a session token...
2017-05-03 12:37:22stdoutConfiguring redmine::secret_token...
2017-05-03 12:37:22stdoutConfiguring redmine::unicorn...
2017-05-03 12:37:22stdoutConfiguring redmine::database
2017-05-03 12:37:20stdoutConfiguring redmine...
2017-05-03 12:37:19stdoutInstalling configuration templates...
2017-05-03 12:37:19stdoutSymlinking dotfiles...
2017-05-03 12:37:18stdoutInitializing datadir...
2017-05-03 12:37:18stdoutInitializing logdir...
2017-05-03 12:14:38stdout(See full trace by running task with --trace)
2017-05-03 12:14:38stdoutTasks: TOP => db:migrate
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-05-03 12:14:38stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-05-03 12:14:38stdoutMysql2::Error: Table 'imports' already exists
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-05-03 12:14:38stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-05-03 12:14:38stdoutActiveRecord::StatementInvalid: Mysql2::Error: Table 'imports' already exists: CREATE TABLE `imports` (`id` int(11) auto_increment PRIMARY KEY, `type` varchar(255), `user_id` int(11) NOT NULL, `filename` varchar(255), `settings` text, `total_items` int(11), `finished` tinyint(1) DEFAULT 0 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-05-03 12:14:38stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-05-03 12:14:38stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-05-03 12:14:38stdoutMysql2::Error: Table 'imports' already exists: CREATE TABLE `imports` (`id` int(11) auto_increment PRIMARY KEY, `type` varchar(255), `user_id` int(11) NOT NULL, `filename` varchar(255), `settings` text, `total_items` int(11), `finished` tinyint(1) DEFAULT 0 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
2017-05-03 12:14:38stdout
2017-05-03 12:14:38stdoutStandardError: An error has occurred, all later migrations canceled:
2017-05-03 12:14:38stdoutrake aborted!
2017-05-03 12:14:30stdoutredmine already exists
2017-05-03 12:13:56stdoutMigrating database. Please be patient, this could take a while...
2017-05-03 12:13:56stdoutConfiguring nginx::redmine...
2017-05-03 12:13:56stdoutConfiguring nginx...
2017-05-03 12:13:56stdoutConfiguring redmine::backups...
2017-05-03 12:13:55stdoutConfiguring redmine::autologin_cookie...
2017-05-03 12:13:55stdoutConfiguring redmine::sudo_mode...
2017-05-03 12:13:55stdoutConfiguring redmine::max_concurrent_ajax_uploads...
2017-05-03 12:13:55stdout  **SHOULD** be defined if you have a load-balancing Redmine cluster.
2017-05-03 12:13:55stdout  Please specify the REDMINE_SECRET_TOKEN parameter for persistence.
2017-05-03 12:13:55stdout  All old sessions will become invalid.
2017-05-03 12:13:55stdoutNote:
2017-05-03 12:13:55stdoutGenerating a session token...
2017-05-03 12:13:55stdoutConfiguring redmine::secret_token...
2017-05-03 12:13:54stdoutConfiguring redmine::unicorn...
2017-05-03 12:13:54stdoutConfiguring redmine::database
2017-05-03 12:13:51stdoutConfiguring redmine...
2017-05-03 12:13:51stdoutInstalling configuration templates...
2017-05-03 12:13:47stdoutSymlinking dotfiles...
2017-05-03 12:13:47stdoutInitializing datadir...
2017-05-03 12:13:47stdoutInitializing logdir...
2017-05-03 12:10:20stdout(See full trace by running task with --trace)
2017-05-03 12:10:20stdoutTasks: TOP => db:migrate
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-05-03 12:10:20stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-05-03 12:10:20stdoutMysql2::Error: Table 'imports' already exists
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-05-03 12:10:20stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-05-03 12:10:20stdoutActiveRecord::StatementInvalid: Mysql2::Error: Table 'imports' already exists: CREATE TABLE `imports` (`id` int(11) auto_increment PRIMARY KEY, `type` varchar(255), `user_id` int(11) NOT NULL, `filename` varchar(255), `settings` text, `total_items` int(11), `finished` tinyint(1) DEFAULT 0 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-05-03 12:10:20stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-05-03 12:10:20stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-05-03 12:10:20stdoutMysql2::Error: Table 'imports' already exists: CREATE TABLE `imports` (`id` int(11) auto_increment PRIMARY KEY, `type` varchar(255), `user_id` int(11) NOT NULL, `filename` varchar(255), `settings` text, `total_items` int(11), `finished` tinyint(1) DEFAULT 0 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
2017-05-03 12:10:20stdout
2017-05-03 12:10:20stdoutStandardError: An error has occurred, all later migrations canceled:
2017-05-03 12:10:20stdoutrake aborted!
2017-05-03 12:10:11stdoutredmine already exists
2017-05-03 12:09:55stdoutMigrating database. Please be patient, this could take a while...
2017-05-03 12:09:54stdoutConfiguring nginx::redmine...
2017-05-03 12:09:54stdoutConfiguring nginx...
2017-05-03 12:09:54stdoutConfiguring redmine::backups...
2017-05-03 12:09:54stdoutConfiguring redmine::autologin_cookie...
2017-05-03 12:09:54stdoutConfiguring redmine::sudo_mode...
2017-05-03 12:09:54stdoutConfiguring redmine::max_concurrent_ajax_uploads...
2017-05-03 12:09:54stdout  **SHOULD** be defined if you have a load-balancing Redmine cluster.
2017-05-03 12:09:54stdout  Please specify the REDMINE_SECRET_TOKEN parameter for persistence.
2017-05-03 12:09:54stdout  All old sessions will become invalid.
2017-05-03 12:09:54stdoutNote:
2017-05-03 12:09:54stdoutGenerating a session token...
2017-05-03 12:09:54stdoutConfiguring redmine::secret_token...
2017-05-03 12:09:53stdoutConfiguring redmine::unicorn...
2017-05-03 12:09:53stdoutConfiguring redmine::database
2017-05-03 12:09:52stdoutConfiguring redmine...
2017-05-03 12:09:51stdoutInstalling configuration templates...
2017-05-03 12:09:50stdoutSymlinking dotfiles...
2017-05-03 12:09:50stdoutInitializing datadir...
2017-05-03 12:09:50stdoutInitializing logdir...
2017-05-03 12:03:01stdout(See full trace by running task with --trace)
2017-05-03 12:03:01stdoutTasks: TOP => db:migrate
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-05-03 12:03:01stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-05-03 12:03:01stdoutMysql2::Error: Table 'imports' already exists
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-05-03 12:03:01stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-05-03 12:03:01stdoutActiveRecord::StatementInvalid: Mysql2::Error: Table 'imports' already exists: CREATE TABLE `imports` (`id` int(11) auto_increment PRIMARY KEY, `type` varchar(255), `user_id` int(11) NOT NULL, `filename` varchar(255), `settings` text, `total_items` int(11), `finished` tinyint(1) DEFAULT 0 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-05-03 12:03:01stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-05-03 12:03:01stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-05-03 12:03:01stdoutMysql2::Error: Table 'imports' already exists: CREATE TABLE `imports` (`id` int(11) auto_increment PRIMARY KEY, `type` varchar(255), `user_id` int(11) NOT NULL, `filename` varchar(255), `settings` text, `total_items` int(11), `finished` tinyint(1) DEFAULT 0 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
2017-05-03 12:03:01stdout
2017-05-03 12:03:01stdoutStandardError: An error has occurred, all later migrations canceled:
2017-05-03 12:03:01stdoutrake aborted!
2017-05-03 12:02:49stdoutredmine already exists
2017-05-03 12:02:37stdoutMigrating database. Please be patient, this could take a while...
2017-05-03 12:02:37stdoutConfiguring nginx::redmine...
2017-05-03 12:02:37stdoutConfiguring nginx...
2017-05-03 12:02:37stdoutConfiguring redmine::backups...
2017-05-03 12:02:37stdoutConfiguring redmine::autologin_cookie...
2017-05-03 12:02:37stdoutConfiguring redmine::sudo_mode...
2017-05-03 12:02:37stdoutConfiguring redmine::max_concurrent_ajax_uploads...
2017-05-03 12:02:37stdout  **SHOULD** be defined if you have a load-balancing Redmine cluster.
2017-05-03 12:02:37stdout  Please specify the REDMINE_SECRET_TOKEN parameter for persistence.
2017-05-03 12:02:37stdout  All old sessions will become invalid.
2017-05-03 12:02:37stdoutNote:
2017-05-03 12:02:37stdoutGenerating a session token...
2017-05-03 12:02:37stdoutConfiguring redmine::secret_token...
2017-05-03 12:02:36stdoutConfiguring redmine::unicorn...
2017-05-03 12:02:36stdoutConfiguring redmine::database
2017-05-03 12:02:34stdoutConfiguring redmine...
2017-05-03 12:02:34stdoutInstalling configuration templates...
2017-05-03 12:02:33stdoutSymlinking dotfiles...
2017-05-03 12:02:33stdoutInitializing datadir...
2017-05-03 12:02:33stdoutInitializing logdir...
2017-05-03 11:54:49stdout(See full trace by running task with --trace)
2017-05-03 11:54:49stdoutTasks: TOP => db:migrate
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-05-03 11:54:49stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-05-03 11:54:49stdoutMysql2::Error: Table 'imports' already exists
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-05-03 11:54:49stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-05-03 11:54:49stdoutActiveRecord::StatementInvalid: Mysql2::Error: Table 'imports' already exists: CREATE TABLE `imports` (`id` int(11) auto_increment PRIMARY KEY, `type` varchar(255), `user_id` int(11) NOT NULL, `filename` varchar(255), `settings` text, `total_items` int(11), `finished` tinyint(1) DEFAULT 0 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-05-03 11:54:49stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-05-03 11:54:49stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-05-03 11:54:49stdoutMysql2::Error: Table 'imports' already exists: CREATE TABLE `imports` (`id` int(11) auto_increment PRIMARY KEY, `type` varchar(255), `user_id` int(11) NOT NULL, `filename` varchar(255), `settings` text, `total_items` int(11), `finished` tinyint(1) DEFAULT 0 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
2017-05-03 11:54:49stdout
2017-05-03 11:54:49stdoutStandardError: An error has occurred, all later migrations canceled:
2017-05-03 11:54:49stdoutrake aborted!
2017-05-03 11:54:40stdoutredmine already exists
2017-05-03 11:54:30stdoutMigrating database. Please be patient, this could take a while...
2017-05-03 11:54:30stdoutConfiguring nginx::redmine...
2017-05-03 11:54:30stdoutConfiguring nginx...
2017-05-03 11:54:30stdoutConfiguring redmine::backups...
2017-05-03 11:54:29stdoutConfiguring redmine::autologin_cookie...
2017-05-03 11:54:29stdoutConfiguring redmine::sudo_mode...
2017-05-03 11:54:29stdoutConfiguring redmine::max_concurrent_ajax_uploads...
2017-05-03 11:54:29stdout  **SHOULD** be defined if you have a load-balancing Redmine cluster.
2017-05-03 11:54:29stdout  Please specify the REDMINE_SECRET_TOKEN parameter for persistence.
2017-05-03 11:54:29stdout  All old sessions will become invalid.
2017-05-03 11:54:29stdoutNote:
2017-05-03 11:54:29stdoutGenerating a session token...
2017-05-03 11:54:29stdoutConfiguring redmine::secret_token...
2017-05-03 11:54:29stdoutConfiguring redmine::unicorn...
2017-05-03 11:54:29stdoutConfiguring redmine::database
2017-05-03 11:54:28stdoutConfiguring redmine...
2017-05-03 11:54:28stdoutInstalling configuration templates...
2017-05-03 11:54:27stdoutSymlinking dotfiles...
2017-05-03 11:54:27stdoutInitializing datadir...
2017-05-03 11:54:27stdoutInitializing logdir...
2017-05-03 11:50:32stdout(See full trace by running task with --trace)
2017-05-03 11:50:32stdoutTasks: TOP => db:migrate
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-05-03 11:50:32stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-05-03 11:50:32stdoutMysql2::Error: Table 'imports' already exists
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-05-03 11:50:32stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-05-03 11:50:32stdoutActiveRecord::StatementInvalid: Mysql2::Error: Table 'imports' already exists: CREATE TABLE `imports` (`id` int(11) auto_increment PRIMARY KEY, `type` varchar(255), `user_id` int(11) NOT NULL, `filename` varchar(255), `settings` text, `total_items` int(11), `finished` tinyint(1) DEFAULT 0 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-05-03 11:50:32stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-05-03 11:50:32stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-05-03 11:50:32stdoutMysql2::Error: Table 'imports' already exists: CREATE TABLE `imports` (`id` int(11) auto_increment PRIMARY KEY, `type` varchar(255), `user_id` int(11) NOT NULL, `filename` varchar(255), `settings` text, `total_items` int(11), `finished` tinyint(1) DEFAULT 0 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
2017-05-03 11:50:32stdout
2017-05-03 11:50:32stdoutStandardError: An error has occurred, all later migrations canceled:
2017-05-03 11:50:32stdoutrake aborted!
2017-05-03 11:50:23stdoutredmine already exists
2017-05-03 11:50:17stdoutMigrating database. Please be patient, this could take a while...
2017-05-03 11:50:17stdoutConfiguring nginx::redmine...
2017-05-03 11:50:17stdoutConfiguring nginx...
2017-05-03 11:50:15stdoutConfiguring redmine::backups...
2017-05-03 11:50:15stdoutConfiguring redmine::autologin_cookie...
2017-05-03 11:50:15stdoutConfiguring redmine::sudo_mode...
2017-05-03 11:50:15stdoutConfiguring redmine::max_concurrent_ajax_uploads...
2017-05-03 11:50:14stdout  **SHOULD** be defined if you have a load-balancing Redmine cluster.
2017-05-03 11:50:14stdout  Please specify the REDMINE_SECRET_TOKEN parameter for persistence.
2017-05-03 11:50:14stdout  All old sessions will become invalid.
2017-05-03 11:50:14stdoutNote:
2017-05-03 11:50:14stdoutGenerating a session token...
2017-05-03 11:50:14stdoutConfiguring redmine::secret_token...
2017-05-03 11:50:14stdoutConfiguring redmine::unicorn...
2017-05-03 11:50:14stdoutConfiguring redmine::database
2017-05-03 11:50:14stdoutConfiguring redmine...
2017-05-03 11:50:14stdoutInstalling configuration templates...
2017-05-03 11:50:13stdoutSymlinking dotfiles...
2017-05-03 11:50:13stdoutInitializing datadir...
2017-05-03 11:50:13stdoutInitializing logdir...
2017-05-03 11:49:15stdout(See full trace by running task with --trace)
2017-05-03 11:49:15stdoutTasks: TOP => db:migrate
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-05-03 11:49:15stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-05-03 11:49:15stdoutMysql2::Error: Table 'imports' already exists
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-05-03 11:49:15stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-05-03 11:49:15stdoutActiveRecord::StatementInvalid: Mysql2::Error: Table 'imports' already exists: CREATE TABLE `imports` (`id` int(11) auto_increment PRIMARY KEY, `type` varchar(255), `user_id` int(11) NOT NULL, `filename` varchar(255), `settings` text, `total_items` int(11), `finished` tinyint(1) DEFAULT 0 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-05-03 11:49:15stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-05-03 11:49:15stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-05-03 11:49:15stdoutMysql2::Error: Table 'imports' already exists: CREATE TABLE `imports` (`id` int(11) auto_increment PRIMARY KEY, `type` varchar(255), `user_id` int(11) NOT NULL, `filename` varchar(255), `settings` text, `total_items` int(11), `finished` tinyint(1) DEFAULT 0 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
2017-05-03 11:49:15stdout
2017-05-03 11:49:15stdoutStandardError: An error has occurred, all later migrations canceled:
2017-05-03 11:49:15stdoutrake aborted!
2017-05-03 11:49:03stdoutredmine already exists
2017-05-03 11:48:50stdoutMigrating database. Please be patient, this could take a while...
2017-05-03 11:48:50stdoutConfiguring nginx::redmine...
2017-05-03 11:48:50stdoutConfiguring nginx...
2017-05-03 11:48:50stdoutConfiguring redmine::backups...
2017-05-03 11:48:50stdoutConfiguring redmine::autologin_cookie...
2017-05-03 11:48:50stdoutConfiguring redmine::sudo_mode...
2017-05-03 11:48:50stdoutConfiguring redmine::max_concurrent_ajax_uploads...
2017-05-03 11:48:50stdout  **SHOULD** be defined if you have a load-balancing Redmine cluster.
2017-05-03 11:48:50stdout  Please specify the REDMINE_SECRET_TOKEN parameter for persistence.
2017-05-03 11:48:50stdout  All old sessions will become invalid.
2017-05-03 11:48:50stdoutNote:
2017-05-03 11:48:50stdoutGenerating a session token...
2017-05-03 11:48:50stdoutConfiguring redmine::secret_token...
2017-05-03 11:48:49stdoutConfiguring redmine::unicorn...
2017-05-03 11:48:49stdoutConfiguring redmine::database
2017-05-03 11:48:47stdoutConfiguring redmine...
2017-05-03 11:48:46stdoutInstalling configuration templates...
2017-05-03 11:48:45stdoutSymlinking dotfiles...
2017-05-03 11:48:45stdoutInitializing datadir...
2017-05-03 11:48:45stdoutInitializing logdir...
2017-04-26 21:20:14stdout(See full trace by running task with --trace)
2017-04-26 21:20:14stdoutTasks: TOP => db:migrate
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-04-26 21:20:14stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-04-26 21:20:14stdoutMysql2::Error: Table 'imports' already exists
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-04-26 21:20:14stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-04-26 21:20:14stdoutActiveRecord::StatementInvalid: Mysql2::Error: Table 'imports' already exists: CREATE TABLE `imports` (`id` int(11) auto_increment PRIMARY KEY, `type` varchar(255), `user_id` int(11) NOT NULL, `filename` varchar(255), `settings` text, `total_items` int(11), `finished` tinyint(1) DEFAULT 0 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:801:in `migrate'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:823:in `up'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `migrate'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:955:in `each'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:959:in `block in migrate'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:1046:in `ddl_transaction'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:768:in `migrate'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:590:in `migrate'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:591:in `block in migrate'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:608:in `exec_migration'
2017-04-26 21:20:14stdout/home/redmine/redmine/db/migrate/20150730122707_create_imports.rb:3:in `change'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:654:in `method_missing'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `say_with_time'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:634:in `block in say_with_time'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:665:in `block in method_missing'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:474:in `create_table'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:222:in `create_table'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `execute'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:309:in `block in execute'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
2017-04-26 21:20:14stdout/home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
2017-04-26 21:20:14stdoutMysql2::Error: Table 'imports' already exists: CREATE TABLE `imports` (`id` int(11) auto_increment PRIMARY KEY, `type` varchar(255), `user_id` int(11) NOT NULL, `filename` varchar(255), `settings` text, `total_items` int(11), `finished` tinyint(1) DEFAULT 0 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
2017-04-26 21:20:14stdout
2017-04-26 21:20:14stdoutStandardError: An error has occurred, all later migrations canceled:
2017-04-26 21:20:14stdoutrake aborted!
2017-04-26 21:20:06stdoutredmine already exists
2017-04-26 21:20:00stdoutMigrating database. Please be patient, this could take a while...
2017-04-26 21:19:59stdoutConfiguring nginx::redmine...
2017-04-26 21:19:59stdoutConfiguring nginx...
2017-04-26 21:19:59stdoutConfiguring redmine::backups...
2017-04-26 21:19:59stdoutConfiguring redmine::autologin_cookie...
2017-04-26 21:19:59stdoutConfiguring redmine::sudo_mode...
2017-04-26 21:19:59stdoutConfiguring redmine::max_concurrent_ajax_uploads...
2017-04-26 21:19:59stdout  **SHOULD** be defined if you have a load-balancing Redmine cluster.
2017-04-26 21:19:59stdout  Please specify the REDMINE_SECRET_TOKEN parameter for persistence.
2017-04-26 21:19:59stdout  All old sessions will become invalid.
2017-04-26 21:19:59stdoutNote:
2017-04-26 21:19:59stdoutGenerating a session token...
2017-04-26 21:19:59stdoutConfiguring redmine::secret_token...
2017-04-26 21:19:59stdoutConfiguring redmine::unicorn...
2017-04-26 21:19:59stdoutConfiguring redmine::database
2017-04-26 21:19:59stdoutConfiguring redmine...
2017-04-26 21:19:58stdoutInstalling configuration templates...
2017-04-26 21:19:58stdoutSymlinking dotfiles...
2017-04-26 21:19:58stdoutInitializing datadir...
2017-04-26 21:19:58stdoutInitializing logdir...
2017-04-26 21:19:07stdoutredmine already exists
2017-04-26 21:18:57stdoutMigrating database. Please be patient, this could take a while...
2017-04-26 21:18:56stdoutConfiguring nginx::redmine...
2017-04-26 21:18:56stdoutConfiguring nginx...
2017-04-26 21:18:56stdoutConfiguring redmine::backups...
2017-04-26 21:18:56stdoutConfiguring redmine::autologin_cookie...
2017-04-26 21:18:56stdoutConfiguring redmine::sudo_mode...
2017-04-26 21:18:56stdoutConfiguring redmine::max_concurrent_ajax_uploads...
2017-04-26 21:18:55stdout  **SHOULD** be defined if you have a load-balancing Redmine cluster.
2017-04-26 21:18:55stdout  Please specify the REDMINE_SECRET_TOKEN parameter for persistence.
2017-04-26 21:18:55stdout  All old sessions will become invalid.
2017-04-26 21:18:55stdoutNote:
2017-04-26 21:18:55stdoutGenerating a session token...
2017-04-26 21:18:55stdoutConfiguring redmine::secret_token...
2017-04-26 21:18:55stdoutConfiguring redmine::unicorn...
2017-04-26 21:18:55stdoutConfiguring redmine::database
2017-04-26 21:18:55stdoutConfiguring redmine...
2017-04-26 21:18:55stdoutInstalling configuration templates...
2017-04-26 21:18:54stdoutSymlinking dotfiles...
2017-04-26 21:18:52stdoutInitializing datadir...
2017-04-26 21:18:52stdoutInitializing logdir...