Confluence でファイル プレビューのキャッシュをゼロから再構築する方法

お困りですか?

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

コミュニティに質問


プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

目的

Confluence ページでのドキュメントのプレビューのレンダリングで問題が発生している場合はファイル プレビューのキャッシュの再構築を試すことができます。

情報

Confluence は、ファイルがページに添付されたときに、特定のファイル タイプのプレビューを生成します。たとえば、Confluence ページに .docx ファイルを添付し、ページに Office Word マクロを追加してページ上で直接レンダリングできます。別のオプションとして .docx ファイルをエディタに直接ドラッグ アンド ドロップできます。これはデフォルトのファイル プレビュー機能を利用して添付されます。

これらのプレビューは Confluence の home フォルダで生成および保存されます。次のマクロを利用してレンダリングされたすべてのファイルが <confluence_home>/viewfile フォルダ配下に保存されます。

  • Office Excel
  • Office PowerPoint
  • Office Word
  • PDF

And for any files that are dropped directly onto the page, Confluence will generate the attachment previews in the <confluence_home>/shared-home/dcl- folders. If these file previews are outdated, or if you'd like to regenerate these file previews for other reasons, you can follow the steps below.

ソリューション

  • ファイル プレビューのキャッシュをクリアします。

    1. Confluence を停止します。
    2. ファイルシステムで <confluence_home> フォルダに移動します
    3. 次のフォルダのコンテンツを削除します (あるいはフォルダ全体を別のディレクトリに移動)
      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 を起動します。
  • ファイル プレビューのキャッシュが再構築され、ドキュメントが意図したとおりにレンダリングされます

最終更新日: 2024 年 1 月 25 日

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

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