Fix font healthcheck on Windows server

Introduction

A short article to explain how to fix a font issue on Jira server or Data Center when using a Widows server.

Problem description

  • The fonts health check is failing in Jira and you are running a Windows server.
  • When you open the database monitoring page you see a stack trace starting with:
    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 threw exception
  • This is visible in the application log
    2022-06-14 09:46:00,273+0200 support-zip WARN admin 585x2275x10 86quc2 91.177.113.147:60883,127.0.0.1 /rest/troubleshooting/latest/support-zip/local [c.a.t.healthcheck.concurrent.SupportHealthCheckProcess] Health check 'Fonts' failed with severity 'warning': 'System fonts are not available. Please make sure correct font packages are installed.'

If you run on Linux see the KB article by Atlassian.

Solution

That KB article for Linux mentions a font called dejavu-sans-fonts. Let's install it on Windows:

  1. Donwload the latest version of the font package from https://dejavu-fonts.github.io/
  2. Unzip the zip package
  3. Open the tff directory
  4. Open each font and click install
    You can also select all files and right click. Select install in the context menu. It will install the 22 items.
  5. Restart Jira

Related links

 

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events