Confluence Edit page - macros display strange characters

delmario
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 27, 2017

Since upgrading to Confluence 6.4.1, when edit a page with various types of macros, the text in the macro block are illegible characters that describe the macro.

This is an example of the Table of Contents macro as displayed in the Edit page.

image.png

3 answers

2 accepted

3 votes
Answer accepted
Colin Goudie
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 30, 2017

I ended up having to 

> sudo yum groupinstall fonts

sudo fc-cache -f -v

delmario
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 30, 2017

Awesome, that solved it!  Updating the fonts was the ticket!

Thank you, Colin!!

Andrey Aristarkhov December 19, 2017

Didn't help in my case even after confluence restart/

Pavel Savchenko December 22, 2017

Same for me, did the above mentioned guide + groupinstall fonts, nothing seems to have changed.

TerraTech11 July 29, 2018

Did not work for us either, even after font install, fc-cache, and reboot.  :(

earlramirez July 29, 2018

These steps worked for me

  1. Installed the required fonts

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

  2. Stop Confluence 
    /opt/atlassian/confluence/stop-confluence.sh
  3. Rebuild font cache 
    fc-cache -s
  4. Clear Confluence plugin cache (Confluence home is usually in /var/atlassian/application-data/confluence/, this can vary if the administrator installed it in a different location.

    rm -rf <confluence-home>/bundled-plugins
    rm -rf <confluence-home>/plugins-cache
    rm -rf <confluence-home>/plugins-osgi-cache
    rm -rf <confluence-home>/plugins-temp
    rm -rf <confluence-home>/bundled-plugins_language

  5. Rebuild content indexes.
    As Admin navigate to General Configuration → Administration → Content Indexing and click Rebuild, this will take a few minutes.
  6. Start Confluence 
    /opt/atlassian/confluence/stop-confluence.sh
  7. Confirm that you are able to see the fonts for the macros.
David Puchosic March 19, 2019

Found this helpful for Confluence 6.8.2 on CentOS 7.5. Macros didn't have crazy fonts, but they weren't correct either. This was my solution:

  1. Installed fonts
    $ yum install dejavu-fonts-common dejavu-sans-fonts dejavu-sans-mono-fonts
  2. Updated Font cache
    $ fc-cache /usr/local/share/fonts/
  3. Stopped Confluence
  4. Cleared Plugin cache
    # /var/atlassian/confluence/plugins-cache
    # /var/atlassian/confluence/plugins-osgi-cache
  5. Started Confluence & Cleared Browser History
    (later) Rebuild content indexes
1 vote
Answer accepted
Colin Goudie
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 30, 2017
earlramirez April 7, 2018

This worked for me, thanks.

0 votes
Colin Goudie
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 29, 2017

We're getting this on some sites too. Any ideas?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events