Stash Fails to Startup with MySQL 5.6.x

Troubleshooting Databases

このページの内容

お困りですか?

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

コミュニティに質問

症状

The following exception is reported when starting up Stash:

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

    Reason: liquibase.exception.DatabaseException: Error executing SQL 
CREATE INDEX 'idx_sta_diff_comment_anchors' ON 
'stashdb'.'stash_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 Stash for evaluation purposes.
最終更新日 2018 年 11 月 2 日

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

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