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

Still need help?

The Atlassian Community is here for you.

Ask the community

 

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

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.

*Except Fisheye and Crucible

Problem

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.

Diagnosis

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.

Cause

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

Workaround

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:

Related Content

 

Last modified on Nov 2, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.