Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Error in Macro Behaviour after Upgrade to Confluence 6.13.9

Florian Seifer January 8, 2020

After Upgrading to a new Confluence Version we noticed several strange changes when Macros where involved:

- When Editing a Page, its Macros have no Description or Parameters shown, except when "Properties" is selected.

- Some Macroboxes are not shown at all in Edit-Mode but are displayed in the normal view-mode, thus the original Macros can not be changed anymore.

- The {Status} Makro for example has no Text rendered to it in Edit-Mode but again is displayed normally in "View"-Mode (See Screenshots at the End)

 

 

Due to the variety of symptoms, and the multitude of possible causes, we are currently at a loss how we should even narrow down a possible explanation.

Every Idea that any of you could offer would be greatly appreciated.

 

With kind regards!
Florian Seifer

 

 

StatusInEditMode.JPGStatusInViewMode.JPG

1 answer

0 votes
Minh Tran
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 8, 2020

Hi @Florian Seifer

Have you seen any exceptions or any errors in the log?

Or can you please create a support ticket at https://getsupport.atlassian.com then our support engineers will help troubleshoot for your case?

Thanks,

Minh

Florian Seifer January 9, 2020

Hello @Minh Tran 

 

Thanks for your quick response.
Concerning the Macros I have not noticed any specific exceptions in the logs. But while researching I stumbled upon a possible issue caused by missing fonts required for newer confluence versions. This has been reported to cause Problems with Macro rendering as well as prohibiting the correct depiction of a Captcha while logging in.

For the CAPTCHA Error I noticed the following exception in the logs:

2020-01-09 09:41:09,966 ERROR [https-jsse-nio2-8443-exec-18] [ContainerBase.[Standalone].[localhost].[/]] log Unhandled exception occurred whilst decorating page
-- referer: https://space-backup.xxxxxxx.de:8443/dologin.action | url: /jcaptcha | traceId: 378633738beb3ca1 | userName: anonymous
com.octo.captcha.CaptchaException: word is too tall: try to use less letters, smaller font or bigger background: text bounds = {text=douders
java.awt.geom.Rectangle2D$Float[x=0.0,y=240.0,w=0.0,h=240.0] ascent=-240.0 descent=240.0 leading=240.0
java.awt.geom.Rectangle2D$Float[x=20.0,y=240.0,w=0.0,h=240.0] ascent=-240.0 descent=240.0 leading=240.0
java.awt.geom.Rectangle2D$Float[x=40.0,y=240.0,w=0.0,h=240.0] ascent=-240.0 descent=240.0 leading=240.0
java.awt.geom.Rectangle2D$Float[x=60.0,y=240.0,w=0.0,h=240.0] ascent=-240.0 descent=240.0 leading=240.0
java.awt.geom.Rectangle2D$Float[x=80.0,y=240.0,w=0.0,h=240.0] ascent=-240.0 descent=240.0 leading=240.0
java.awt.geom.Rectangle2D$Float[x=100.0,y=240.0,w=0.0,h=240.0] ascent=-240.0 descent=240.0 leading=240.0
java.awt.geom.Rectangle2D$Float[x=120.0,y=240.0,w=0.0,h=240.0] ascent=-240.0 descent=240.0 leading=240.0
} with fonts {java.awt.Font[family=Serif,name=Serif,style=italic,size=30]
java.awt.Font[family=Monospaced,name=Monospaced,style=bolditalic,size=33]
java.awt.Font[family=Serif,name=Serif,style=plain,size=33]
java.awt.Font[family=Dialog,name=Dialog,style=bold,size=33]
java.awt.Font[family=Serif,name=Serif,style=plain,size=34]
java.awt.Font[family=Monospaced,name=Monospaced,style=italic,size=31]
java.awt.Font[family=SansSerif,name=SansSerif,style=bold,size=30]
} versus image width = 200, height = 50

 

Which Google also points to the fonts issue as described here:

 

https://confluence.atlassian.com/confkb/confluence-ui-shows-garbled-or-corrupt-text-on-captcha-macros-and-or-diagrams-due-to-missing-fonts-938027858.html?_ga=2.263782796.1025034055.1578295480-199734879.1574945219

 

Sadly the prescribed fix did not work in my case or I did something wrong.

Minh Tran
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 9, 2020

@Florian Seifer I very much suspect you are hitting the font missing in your Linux server?

Can i ask you to install the fontconfig for that?

What Linux distro are you using for your Confluence server?

Florian Seifer January 9, 2020

@Minh Tran 

 

We are using RHEL 7.7.   

And as I already installed the following fonts:

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

cleared the plugin caches and restartet confluence.

Did I miss something?

 

 

One thing I find odd is that I NEVER observed the "garbled" symbols you can see in the image of the KB article: 

Garbled_text.JPG

Minh Tran
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 9, 2020

Can you try with

yum install -y fontconfig
Florian Seifer January 9, 2020
yum install -y fontconfig
Loaded plugins: product-id, search-disabled-repos, subscription-manager
epel/x86_64/metalink | 21 kB 00:00:00
icinga-stable-release | 2.9 kB 00:00:00
Package fontconfig-2.13.0-4.3.el7.x86_64 already installed and latest version
Nothing to do
Minh Tran
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 9, 2020

Interesting. What previous Confluence version have you used before upgrading to 6.13.9?

Florian Seifer January 9, 2020

6.9.3

Minh Tran
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 9, 2020

From your information I don't think this is related font issue. I believe you are hitting a bug in Confluence. Is your license able to create ticket at https://getsupport.atlassian.com then our support engineers will assist you?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events