Bamboo startup fails when the legacy EBS handling has a null value

お困りですか?

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

コミュニティに質問

症状

Bamboo fails to start. This error is written in the logs:

Elastic Bamboo Error : Null value was assigned to a property of primitive type setter of com.atlassian.bamboo.agent.elastic.server.ElasticImageConfigurationImpl.legacyEbsHandlingEnabled; nested exception is org.hibernate.PropertyAccessException: Null value was assigned to a property of primitive type setter of com.atlassian.bamboo.agent.elastic.server.ElasticImageConfigurationImpl.legacyEbsHandlingEnabled

原因

The root cause of this issue is that the ELASTIC_IMAGE  table has a column LEGACY_EBS_HANDLING which can only accept an integer value. If that column has a null value, Bamboo complains and fails with the error above. You can check this by running the command below:

SELECT * FROM elastic_image WHERE legacy_ebs_handling IS NULL;

ソリューション

  1. Shutdown Bamboo;
  2. Backup the database, for safety;
  3. Run the query below:

    UPDATE elastic_image SET legacy_ebs_handling = 0 WHERE legacy_ebs_handling IS NULL;
  4. Start Bamboo.

 

最終更新日 2015 年 8 月 7 日

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

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