legacy-knowledge-base
公開されました Jul. 2, 2025

ステージング履歴は数日後に削除されました

written-by

Katlyn Lee

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

問題

  • 数日後、サイト管理 > 公開 > ステージングにある履歴リストから、過去のステージング公開記録が消えます。

Environment

  • DXP 7.2、DXP 7.1、DXP 7.0

解決策

  • デフォルトでは、Liferay は最新の 50 のステージング レコードを保持するように構成されています。これには、公開 > ステージング ページ内で完了していないプロセスが含まれます (つまり、サイト管理 > コンテンツ & データ > Web コンテンツ > ステージングおよび公開の変更に移動する)。
  • この設定をオーバーライドするには、portlet-ext.properties ファイルを [Liferay_Home]/tomcat-9.0.17/webapps/ROOT/WEB-INF/classes に配置し、次のプロパティを設定します。
include-and-override=portlet-ext.properties

#
# Set the interval of the clean up process which will delete the draft export
# import configurations. Interval is specified in hours.
#
draft.export.import.configuration.check.interval=36

#
# Sets the number of draft export import configurations to keep by the clean up
# process. By default, it will keep the latest 50 draft export import
# configurations. Set this property to -1 to keep everything. Set this property
# to 0 to delete everything.
#
draft.export.import.configuration.clean.up.count=50
did-this-article-resolve-your-issue

legacy-knowledge-base