Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Upgrade to Bamboo 6.9 error " Specified key was too long; max key length is 3072 bytes"

The database upgrade process hung and never completed. I did a and tried to start it back up with -fg, and I see these errors -


Caused by: org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL "create index repocommits_changesetid_idx on REPOSITORY_CHANGESET (CHANGESET_ID)" via JDBC Statement
at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlString(
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlStrings(
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applyIndexes(
at org.hibernate.tool.schema.internal.GroupedSchemaMigratorImpl.performTablesMigration(
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performMigration(
at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.doMigration(
at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(
at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(
at com.atlassian.bamboo.hibernate.BambooSchemaHelper.updateSchemaIfNeeded(
... 11 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Specified key was too long; max key length is 3072 bytes


I verified that the MySql database is set for InnoDB and UTF8 character set.


Has anyone encountered this error and how was it solve?


Any help is greatly appreciated.





0 answers

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events