Confluence UI shows garbled or corrupt text on CAPTCHA, macros and/or diagrams due to missing fonts

お困りですか?

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

コミュニティに質問

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

問題

Following a Confluence upgrade running on an older Linux distribution, you might encounter a problem where certain system text in the application will appear to be garbled and look like symbols instead of regular alphanumeric letters.

You will not see any errors in the logs relating to the issue, however, you might see warnings about fonts in general.

This has been observed in the following areas of Confluence

診断

In order to identify whether you are affected by this issue, you will need to answer the below questions:

• Did you upgrade Confluence Server recently to a new version?
• Are you running an older version of a Linux distribution that is behind current release cycle (possibly more than 3+ years old)?

原因

If you answered yes to both of the above questions, you might be missing fonts on the OS level that more recent versions of Confluence depend on to render pages properly. Bug report for reference:  CONFSERVER-54067 - Getting issue details... STATUS

ソリューション

ソリューション 1

Uninstall lyx-fonts package (Lyx/MathML fonts - A collection of Math symbol fonts for lyx)

ソリューション 2

You will need to check and install the following font packages. You can use any package manager you like. For this example, we will be using yum

yum install ghostscript
yum install dejavu-fonts-common
yum install dejavu-sans-fonts
yum install dejavu-sans-mono-fonts
yum install motif

Some versions of ghostscript packages can be affected by security vulnerability CVE-2018-16509 discovered in September 2018.

for more details see

In order for Confluence to pick up the changes, please apply the below steps:

1. Confluence を停止します。
2. Rebuild the font cache by using the following command:

fc-cache -s
3. Clear the Confluence Plugins Cache.
4. Perform a Content Index Rebuild.
5. Confluence を起動します。
6. Clear your browser cache and verify Confluence is presenting the text properly.
7. If you still see garbled text, try rebooting the server, then check again.

説明 Following a Confluence upgrade running on an older Linux distribution, you might encounter a problem where certain system text in the application will appear to be garbled and look like symbols instead of regular alphanumeric letters.You will not see any errors in the logs relating to the issue, however, you might see warnings about fonts in general. Confluence

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

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