Symptom
When the non-admin user triggers the Solr Index job, the indexer does not work, despite providing all necessary operational access for the user. The error message shows in the Backoffice:
Check in the backend / OpenSearch, will find the same error message as below:
Indexing failed06.04.2025 09:48:55: ERROR: Caught throwable Cannot find user with uid 'admin' de.hybris.platform.servicelayer.exceptions.UnknownIdentifierException: Cannot find user with uid 'admin' at de.hybris.platform.servicelayer.user.impl.DefaultUserService.getUserForUID(DefaultUserService.java:112) at de.hybris.platform.solrfacetsearch.indexer.strategies.impl.AbstractIndexerStrategy.resolvePks(AbstractIndexerStrategy.java:325) at de.hybris.platform.solrfacetsearch.indexer.strategies.impl.AbstractIndexerStrategy.doExecute(AbstractIndexerStrategy.java:153) at de.hybris.platform.solrfacetsearch.indexer.strategies.impl.AbstractIndexerStrategy.execute(AbstractIndexerStrategy.java:119) at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexerService.performFullIndex(DefaultIndexerService.java:61) at de.hybris.platform.solrfacetsearch.indexer.cron.SolrIndexerJob.indexItems(SolrIndexerJob.java:71) at de.hybris.platform.solrfacetsearch.indexer.cron.SolrIndexerJob.performIndexingJob(SolrIndexerJob.java:50) at de.hybris.platform.solrfacetsearch.indexer.cron.AbstractIndexerJob.perform(AbstractIndexerJob.java:33) ... |
** Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.**
Read more...
Environment
- SAP Commerce
- SAP Commerce Cloud
Product
Keywords
Indexer queries, Indexed Types, Backoffice, full index, employeegroup, administrator, anonymous, HideSystemPrincipals, search restrictions, getUserForUID , KBA , CEC-SCC-COM-SRC-SER , Search and Navigation , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.