Confluence new features are unavailable in Confluence after upgrade to 5.7 and above
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
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:
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:
-Duser.language=en
-Duser.country=EN
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:
-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.