Editor goes back to blank page when adding image from the attachments file

お困りですか?

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

コミュニティに質問

 

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

問題

When adding image from the attachment file in a page using the following method:

  • Added image as attachment to page.
  • Adding image to a page by typing '!' and then selecting image from dropdown

Editor will go back to blank page. There is no information or error message in the logs. However, drag and drop image file appears to work fine.

診断

The following appears in the atlassian-confluence.log under System Information :

fileSystemEncoding = en_GB.utf-8

Also in application.xml :

 <file.encoding>en_GB.utf-8</file.encoding>

In Linux :

Run the command su -l -c locale confluence to check the current locale settings in a terminal environment.

原因

Caused by the JVM file.encoding is set to en_GB.utf8.

回避策

Changing JVM encoding to -Dfile.encoding=UTF8 by adding the following JVM parameter by editing the line below before the export CATALINA_OPTS parameter:

CATALINA_OPTS="$CATALINA_OPTS -Dfile.encoding=UTF-8"

Refer to the following documentation for details process to configure filesystem encoding:

関連コンテンツ

 

最終更新日 2018 年 11 月 2 日

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

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