New Users Are Not Being Indexed, But Exist in the Database
written-by
Emma Carr-Gardner
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
Issue
- After upgrading to 7.4, users are not being indexed, but we are able to see them in the database.
- New users are unable to login and are not searchable within the portal.
- Admin is unable to search new users to add them to groups or roles.
Environment
- Liferay DXP 7.4 & Quarterly Releases
Resolution
- Review the
addUser API method your team is using, as this has changed in 7.4. If you are using the addUser API and passing in type = 0, this is creating that user as a guest account (See: Source Code).
did-this-article-resolve-your-issue