Unable to search users in admin portal
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.
Issue
- Re-indexing has been ongoing for quite some time, and certain users are not being searched in the admin portal or control panel section.
Resolution
- If the above issue arises in a cluster DXP node with an Elasticseach server, execute the following procedures. Please keep the Elasticsearch configuration identical across all nodes in the cluster setup.
- Review elastic search logs and check for the
shard failure
- The cluster health by running the below command and check that if the server is returning yellow status :
curl -X GET "localhost:9200/_cluster/health"
-
Steps should be followed only during non-business hours
1. Stop all the Liferay nodes
2. Stop the Elasticsearch node
3. Start the Elasticsearch node
4. Start the Liferay nodes one by one
Check the backgroundTaskId and lockId following this documentation and delete accordingly - Stuck-reindex-How-to-check-the-progress-of-a-reindex-process-and-remove-blocked-BackgroundTask-and-Lock-records
- Now, if the concern is only with the user, try executing the re-index only for
com.liferay.portal.kernel.model.User. It should resolve this behavior.
Did this article resolve your issue ?