Issue Summary
It is possible to enable the PSD preview by adding a parameter as per this KB article, however this doesn't work for Confluence Data Center, after adding the parameter the PSD preview is not generated and an error is thrown in the logs instead
ForkJoinPool.commonPool-worker-11] [plugins.conversion.impl.FileSystemConversionState] markAsError Creating error file: /Users/confluence/Documents/conf78shared/dcl-document/211/110/360461/3047425_2.err
com.atlassian.confluence.util.sandbox.SandboxCrashedException: Sandbox has crashed while serving the request
Steps to Reproduce
- Install Confluence 7.4.4 DC
- Add system parameter to enable PSD preview as per this KB article,
- Restart Confluence
- Upload PSD to a page
- No preview is generated
Expected Results
A preview should be generated for the PSD file
Actual Results
No preview is generated for the PSD file and an error is thrown
Workaround
The only workaround that makes the PSD preview work in Confluence at this moment:
- Disable the sandbox in Confluence DC. This option is not recommended.
Steps to disable it:
- Shutdown Confluence node(s)
- On each node, edit the setenv.sh (Linux), setenv.bat (Windows) or the service properties and add the following line in the CATALINA_OPTS properties:
CATALINA_OPTS="-Ddocument.conversion.sandbox.disable=true -Dconfluence.document.conversion.imaging.enabled.psd=true ${CATALINA_OPTS}"
- Save the file and restart Confluence nodes.