cancel
Showing results for 
Search instead for 
Did you mean: 

Streaming replication to replicate the database

amaremo
Champ in-the-making
Champ in-the-making
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)
1 REPLY 1

afaust
Legendary Innovator
Legendary Innovator
A 404 means that either you did not configure the SOLR correctly or your Alfresco Repository web application is not properly up and running. Either way, the tracking request goes nowhere.
This may not have anything to do with your PostgreSQL streaming replication - at least since there is no output from alfresco.log we can't say either way.

Regards
Axel