After doing upgrade, I was getting following exception when going into to facet search configuration from back office as action operation was not defined -
NFO [BackofficeLO-14] [Slf4jAuditableActionHandler] session user changed
WARN [hybrisHTTP6] [Action] could not find action definition for code [de.hybris.platform.solrfacetsearchbackoffice.action.indexeroperations]
WARN [hybrisHTTP6] [Action] could not find action definition for code [de.hybris.platform.solrfacetsearchbackoffice.action.indexerhotupdate]
WARN [hybrisHTTP6] [Action] could not find action definition for code [de.hybris.platform.solrfacetsearchbackoffice.action.indexeroperations]
WARN [hybrisHTTP6] [Action] could not find action definition for code [de.hybris.platform.solrfacetsearchbackoffice.action.indexerhotupdate]
... 208 more
INFO [BackofficeLO-3] [Slf4jAuditableActionHandler] session user changed
ERROR [hybrisHTTP26] [BackofficeSolrFieldSearchFacadeStrategy] Facet search has failed
de.hybris.platform.solrfacetsearch.search.FacetSearchException: de.hybris.platform.servicelayer.exceptions.UnknownIdentifierException: Active index not found: {indexedType=SolrIndexedTypeModel (8796093057183@2), active=true, facetSearchConfig=SolrFacetSearchConfigModel (8796093057176@1)}
at de.hybris.platform.solrfacetsearch.search.impl.DefaultFacetSearchStrategy.search(DefaultFacetSearchStrategy.java:173) ~[solrfacetsearchserver.jar:?]
at de.hybris.platform.solrfacetsearch.search.impl.DefaultFacetSearchService.search(DefaultFacetSearchService.java:82) ~[solrfacetsearchserver.jar:?]
at de.hybris.platform.solrfacetsearch.search.impl.DefaultFacetSearchService.search(DefaultFacetSearchService.java:71) ~[solrfacetsearchserver.jar:?]
at com.hybris.backoffice.solrsearch.dataaccess.facades.BackofficeSolrFieldSearchFacadeStrategy$BackofficeSolrSearchPageable.getResults(BackofficeSolrFieldSearchFacadeStrategy.java:118) ~[?:?]
at com.hybris.backoffice.search.dataaccess.facades.AbstractBackofficeSearchPageable.getCurrentNotEmptyPage(AbstractBackofficeSearchPageable.java:68) ~[classes/:?]
Solution Proposed -> when we are upgrading the Ccv2 deployment hybris version to the commerce 2211 version - we mostly copy the custom and config folder in the new setup custom goes to /bin directory and config folder goes to /hybris directory, now basicaly what we miss is in config folder we have solr folder, which was created based on previous version example 2005, it contain old solr .xmlf file and configuration, hence when you get the new commerce suite, first unzip it do the ootb setup, and only copy the localextension.xml and properties file from existing workspace to new upgraded workspace.
followed by - ant clean all & hybrisserver.bat for windows machine
No comments:
Post a Comment