Legacy Knowledge Base
公開されました Jul. 2, 2025

Azure Blob Storage

Written By

Ryan Snuggs

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • Liferay DXP 7.3 で Liferay から Azure BLOB ストレージ コンテナーにファイルを保存する方法

Environment

  • Liferay DXP 7.3

解決策

  • ストアの構成

    ストアを構成するには、 システム設定 > ファイル ストレージ > Azure Blob ストレージ に移動し、構成値を入力します。 少なくとも次の値を指定する必要があります。

    • 接続文字列

    • コンテナ名

    これらの値には、Azure ダッシュボードの ストレージ アカウント > アクセス キー および ストレージ アカウント > コンテナー セクションからアクセスできます。

    システム設定の構成が整ったら、Azure Blob Storage ストアを既定として設定する必要があります。 そのためには、 portal-ext.properties ファイルで次のプロパティを設定します。

    dl.store.impl=com.liferay.portal.store.azure.AzureStore

    クラスター環境でストアを使用する

    クラスター化された環境で Azure Blob Storage ストアを使用するには、すべてのノードの構成が同一である必要があります。 特に、portal-ext.properties ファイルとシステム設定の Azure Blob Storage ストア設定が同じであることを確認してください。

    データベースのロールバックの制限

    警告: ドキュメント ライブラリでデータベース トランザクションのロールバックが発生した場合、トランザクションのファイル システムの変更は元に戻されません。 ドキュメントライブラリファイルとファイルシステムストア内のファイルとの間に不整合が発生する可能性があり、手動での同期が必要になる場合があります。 DBStore を除くすべての DXP ストアは、この制限に対して脆弱です。

Did this article resolve your issue ?

Legacy Knowledge Base