Content
Error upgrade
Added by Infraestrutura Logone almost 8 years ago
hi everyone
I tryed upgrade the openproject with packeged instalation but when I set my db the instalation return this error:
[openproject] ./bin/postinstall
WARNING
Silencing all ActiveSupport::Deprecation message output!
rake aborted!
URI::InvalidURIError: the scheme mysql2 does not accept registry part: myuser:mypass@127.0.0.1:3306 (or bad hostname?)
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/connection_specification.rb:35:in `initialize’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/connection_specification.rb:258:in `new’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/connection_specification.rb:258:in `resolve_url_connection’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/connection_specification.rb:246:in `resolve_hash_connection’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/connection_specification.rb:221:in `resolve_connection’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/connection_specification.rb:138:in `resolve’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/connection_specification.rb:150:in `block in resolve_all’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/connection_specification.rb:149:in `each’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/connection_specification.rb:149:in `resolve_all’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_handling.rb:73:in `resolve’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/core.rb:46:in `configurations=’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/core.rb:48:in `block in module:Core’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/concern.rb:120:in `class_eval’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/concern.rb:120:in `append_features’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/base.rb:290:in `include’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/base.rb:290:in `class:Base’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/base.rb:274:in `module:ActiveRecord’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/base.rb:24:in `<top (required)>’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-session_store-1.0.0/lib/active_record/session_store/session.rb:7:in `require’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-session_store-1.0.0/lib/active_record/session_store/session.rb:7:in `module:SessionStore’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-session_store-1.0.0/lib/active_record/session_store/session.rb:5:in `module:ActiveRecord’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-session_store-1.0.0/lib/active_record/session_store/session.rb:4:in `<top (required)>’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-session_store-1.0.0/lib/active_record/session_store.rb:98:in `require’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-session_store-1.0.0/lib/active_record/session_store.rb:98:in `<top (required)>’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-session_store-1.0.0/lib/activerecord/session_store.rb:1:in `require’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-session_store-1.0.0/lib/activerecord/session_store.rb:1:in `<top (required)>’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/runtime.rb:105:in `require’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/runtime.rb:105:in `rescue in block in require’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/runtime.rb:82:in `block in require’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/runtime.rb:75:in `each’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/runtime.rb:75:in `require’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler.rb:106:in `require’
/opt/openproject/config/application.rb:75:in `<top (required)>’
/opt/openproject/Rakefile:33:in `require’
/opt/openproject/Rakefile:33:in `<top (required)>’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli/exec.rb:74:in `load’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli/exec.rb:74:in `kernel_load’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli/exec.rb:27:in `run’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli.rb:332:in `exec’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli.rb:20:in `dispatch’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli.rb:11:in `start’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/exe/bundle:34:in `block in <top (required)>’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/friendly_errors.rb:100:in `with_friendly_errors’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/exe/bundle:26:in `<top (required)>’
/opt/openproject/bin/bundle:3:in `load’
/opt/openproject/bin/bundle:3:in `
’
LoadError: cannot load such file — activerecord-session_store
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/runtime.rb:91:in `require’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/runtime.rb:91:in `block (2 levels) in require’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/runtime.rb:86:in `each’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/runtime.rb:86:in `block in require’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/runtime.rb:75:in `each’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/runtime.rb:75:in `require’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler.rb:106:in `require’
/opt/openproject/config/application.rb:75:in `<top (required)>’
/opt/openproject/Rakefile:33:in `require’
/opt/openproject/Rakefile:33:in `<top (required)>’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli/exec.rb:74:in `load’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli/exec.rb:74:in `kernel_load’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli/exec.rb:27:in `run’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli.rb:332:in `exec’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli.rb:20:in `dispatch’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli.rb:11:in `start’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/exe/bundle:34:in `block in <top (required)>’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/friendly_errors.rb:100:in `with_friendly_errors’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/exe/bundle:26:in `<top (required)>’
/opt/openproject/bin/bundle:3:in `load’
/opt/openproject/bin/bundle:3:in `
’
Can you help?
Thank you and sorry for the bad english
Replies (3)
Hi,
what is the output of
openproject config:get DATABASE_URL
? (Remove the password from the output).Best,
Oliver
Oliver Günther wrote:
Hi Oliver,
mysql2://openproject:mypass@127.0.0.1:3306/openproject
Oliver Günther wrote:
Hi oliver, I change my oassword and now I’m get a new error ,this happens when it tries to migrate the database, it tries to create a table that already exists and then the error occurs, could anyone help me?
WARNING
Silencing all ActiveSupport::Deprecation message output!
20121114100641 AggregatedAnnouncementsMigrations: migrating ==
— create_table(:announcements, {})
rake aborted!
StandardError: An error has occurred, all later migrations canceled:
Mysql2::Error: Table ‘announcements’ already exists: CREATE TABLE `announcements` (`id` int AUTO_INCREMENT PRIMARY KEY, `text` text, `show_until` date, `active` tinyint(1) DEFAULT 0, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/mysql2-0.4.4/lib/mysql2/client.rb:107:in `_query’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/mysql2-0.4.4/lib/mysql2/client.rb:107:in `block in query’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/mysql2-0.4.4/lib/mysql2/client.rb:106:in `handle_interrupt’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/mysql2-0.4.4/lib/mysql2/client.rb:106:in `query’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `block in execute’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract_adapter.rb:566:in `block in log’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract_adapter.rb:560:in `log’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `execute’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/mysql/database_statements.rb:46:in `execute’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:283:in `create_table’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:420:in `create_table’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:845:in `block in method_missing’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:814:in `block in say_with_time’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:814:in `say_with_time’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:834:in `method_missing’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration/compatibility.rb:32:in `create_table’
/opt/openproject/db/migrate/20121114100641_aggregated_announcements_migrations.rb:15:in `block in up’
/opt/openproject/db/migrate/migration_utils/migration_squasher.rb:46:in `squash’
/opt/openproject/db/migrate/20121114100641_aggregated_announcements_migrations.rb:14:in `up’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:791:in `exec_migration’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:772:in `block (2 levels) in migrate’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:771:in `block in migrate’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:398:in `with_connection’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:770:in `migrate’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:950:in `migrate’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1211:in `block in execute_migration_in_transaction’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1281:in `ddl_transaction’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1210:in `execute_migration_in_transaction’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1183:in `block in migrate_without_lock’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1182:in `each’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1182:in `migrate_without_lock’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1131:in `block in migrate’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1298:in `with_advisory_lock’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1131:in `migrate’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1005:in `up’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:983:in `migrate’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/tasks/database_tasks.rb:161:in `migrate’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/railties/databases.rake:58:in `block (2 levels) in <top (required)>’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli/exec.rb:74:in `load’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli/exec.rb:74:in `kernel_load’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli/exec.rb:27:in `run’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli.rb:332:in `exec’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli.rb:20:in `dispatch’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli.rb:11:in `start’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/exe/bundle:34:in `block in <top (required)>’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/friendly_errors.rb:100:in `with_friendly_errors’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/exe/bundle:26:in `<top (required)>’
/opt/openproject/bin/bundle:3:in `load’
/opt/openproject/bin/bundle:3:in `
’
ActiveRecord::StatementInvalid: Mysql2::Error: Table ‘announcements’ already exists: CREATE TABLE `announcements` (`id` int AUTO_INCREMENT PRIMARY KEY, `text` text, `show_until` date, `active` tinyint(1) DEFAULT 0, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/mysql2-0.4.4/lib/mysql2/client.rb:107:in `_query’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/mysql2-0.4.4/lib/mysql2/client.rb:107:in `block in query’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/mysql2-0.4.4/lib/mysql2/client.rb:106:in `handle_interrupt’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/mysql2-0.4.4/lib/mysql2/client.rb:106:in `query’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `block in execute’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract_adapter.rb:566:in `block in log’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract_adapter.rb:560:in `log’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `execute’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/mysql/database_statements.rb:46:in `execute’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:283:in `create_table’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:420:in `create_table’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:845:in `block in method_missing’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:814:in `block in say_with_time’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:814:in `say_with_time’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:834:in `method_missing’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration/compatibility.rb:32:in `create_table’
/opt/openproject/db/migrate/20121114100641_aggregated_announcements_migrations.rb:15:in `block in up’
/opt/openproject/db/migrate/migration_utils/migration_squasher.rb:46:in `squash’
/opt/openproject/db/migrate/20121114100641_aggregated_announcements_migrations.rb:14:in `up’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:791:in `exec_migration’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:772:in `block (2 levels) in migrate’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:771:in `block in migrate’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:398:in `with_connection’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:770:in `migrate’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:950:in `migrate’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1211:in `block in execute_migration_in_transaction’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1281:in `ddl_transaction’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1210:in `execute_migration_in_transaction’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1183:in `block in migrate_without_lock’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1182:in `each’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1182:in `migrate_without_lock’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1131:in `block in migrate’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1298:in `with_advisory_lock’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1131:in `migrate’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1005:in `up’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:983:in `migrate’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/tasks/database_tasks.rb:161:in `migrate’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/railties/databases.rake:58:in `block (2 levels) in <top (required)>’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli/exec.rb:74:in `load’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli/exec.rb:74:in `kernel_load’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli/exec.rb:27:in `run’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli.rb:332:in `exec’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli.rb:20:in `dispatch’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli.rb:11:in `start’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/exe/bundle:34:in `block in <top (required)>’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/friendly_errors.rb:100:in `with_friendly_errors’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/exe/bundle:26:in `<top (required)>’
/opt/openproject/bin/bundle:3:in `load’
/opt/openproject/bin/bundle:3:in `
’
Mysql2::Error: Table ‘announcements’ already exists
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/mysql2-0.4.4/lib/mysql2/client.rb:107:in `_query’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/mysql2-0.4.4/lib/mysql2/client.rb:107:in `block in query’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/mysql2-0.4.4/lib/mysql2/client.rb:106:in `handle_interrupt’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/mysql2-0.4.4/lib/mysql2/client.rb:106:in `query’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `block in execute’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract_adapter.rb:566:in `block in log’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract_adapter.rb:560:in `log’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `execute’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/mysql/database_statements.rb:46:in `execute’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:283:in `create_table’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:420:in `create_table’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:845:in `block in method_missing’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:814:in `block in say_with_time’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:814:in `say_with_time’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:834:in `method_missing’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration/compatibility.rb:32:in `create_table’
/opt/openproject/db/migrate/20121114100641_aggregated_announcements_migrations.rb:15:in `block in up’
/opt/openproject/db/migrate/migration_utils/migration_squasher.rb:46:in `squash’
/opt/openproject/db/migrate/20121114100641_aggregated_announcements_migrations.rb:14:in `up’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:791:in `exec_migration’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:772:in `block (2 levels) in migrate’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:771:in `block in migrate’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:398:in `with_connection’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:770:in `migrate’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:950:in `migrate’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1211:in `block in execute_migration_in_transaction’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1281:in `ddl_transaction’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1210:in `execute_migration_in_transaction’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1183:in `block in migrate_without_lock’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1182:in `each’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1182:in `migrate_without_lock’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1131:in `block in migrate’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1298:in `with_advisory_lock’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1131:in `migrate’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:1005:in `up’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/migration.rb:983:in `migrate’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/tasks/database_tasks.rb:161:in `migrate’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/railties/databases.rake:58:in `block (2 levels) in <top (required)>’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli/exec.rb:74:in `load’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli/exec.rb:74:in `kernel_load’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli/exec.rb:27:in `run’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli.rb:332:in `exec’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli.rb:20:in `dispatch’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/cli.rb:11:in `start’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/exe/bundle:34:in `block in <top (required)>’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/lib/bundler/friendly_errors.rb:100:in `with_friendly_errors’
/opt/openproject/vendor/bundle/ruby/2.3.0/gems/bundler-1.13.2/exe/bundle:26:in `<top (required)>’
/opt/openproject/bin/bundle:3:in `load’
/opt/openproject/bin/bundle:3:in `
’
Tasks: TOP => db:migrate
thank you!