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

再インデックスまでユーザは表示されない

Written By

József Géczi

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.

問題

管理者として、クリーンなDXPバンドルを立ち上げると、コントロールパネルでユーザーが利用できない。

再現手順です:
1) バニラDXPを起動します。 起動時に「Test Test」のように、少なくとも1つの(admin)ユーザが利用可能であることを確認してください。
2) このユーザーで admin としてログインする
3) Product Menu/Control Panel/Users/Users and Organizations のセクションで、既存のユーザーを確認する。

現在の動作です:
現在の(ログインしていない)管理者ユーザーを含め、リストアップされたユーザーがいない。

期待すること
ステップ3)で、インデックスを作成する前に、すべてのユーザーをリストアップすることを期待します。

環境

  • Liferay DXP 7.0
  • Liferay DXP 7.1
  • Liferay DXP 7.2

解決策

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 が設定されている場合、ユーザーはインデックスが作成され、最初の起動時に表示されます。

ただし、プロパティの説明から次の点に注意してください。

本番システムでは、これをtrueに設定しないでください。そうしないと、起動時にインデックスが作成されます。

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

Did this article resolve your issue ?

Legacy Knowledge Base