legacy-knowledge-base
公開されました Sep. 10, 2025

AdvancedFileSystemStoreのdocument_libraryを持つポータルを新規インストールすると、画像が表示されない

written-by

Gustavo Vasconcelos

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • AdvancedFileSystemStore を使用して、既存のデータベースとドキュメントライブラリフォルダを持つ新しいポータルを移行、アップグレード、またはインストールすると、画像とドキュメントにアクセスできなくなります。

Environment

  • Liferay DXP(バージョン不問)

解決策

  • 新しいポータルをインストールし、document_library を新しい data/document_library フォルダにコピーした後、そのフォルダが AdvancedFileSystemStore ストレージタイプを使用していた場合、 AdvancedFileSystemStore モジュールを有効にしてデフォルト SimpleFileSystemStoreと置換する必要があります。
  • AdvancedFileSystemStore を起動するには、次のことが必要です:
    • dl.store.impl=com.liferay.portal.store.file.system.AdvancedFileSystemStore のプロパティを portal-ext.properties ファイルに追加します。
    • コントロールパネル > システム設定 > ファイルストレージ > アドバンスドファイルシステムストアにアクセスします;
    • Root Directory を、必要に応じて document_library フォルダの場所に変更し、設定を保存します;
  • 重要:デフォルトのRoot Folderが正しい場合でも、 AdvancedFileSystemStore モジュールを有効にするために、設定を保存する必要があります。 というメッセージが表示されたら

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base