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
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
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:
Sadly the prescribed fix did not work in my case or I did something wrong.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you try with
yum install -y fontconfig
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Interesting. What previous Confluence version have you used before upgrading to 6.13.9?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.