-
Bug
-
Resolution: Fixed
-
Low
-
7.0.2, 7.2.1, 7.3.1
-
18
-
Severity 3 - Minor
-
15
-
Issue Summary
Previewing PDF or Office files via Office macros like PDF macro stops working after sometime
Environment
7.0.1 and above
Steps to Reproduce
- Add an Office (or PDF) attachment to a page
- Use Powerpoint (ppt) macro to preview the attachment
- The attachment will work
- Wait overnight
- Open the page with another browser or open with private browsing mode (not to use browser cache)
Expected Results
Browser displays image of the office file
Actual Results
Notes
The preview image is stored under <confluence-home>/viewfile/temp directory, and apparently scheduledjob.desc.cleanupTrigger job is clearing up the temp directory. This is a scheduled job that runs at 2 AM automatically.
Workaround
Disabling the Scheduled Job scheduledjob.desc.cleanupTrigger may not stop the job from running. This is due to a new bug that disabling a system scheduled job (e.g. cleanupTrigger) continues to run post restart of Confluence:
- CONFSERVER-59501 - Disabling a system scheduled job continues to run post restart of Confluence
In order to properly disable it, we need to disable the Office Connector module related to the cleanupTrigger job.
- Navigate to Manage Apps in Confluence (requires Confluence admin permission)
- Filter it by System apps and search for Office Connector Plugin. Click on it to expand.
- Click on Modules to expand the list and look for File Cache Cleanup (cleanupTrigger).
- Leave the mouse cursor on it and the Disable button will show up. Click on it.
For broken files, it's necessary to reupload in order to recreate them.
Or, utilize the thumbnail feature of Display Files and Images instead of Office macro.
- is duplicated by
-
CONFSERVER-59449 PDF macro stops working after a few days
-
- Closed
-
- Testing discovered
-
CONFSERVER-59501 Disabling a system scheduled job continues to run post restart of Confluence
-
- Gathering Impact
-
Hi ,
we are on Atlassian Confluence 7.8.3, we can view the pdf with no data just headings instead of blank icon or button as before.
Please provide us the solution
Thanks,
Deepthi