Content
You are here:
Error while Installation, Debian 9
Added by Daniel K. over 6 years ago
Hallo Zusammen,
es treten auf unterschiedlichen Systemen (Debian, CentOS) bei der Installation von openproject immer die gleichen folgende Fehler auf:
[openproject] ./bin/postinstall == 0 AggregatedMigrations: migrating ========================================== -- create_table("attachments", {:force=>true}) -> 0.0119s -- add_index("attachments", ["author_id"], {:name=>"index_attachments_on_author_id"}) -> 0.0049s -- add_index("attachments", ["container_id", "container_type"], {:name=>"index_attachments_on_container_id_and_container_type"}) -> 0.0048s -- add_index("attachments", ["created_on"], {:name=>"index_attachments_on_created_on"}) -> 0.0045s -- create_table("auth_sources", {:force=>true}) -> 0.0096s -- add_index("auth_sources", ["id", "type"], {:name=>"index_auth_sources_on_id_and_type"}) -> 0.0044s -- create_table("boards", {:force=>true}) -> 0.0093s -- add_index("boards", ["last_message_id"], {:name=>"index_boards_on_last_message_id"}) -> 0.0044s -- add_index("boards", ["project_id"], {:name=>"boards_project_id"}) -> 0.0042s -- create_table("changes", {:force=>true}) -> 0.0113s -- add_index("changes", ["changeset_id"], {:name=>"changesets_changeset_id"}) -> 0.0045s -- create_table("changesets", {:force=>true}) -> 0.0093s -- add_index("changesets", ["committed_on"], {:name=>"index_changesets_on_committed_on"}) -> 0.0068s -- add_index("changesets", ["repository_id", "revision"], {:name=>"changesets_repos_rev", :unique=>true}) rake aborted! StandardError: An error has occurred, all later migrations canceled: Mysql2::Error: Specified key was too long; max key length is 767 bytes: CREATE UNIQUE INDEX `changesets_repos_rev` ON `changesets` (`repository_id`, `revision`) /opt/openproject/vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.9/lib/mysql2/client.rb:120:in `_query' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.9/lib/mysql2/client.rb:120:in `block in query' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.9/lib/mysql2/client.rb:119:in `handle_interrupt' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.9/lib/mysql2/client.rb:119:in `query' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `block in execute' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract_adapter.rb:590:in `block in log' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.6/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract_adapter.rb:583:in `log' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `execute' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/mysql/database_statements.rb:31:in `execute' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:507:in `add_index' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:846:in `block in method_missing' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:815:in `block in say_with_time' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:815:in `say_with_time' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:835:in `method_missing' /opt/openproject/db/migrate/000_aggregated_migrations.rb:354:in `run_aggregated_migrations' /opt/openproject/db/migrate/000_aggregated_migrations.rb:241:in `up' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:792:in `exec_migration' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:773:in `block (2 levels) in migrate' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:772:in `block in migrate' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:398:in `with_connection' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:771:in `migrate' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:951:in `migrate' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1232:in `block in execute_migration_in_transaction' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1302:in `ddl_transaction' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1231:in `execute_migration_in_transaction' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1203:in `block in migrate_without_lock' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1202:in `each' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1202:in `migrate_without_lock' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1150:in `block in migrate' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1319:in `with_advisory_lock' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1150:in `migrate' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1006:in `up' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:984:in `migrate' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/tasks/database_tasks.rb:163:in `migrate' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/railties/databases.rake:58:in `block (2 levels) in <top (required)>' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/rake-12.1.0/exe/rake:27:in `<top (required)>' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:74:in `load' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:74:in `kernel_load' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:27:in `run' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli.rb:360:in `exec' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli.rb:20:in `dispatch' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli.rb:10:in `start' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/exe/bundle:30:in `block in <top (required)>' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/exe/bundle:22:in `<top (required)>' /opt/openproject/bin/bundle:3:in `load' /opt/openproject/bin/bundle:3:in `<main>' ActiveRecord::StatementInvalid: Mysql2::Error: Specified key was too long; max key length is 767 bytes: CREATE UNIQUE INDEX `changesets_repos_rev` ON `changesets` (`repository_id`, `revision`) /opt/openproject/vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.9/lib/mysql2/client.rb:120:in `_query' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.9/lib/mysql2/client.rb:120:in `block in query' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.9/lib/mysql2/client.rb:119:in `handle_interrupt' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.9/lib/mysql2/client.rb:119:in `query' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `block in execute' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract_adapter.rb:590:in `block in log' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.6/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract_adapter.rb:583:in `log' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `execute' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/mysql/database_statements.rb:31:in `execute' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:507:in `add_index' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:846:in `block in method_missing' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:815:in `block in say_with_time' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:815:in `say_with_time' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:835:in `method_missing' /opt/openproject/db/migrate/000_aggregated_migrations.rb:354:in `run_aggregated_migrations' /opt/openproject/db/migrate/000_aggregated_migrations.rb:241:in `up' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:792:in `exec_migration' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:773:in `block (2 levels) in migrate' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:772:in `block in migrate' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:398:in `with_connection' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:771:in `migrate' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:951:in `migrate' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1232:in `block in execute_migration_in_transaction' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1302:in `ddl_transaction' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1231:in `execute_migration_in_transaction' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1203:in `block in migrate_without_lock' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1202:in `each' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1202:in `migrate_without_lock' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1150:in `block in migrate' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1319:in `with_advisory_lock' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1150:in `migrate' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1006:in `up' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:984:in `migrate' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/tasks/database_tasks.rb:163:in `migrate' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/railties/databases.rake:58:in `block (2 levels) in <top (required)>' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/rake-12.1.0/exe/rake:27:in `<top (required)>' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:74:in `load' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:74:in `kernel_load' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:27:in `run' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli.rb:360:in `exec' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli.rb:20:in `dispatch' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli.rb:10:in `start' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/exe/bundle:30:in `block in <top (required)>' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/exe/bundle:22:in `<top (required)>' /opt/openproject/bin/bundle:3:in `load' /opt/openproject/bin/bundle:3:in `<main>' Mysql2::Error: Specified key was too long; max key length is 767 bytes /opt/openproject/vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.9/lib/mysql2/client.rb:120:in `_query' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.9/lib/mysql2/client.rb:120:in `block in query' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.9/lib/mysql2/client.rb:119:in `handle_interrupt' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.9/lib/mysql2/client.rb:119:in `query' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `block in execute' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract_adapter.rb:590:in `block in log' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.6/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract_adapter.rb:583:in `log' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `execute' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/mysql/database_statements.rb:31:in `execute' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:507:in `add_index' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:846:in `block in method_missing' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:815:in `block in say_with_time' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:815:in `say_with_time' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:835:in `method_missing' /opt/openproject/db/migrate/000_aggregated_migrations.rb:354:in `run_aggregated_migrations' /opt/openproject/db/migrate/000_aggregated_migrations.rb:241:in `up' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:792:in `exec_migration' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:773:in `block (2 levels) in migrate' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:772:in `block in migrate' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:398:in `with_connection' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:771:in `migrate' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:951:in `migrate' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1232:in `block in execute_migration_in_transaction' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1302:in `ddl_transaction' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1231:in `execute_migration_in_transaction' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1203:in `block in migrate_without_lock' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1202:in `each' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1202:in `migrate_without_lock' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1150:in `block in migrate' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1319:in `with_advisory_lock' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1150:in `migrate' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:1006:in `up' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/migration.rb:984:in `migrate' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/tasks/database_tasks.rb:163:in `migrate' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.6/lib/active_record/railties/databases.rake:58:in `block (2 levels) in <top (required)>' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/rake-12.1.0/exe/rake:27:in `<top (required)>' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:74:in `load' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:74:in `kernel_load' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:27:in `run' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli.rb:360:in `exec' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli.rb:20:in `dispatch' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli.rb:10:in `start' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/exe/bundle:30:in `block in <top (required)>' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /opt/openproject/vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/exe/bundle:22:in `<top (required)>' /opt/openproject/bin/bundle:3:in `load' /opt/openproject/bin/bundle:3:in `<main>' Tasks: TOP => db:migrate (See full trace by running task with --trace)
System: Debian9
Datenbank: MariaDB
Ich habe zu dem Fehler leider nichts finden können. Könnt ihr mir helfen?
Danke. Gruß Daniel
Replies (1)
Hallo Daniel,
hatte ich auch, du musst die Datenbank in utf8 anlegen:
CREATE DATABASE openproject CHARACTER SET utf8;
dann klappte es bei mir.