Alfresco CE 5.2.G Solr4 Model tracking failed

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Active Member

Alfresco CE 5.2.G Solr4 Model tracking failed

Hello everyone, 

I did an upgrade from alfresco version 4.2.f to alfresco version 5.2.g community edition.

Everything works like charm other than an exception that is repeated in the logs:

----

org.alfresco.solr.TrackerStateException: 04070105 The trackers work was rolled back by another tracker error at org.alfresco.solr.SolrInformationServer.canUpdate(SolrInformationServer.java:3238) at org.alfresco.solr.SolrInformationServer.commit(SolrInformationServer.java:773) at org.alfresco.solr.tracker.ContentTracker.doTrack(ContentTracker.java:111) at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:190) at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:54) at org.quartz.core.JobRunShell.run(JobRunShell.java:216) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)  

-----------------

-----------------

And this :

----

org.alfresco.error.AlfrescoRuntimeException: 04070108 GetModelsDiff return status is 403 at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1181) at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.java:256) at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:214) at org.alfresco.solr.tracker.ModelTracker.ensureFirstModelSync(ModelTracker.java:236) at org.alfresco.solr.component.EnsureModelsComponent.prepare(EnsureModelsComponent.java:87) at org.apache.solr.handler.component.AlfrescoSearchHandler.handleRequestBody(AlfrescoSearchHandler.java:292) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135) at org.alfresco.solr.Cloud.getResponse(Cloud.java:165) at org.alfresco.solr.Cloud.getSolrDocumentList(Cloud.java:149) at org.alfresco.solr.SolrInformationServer.getDocsWithUncleanContent(SolrInformationServer.java:722) at org.alfresco.solr.tracker.ContentTracker.doTrack(ContentTracker.java:81) at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:190) at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:54) at org.quartz.core.JobRunShell.run(JobRunShell.java:216) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)

----solr-exception.png

 

Any help would be appreciated

Kind regards.

3 Replies
Highlighted
Alfresco Employee

Re: Alfresco CE 5.2.G Solr4 Model tracking failed

403 means forbidden.

The new Alfresco Repository is configured to use mTLS (SSL) communication between Alfresco and SOLR, but SOLR is using plain HTTP. You need to review this configuration to use the same settings in both Alfresco and SOLR.

Software Engineer in Alfresco Search Team.
Highlighted
Active Member

Re: Alfresco CE 5.2.G Solr4 Model tracking failed

Hello,

Thank you for your reply.

  1. To disable secure communications, in solrcore.properties (workspace + share), I set : alfresco.secureComms = none
  2. in  alfresco-global.properties I have this config:
    ### Solr indexing ###
    index.subsystem.name=solr4
    dir.keystore=${dir.root}/keystore
    solr.host=localhost
    solr.port=80
    solr.secureComms=none
    #solr.port.ssl=443

But now I have new problems:

as.png

 

 

Highlighted
Active Member

Re: Alfresco CE 5.2.G Solr4 Model tracking failed