PPTX documents fail to render in Confluence 5.6.x and above

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

問題

After upgrading to Confluence 5.6.X or above, PPTX documents attached while on older versions still fail to render.

atlassian-confluence.log: に次のログが記録される。

2015-03-03 10:39:38,688 WARN [http-bio-443-exec-13793] [com.benryan.conversion.PPTSlideServlet] doGet Conversion task timed out for attachment : Test.pptx with page number 0, waited : 300, now executing in background.

診断

環境

  • A Confluence 5.6.X instance that includes PPTX documents that were attached prior to upgrading to Confluence 5.6.X

原因

Confluence versions prior to 5.6.X do not support PPTX, and create a corrupted cached file in <confluence_home>/viewfile

回避策

  • Clear the file preview caches

    1. Confluence を停止します。
    2. In the filesystem go to your <confluence_home> folder
    3. Delete the contents within the following folders (or move the entire folder to another directory)
      1. <confluence_home>/viewfile
      2. <confluence_home>/shared-home/dcl-document/

      3. <confluence_home>/shared-home/dcl-document_hd/

      4. <confluence_home>/shared-home/dcl-thumbnail/

    4. Confluence を起動します。
  • The file preview cache will rebuild, and documents should render as expected

ソリューション

  CONF-32515 - Getting issue details... STATUS is a resolved bug covering this problem. Confluence 5.7 introduced a new File Viewer to Display Files and Images. Upgrade to Confluence 5.7 or higher.

 

 

Last modified on Mar 30, 2016

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.