Warning on encoding during Bamboo startup

お困りですか?

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

コミュニティに質問

問題

When Bamboo starts, the following appears in the atlassian-bamboo.log

2020-06-30 06:24:57,773 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] 51210 : Verify file name encoding (bootstrap)
2020-06-30 06:24:57,773 INFO [localhost-startStop-1] [BootstrapUpgradeManagerImpl] ---------------------------------------------
2020-06-30 06:24:57,776 WARN [localhost-startStop-1] [FileNameEncodingIsReasonable] Encoding [Cp1252] used to encode file names is not capable of handling extended character sets. You may encounter failures during artifact transfers.

原因

  1. Windows file encoding Cp1252 used in Bamboo does not work well with extended character sets.
  2. Bamboo started with systemctl service cause the validation task to fail  BAM-20996 - Getting issue details... STATUS

ソリューション

  1. Restart Bamboo with the following JVM options: 

    -Dsun.jnu.encoding=UTF-8
    -Dfile.encoding=UTF-8

    Configuring your system properties

  2. Disable validation task by commenting the following line in the file <bamboo-install>/atlassian-bamboo/WEB-INF/classes/upgrade.xml 

        <!--<upgrade build="51210" build-min="0" build-max="999999"
                 class="com.atlassian.bamboo.upgrade.tasks.validation.FileNameEncodingIsReasonable"/>-->


最終更新日 2020 年 7 月 2 日

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

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