Confluence - Preview of PDF file attachment "There was a problem converting this attachment"
Anyone know what would cause this. I am able to download it - it just will not appear via the PDF macro.
We are on the very latest version of Conflunece.
Hey y'all! I expect we're running into this Confluence bug: https://jira.atlassian.com/browse/CONFSERVER-59038.
This bug affects versions of Confluence 7, prior to 7.2.0 and 7.1.1. To fix this, you can upgrade Confluence to 7.1.1 or 7.2.0. Or to workaround the issue, you can make use of the file previewer macro (Go to Insert > Files on the editor toolbar and select your file).
If this information does not make sense or you're on a fixed version and are still seeing the issue, please reach out to our support teams.
For me, option 2 found here resolved the issue in Confluence 8.5.3
-Ddocument.conversion.sandbox.disable=true
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We have 8.5.12 version in use and after updating Operating System packages, including java-11-openjdk the same preview problem started to happen.
From logs I found
-- url: /plugins/servlet/pptslide | userName: argan | referer: https://<hostname>/display/<spacekey>/<page>?src=contextnavpagetreemode | traceId: dc10d88b6a46ee8e
com.atlassian.confluence.util.sandbox.SandboxException: /usr/lib/jvm/java-11-openjdk-11.0.23.0.9-3.el8.x86_64/bin/java is not an executable
That is from previous java package and doesn't exist anymore. Current Java version on host is 11.0.24.0.8-3.el8.x86_64.
Quick workaround was to create a symlink to path it tried to use java from. Not good solution but works until root cause if found.
cd /usr/lib/jvm/java-11-openjdk-11.0.23.0.9-3.el8.x86_64/
mkdir bin
cd bin
ln -s ../../java-11-openjdk-11.0.24.0.8-3.el8.x86_64/bin/java .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
With Confluence 7.3.0 this issue will be resolved. Please have a look at https://jira.atlassian.com/browse/CONFSERVER-59323
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We didn't have such issues with 7.1.1 but we've got it with 7.3.3. Any suggestions?
2020-03-20 13:32:11,904 ERROR [DefaultSlideCacheManager:thread-1] [com.benryan.components.AbstractConversionCacheManager] finish Error converting page, could not create slide
java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: com.atlassian.plugins.conversion.convert.image.AbstractConverter
Caused by: java.lang.NoClassDesfFoundError: com.atlassian.plugins.conversion.convert.image.AbstractConverter
Update:
Solution for this issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are on 7.4.1 and usually this macro is working. Now I created a PDF with a Chrome add-on (FireShot) of a report page in Jira Upraise in order to show it in Confluence and run in the error as described above
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately we have the same problem with confluence 7.1.1.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same problem here since upgrade to confluence 7.1.1 and 7.1.2
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
same problem since few weeks, with confluence 7.1.0
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same problem here. Has been a confluence expert at our company trying to solve it but did not succeed. Advice was to copy the page, but it worked in the beginning but later when loading the pages the problem came back.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am having the same issue. Happened after a recent security driven update.
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.