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

アップグレード後にコンテンツが表示されない

Written By

István Gergely-Tárnoki

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 の新しいバージョンへのアップグレード) 後、ページ/Web コンテンツ/テンプレートが表示されません
  • 新しいページを作成すると、データベースに作成されますが、UI には表示されません。

環境

  • Liferay Portal 6.2+
  • Liferay DXP 7.0+

解決

  • 経験則として、ポータルの一部が表示されない場合 (以前に作成した Web コンテンツの記事が見つからない場合等)、影響を受けるコンテンツの再インデックスを実行すると、アップグレード後のインデックス作成の失敗の問題が解決されることが多いです。
  • また、DXPではポータルプロパティ index.on.startup=false がデフォルトで設定されているため、初回起動時を含め、起動時にデータの再インデックスは行われません。
  • # Set this to true if you want to index your entire library of files on
    # startup. This property is available so that automated test environments
    # index on startup. Do not set this to true on production systems or else
    # your index will be indexed on every startup.
    #
    # Env: LIFERAY_INDEX_PERIOD_ON_PERIOD_STARTUP
    #
    index.on.startup=false
  • ただし、プロパティが値 trueで設定されている場合、すべてのコンテンツがインデックス化され、最初の起動時にすぐに表示されます。
  • ただし、プロパティの説明から以下の点にご注意ください。

Do not set this to true on production systems or else your index will be indexed on every startup.

この設定は慎重に適用してください。

追加情報

Did this article resolve your issue ?

Legacy Knowledge Base