Bitbucket Server Fails to Startup with MySQL 5.6.x

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

The following exception is reported when starting up Bitbucket Server:

"Migration failed for change set liquibase/r1_3/m01.xml::BSERVDEV-1023-10::bturner:

    Reason: liquibase.exception.DatabaseException: Error executing SQL 
CREATE INDEX 'idx_sta_diff_comment_anchors' ON 
'bitbucketdb'.'bitbucket_diff_comment_anchor'('to_hash', 'file_path', 
'from_hash'): Specified key was too long; max key length is 767 bytes:"

原因

This has been identified as a new MySQL 5.6.x bug. Atlassian is tracking this bug here. Feel free to watch it for all related updates.

ソリューション

Due to the new bug identified, development is unfortunately not in a position to support this particular version of MySQL. Please consider using MySQL 5.5 or any other supported databases. You may continue using embedded HSQLDB, if using Bitbucket Server for evaluation purposes.
最終更新日 2018 年 11 月 2 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.