AnsweredAssumed Answered

Streaming replication to replicate the database

Question asked by amaremo on May 30, 2016
Latest reply on May 31, 2016 by afaust
Hi,

I have configured streaming replication of postgresql database between two alfresco servers, replication is working fine but
before backinup i had to delete the contents of /alfresco/alf_data/postgresql contents so that i can replicate from other server using pg_basebackup
post replication i'm getting solr tracking failed error is this due to the deletion of contents which i have done before replication??

Is there any particular way which needs to be followed for getting this replication successful

Most of my posts go unnoticed here :/  no one have got solution for this? it would be great if some one has a solution for this


Thanks in advance


Error below————————————————————————————

2016-05-30 17:34:15,015 ERROR [org.alfresco.solr.tracker.AbstractTracker] Tracking failed
org.alfresco.error.AlfrescoRuntimeException: 04300059 api/solr/aclchangesets return status:404
        at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:159)
        at org.alfresco.solr.tracker.AclTracker.checkRepoAndIndexConsistency(AclTracker.java:347)
        at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:313)
        at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:104)
        at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:153)
        at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
2016-05-30 17:34:15,036 ERROR [org.alfresco.solr.tracker.AbstractTracker] Tracking failed
org.alfresco.error.AlfrescoRuntimeException: 04300060 GetModelsDiff return status is 404
        at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1091)
        at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.java:249)
        at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:207)
        at org.alfresco.solr.tracker.ModelTracker.doTrack(ModelTracker.java:167)
        at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:153)
        at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)

Outcomes