Dear community,
i would like to ask you for your help because i dont know how to solve my problem any further.
We are hosting a confluence via docker with the lates images (currently 7.2.0) . Somehow after the lates update, the preview pictures from office files like docx or pptx. are not beeing rendered correctly anymore.
For example a simple pptx with one slide.
The preview-thumbnail looks like this :
It kinda looks like a chinese symbol , but i think the letters are just mixed together
When you open the detailed view it looks ok:
To solve this problem, i tried the workarounds from here :
and here
So i tried to delete the mentioned folders and installed the mscorefonts. Nothing helped.
There is even no error inside the confluence log regarding fonts or something similar.
Can you help? If you need any more further information, please let me know!
Thank you very much!
Hello,
You could be facing https://jira.atlassian.com/browse/CONFSERVER-59429 bug.
Depending on your Confluence version, could you change your Java to either jdk8u202-b08 or AdoptOpenJDK 11.0.7 +10 following https://confluence.atlassian.com/doc/change-the-java-vendor-or-version-confluence-uses-962342397.html KB?
Thank you. That's it. By using AdoptOpenJDK 11.0.7 +10 this issue is gone.
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.
Hi @Minh Tran ,
where you able to reproduce the behavior?
Does some else maybe know the reason for this or has a clue where to check any further?
René
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@[deleted] Sorry, i was busy the last 2 days with the team project. I am flying tomorrow back to my country for my vacation
When i am there, i can take a look for reproducing your issue in my spare time
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Okay, i restarted confluence and reuploaded a new test pptx. Sadly no change, but here is the test-file :
http://s000.tinyupload.com/index.php?file_id=08892726251295214185
I hope you dont mind that i used that filehoster.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No worries. I will give it a try tomorrow. It is night here
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much, i appreciate that!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@[deleted] I set up docker image with your pptx, i truly can reproduce the problem.
However, i think your problem is pretty similar like this ticket https://jira.atlassian.com/browse/CONFSERVER-57588?_ga=2.228450781.1300032409.1578869033-1327961374.1575025993
Can you see its workaround solution and let me know if that works?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Minh Tran ,
i added
CATALINA_OPTS="-Dconfluence.document.conversion.fontpath=/usr/share/fonts/ -Dconfluence.document.conversion.slides.defaultfontname.regular=IPAGothic -Dconfluence.document.conversion.slides.defaultfontname.asian=IPAGothic -Dconfluence.document.conversion.slides.defaultfontname.symbol=IPAGothic ${CATALINA_OPTS}" CATALINA_OPTS="-Dconfluence.document.conversion.words.defaultfontname=IPAGothic ${CATALINA_OPTS}"
to the setenv.sh and restarted confluence. Sadly it did not help. The Problem seems not font related. If you just upload a empty pptx with just one letter, this letter is displayed correctly. It looks like it is not able to "understand" the empty spaces beetween the words and just ignores them during the creating of the thumbnails.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@[deleted] Can you please tell me what docker image have you used?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI @Minh Tran ,
thank you for your asking. We are using the latest Image. Its the official one from docker / attlassian libary .
Atlassian Confluence 7.2.0
From the yml-file:
image: atlassian/confluence-server:latest
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you please try with this?
apt update && apt 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.
I did this inside the confluence-container :
root@afee0f160d19:/var/atlassian/application-data/confluence# apt update && apt install -y fontconfig
Get:1 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1,344 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [186 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [13.5 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [11.3 MB]
Get:9 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [6,781 B]
Get:10 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [21.8 kB]
Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [35.5 kB]
Get:12 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [777 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [10.8 kB]
Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1,074 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,325 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [2,496 B]
Get:17 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [4,241 B]
Get:18 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [796 kB]
Fetched 17.4 MB in 2s (9,861 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
5 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
fontconfig is already the newest version (2.12.6-0ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
It looks like its allready installed. Do i need to restart confluence?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes please restart Confluence. However, can i have one sample of your pptx? I can try to spin up one instance and see what is really happening
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.