Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-58957

Preview macros for PDF and PowerPoint stops working after sometime

      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

      1. Add an Office (or PDF) attachment to a page
      2. Use Powerpoint (ppt) macro to preview the attachment
      3. The attachment will work
      4. Wait overnight
      5. 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

      The preview image is broken.

      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.

      1. Navigate to Manage Apps in Confluence (requires Confluence admin permission)
      2. Filter it by System apps and search for Office Connector Plugin. Click on it to expand.
      3. Click on Modules to expand the list and look for File Cache Cleanup (cleanupTrigger).
      4. 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.

            [CONFSERVER-58957] Preview macros for PDF and PowerPoint stops working after sometime

            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

             

            Deepthi Akula added a comment - 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  

            Is there already a fix in the 7.4 Enterprise release?

            Bernd Lindner added a comment - Is there already a fix in the 7.4 Enterprise release?

            A fix for this issue is available to Server and Data Center customers in Confluence 7.5.0
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            James Whitehead added a comment - A fix for this issue is available to Server and Data Center customers in Confluence 7.5.0 Upgrade now or check out the Release Notes to see what other issues are resolved.

            Minh Tran added a comment -

            A fix for this issue is available to Server and Data Center customers in Confluence 7.3.4
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            Minh Tran added a comment - A fix for this issue is available to Server and Data Center customers in Confluence 7.3.4 Upgrade now or check out the Release Notes to see what other issues are resolved.

            Makisa Appleton added a comment - - edited

            Hi folks, thanks for your comments on this ticket and sorry for the inconvenience this bug causes. This fix will be backported to ensure it is covered in the Confluence 7.4 Enterprise Release.

            /cc wendy64cajim122963735, jeanne.wiegelmann, dcea0ff99821, c4d87a21175a, vladimir.blackmore, df5932cfd1e8

            Thanks
            Makisa | Senior Product Manager, Confluence Server and Data Center

            Makisa Appleton added a comment - - edited Hi folks, thanks for your comments on this ticket and sorry for the inconvenience this bug causes. This fix will be backported to ensure it is covered in the Confluence 7.4 Enterprise Release. /cc wendy64ca ,  jim122963735 , jeanne.wiegelmann , dcea0ff99821 , c4d87a21175a , vladimir.blackmore , df5932cfd1e8 Thanks Makisa | Senior Product Manager, Confluence Server and Data Center

            I see the not-74 label. Is there any reason why this fix shouldn't be in Confluence 7.4 Enterprise Release given that many of us need this fixed in order for us to upgrade to Confluence 7.x?

            Wendy Fergusson added a comment - I see the not-74 label. Is there any reason why this fix shouldn't be in Confluence 7.4 Enterprise Release given that many of us need this fixed in order for us to upgrade to Confluence 7.x?

            Great to see there is a fix for this now - will it be ported back to the 7.4 Enterprise release?

            Wendy Fergusson added a comment - Great to see there is a fix for this now - will it be ported back to the 7.4 Enterprise release?

            This bug affects version 7.3.1 too.

            Administrator TEST added a comment - This bug affects version 7.3.1 too.

            Pls fix this.

            This problem has appeared since version 7.0.0 and has not yet been resolved.

            Владимир Золочевский added a comment - Pls fix this. This problem has appeared since version 7.0.0 and has not yet been resolved.

            Aleksandr Migun added a comment - - edited

            Yeah, we agree on the above too. We have alot of pages migrated from previous versions that use this macro. Editing all of them seems like lots of wasted time.

            Aleksandr Migun added a comment - - edited Yeah, we agree on the above too. We have alot of pages migrated from previous versions that use this macro. Editing all of them seems like lots of wasted time.

              qpham@atlassian.com Quan Pham
              nmukai Nobuyuki Mukai
              Affected customers:
              20 This affects my team
              Watchers:
              50 Start watching this issue

                Created:
                Updated:
                Resolved: