Jira サーバーのガジェットやデータベース監視グラフにおけるフォント表示の問題

お困りですか?

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

コミュニティに質問


プラットフォームについて: 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 は除く

問題

The symptoms could be one or more of the following:

  1. When viewing gadgets and database monitoring graphs,  fonts appear incorrect or garbled as depicted below:
  2. Errors visible from the UI when accessing the Database monitoring page:

    An error occurred whilst rendering this message. Please contact the administrators, and inform them of this bug. Details: ------- org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getGraphs' in class com.atlassian.jira.plugins.monitor.database.MonitorDatabase




診断

環境

  • Linux ベースの環境

Diagnostic Steps

  • The Health check page marks the Health Check: Fonts warning.
    (info) There have been cases where this is not shown and the error in the UI is still visible.
  • The following errors are shown in the atlassian-jira.log:

    2023-03-06 00:00:00,000+0000 http-nio-XXXX-exec-XX ERROR User SSID ---- IP_ADDR /secure/admin/monitor_database.jspa [c.atlassian.velocity.DefaultVelocityManager] MethodInvocationException occurred getting message body from Velocity: java.lang.NoClassDefFoundError: Could not initialize class org.rrd4j.graph.RrdGraphConstants java.lang.NoClassDefFoundError: Could not initialize class org.rrd4j.graph.RrdGraphConstants at org.rrd4j.graph.RrdGraphDef.<init>(RrdGraphDef.java:80) at com.atlassian.jira.plugins.monitor.database.MonitorDatabase.createGraphDefinition(MonitorDatabase.java:116)
  • コマンド ラインで fc-cache を実行し、利用可能なフォントの一覧を表示します。Java はオペレーティング システムで提供されるフォントに依存します。 

原因

  1. この予期せぬ挙動はフォントの不足によって発生します。 
  2. The Atlassian Troubleshooting and Support Tools (ATST) plugin is not up to date.

解決状況

ソリューション 1

Install additional fonts and reboot the system. Refer to Health Check: Fonts on how to do so. On RedHat based system you can issue the below command which is the equivalent of yum groupinstall fonts

yum install cjkuni-uming-fonts.noarch dejavu-fonts-common.noarch dejavu-sans-fonts.noarch dejavu-sans-mono-fonts.noarch dejavu-serif-fonts.noarch fontconfig.x86_64 fontpackages-filesystem.noarch gnu-free-fonts-common.noarch gnu-free-mono-fonts.noarch gnu-free-sans-fonts.noarch gnu-free-serif-fonts.noarch google-crosextra-caladea-fonts.noarch google-crosextra-carlito-fonts.noarch jomolhari-fonts.noarch khmeros-base-fonts.noarch khmeros-fonts-common.noarch libXfont.x86_64 liberation-fonts-common.noarch liberation-mono-fonts.noarch liberation-sans-fonts.noarch liberation-serif-fonts.noarch libfontenc.x86_64 lklug-fonts.noarch lohit-assamese-fonts.noarch lohit-bengali-fonts.noarch lohit-devanagari-fonts.noarch lohit-gujarati-fonts.noarch lohit-kannada-fonts.noarch lohit-malayalam-fonts.noarch lohit-marathi-fonts.noarch lohit-nepali-fonts.noarch lohit-oriya-fonts.noarch lohit-punjabi-fonts.noarch lohit-tamil-fonts.noarch lohit-telugu-fonts.noarch lyx-fonts.noarch madan-fonts.noarch nhn-nanum-fonts-common.noarch nhn-nanum-gothic-fonts.noarch open-sans-fonts.noarch overpass-fonts.noarch paktype-naskh-basic-fonts.noarch paratype-pt-sans-fonts.noarch sil-abyssinica-fonts.noarch sil-nuosu-fonts.noarch sil-padauk-fonts.noarch smc-fonts-common.noarch smc-meera-fonts.noarch stix-fonts.noarch thai-scalable-fonts-common.noarch thai-scalable-waree-fonts.noarch ucs-miscfixed-fonts.noarch urw-fonts.noarch vlgothic-fonts.noarch wqy-microhei-fonts.noarch wqy-zenhei-fonts.noarch xorg-x11-font-utils.x86_64


ソリューション 2

Update the Atlassian Troubleshooting and Support Tools (ATST) plugin to the latest version available




最終更新日 2023 年 11 月 9 日

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

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