Confluence new features are unavailable in Confluence after upgrade to 5.7 and above
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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
Summary
Problem
After upgrading Confluence to 5.7.x, Confluence new features such as
File Preview
View file as link or thumbnail
are not working. Following plugins are either disabled and it's not possible to enable them, or its dysfunctional:
Confluence Document Conversion Library
Confluence File Notifications
Confluence Files
confluence-view-file-macro is anabled, but does not work.
Diagnosis
The following error log is apparent in atlassian-confluence.log:
1
Caused by: class com.aspose.slides.p6a2feef8.pbdb106a0.i: Culture Name: en-EN is not a supported culture
Cause
The Java parameters was not configured properly. From the above error, it seems like the settings are configured as:
1
2
-Duser.language=en
-Duser.country=EN
Solution
Resolution
Change the following parameters correctly:
-Duser.language=
-Duser.country=
In order to change the locale settings the recommended way is to add the additional arguments user.language
and user.country
to the JVM parameters. The details steps for adding the parameters is explained in this article - Configuring System Properties
An example for setting the locale to Germany is given below:
1
-Duser.language=de -Duser.country=DE
ℹ️ The Internationalization: Understanding Locale in the Java Platform documentation from Oracle contains further information on the different codes to be set for language and country codes.
Was this helpful?