cancel
Showing results for 
Search instead for 
Did you mean: 

Backup and Restore Alfresco Community 6.2

josales
Champ on-the-rise
Champ on-the-rise

Hello. I'm new in Alfresco and I needing some help with Backup and Restore.

I'm deploying the Alfresco Community 6.2 using the Alfresco Docker Image through docker-compose method and I tried to backup using "Volumes" (like this project instruct: https://github.com/Alfresco/alfresco-docker-installer) and all worked good, but after I added LDAP to my alfresco-global.properties the solr6 showed some errors like "GetModelsDiff return status is 404".

Could someone tell me how to make a functional restore? I want to keep the sites, docs, customs design, but deploy new functionalities.

2020-12-18 12:01:23.900 ERROR (searcherExecutor-8-thread-1-processing-x:archive) [   x:archive] o.a.s.t.AbstractTracker Model tracking failed for core: archive
solr6_1                  | org.alfresco.error.AlfrescoRuntimeException: 11180000 archive GetModelsDiff return status is 404
solr6_1                  | at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1194)
solr6_1                  | at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.java:291)
solr6_1                  | at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:249)
solr6_1                  | at org.alfresco.solr.tracker.ModelTracker.ensureFirstModelSync(ModelTracker.java:271)
solr6_1                  | at org.alfresco.solr.lifecycle.SolrCoreLoadRegistration.registerForCore(SolrCoreLoadRegistration.java:107)
solr6_1                  | at org.alfresco.solr.lifecycle.SolrCoreLoadListener.newSearcher(SolrCoreLoadListener.java:44)
solr6_1                  | at org.apache.solr.core.SolrCore.lambda$getSearcher$15(SolrCore.java:2249)
solr6_1                  | at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
solr6_1                  | at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
solr6_1                  | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
solr6_1                  | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
solr6_1                  | at java.base/java.lang.Thread.run(Thread.java:834)
solr6_1                  | 2020-12-18 12:01:30.160 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@6e28bb87_Worker-2) [   ] o.a.s.t.AbstractTracker Tracking failed for AclTracker - alfresco
solr6_1                  | org.alfresco.error.AlfrescoRuntimeException: 11180002 api/solr/aclchangesets return status:404
solr6_1                  | at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:170)
solr6_1                  | at org.alfresco.solr.tracker.AclTracker.checkRepoAndIndexConsistency(AclTracker.java:338)
solr6_1                  | at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:303)
solr6_1                  | at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:95)
solr6_1                  | at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:217)
solr6_1                  | at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
solr6_1                  | at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
solr6_1                  | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
solr6_1                  | 2020-12-18 12:01:30.158 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@6e28bb87_Worker-3) [   ] o.a.s.t.AbstractTracker Tracking failed for AclTracker - archive
solr6_1                  | org.alfresco.error.AlfrescoRuntimeException: 11180001 api/solr/aclchangesets return status:404
solr6_1                  | at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:170)
solr6_1                  | at org.alfresco.solr.tracker.AclTracker.checkRepoAndIndexConsistency(AclTracker.java:338)
solr6_1                  | at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:303)
solr6_1                  | at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:95)
solr6_1                  | at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:217)
solr6_1                  | at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
solr6_1                  | at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
solr6_1                  | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
solr6_1                  | 2020-12-18 12:01:30.246 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@6e28bb87_Worker-1) [   ] o.a.s.t.AbstractTracker Tracking failed for ModelTracker - archive
solr6_1                  | org.alfresco.error.AlfrescoRuntimeException: 11180003 archive GetModelsDiff return status is 404
solr6_1                  | at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1194)
solr6_1                  | at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.java:291)
solr6_1                  | at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:249)
solr6_1                  | at org.alfresco.solr.tracker.ModelTracker.doTrack(ModelTracker.java:209)
solr6_1                  | at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:217)
solr6_1                  | at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
solr6_1                  | at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
solr6_1                  | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
solr6_1                  | 2020-12-18 12:01:40.041 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@6e28bb87_Worker-13) [   ] o.a.s.t.AbstractTracker Tracking failed for AclTracker - archive
solr6_1                  | org.alfresco.error.AlfrescoRuntimeException: 11180004 api/solr/aclchangesets return status:404
solr6_1                  | at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:170)
solr6_1                  | at org.alfresco.solr.tracker.AclTracker.getSomeAclChangeSets(AclTracker.java:427)
solr6_1                  | at org.alfresco.solr.tracker.AclTracker.trackAclChangeSets(AclTracker.java:655)
solr6_1                  | at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:307)
solr6_1                  | at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:95)
solr6_1                  | at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:217)
solr6_1                  | at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
solr6_1                  | at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
solr6_1                  | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
solr6_1                  | 2020-12-18 12:01:40.153 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@6e28bb87_Worker-22) [   ] o.a.s.t.AbstractTracker Tracking failed for ModelTracker - archive
solr6_1                  | org.alfresco.error.AlfrescoRuntimeException: 11180005 archive GetModelsDiff return status is 404
solr6_1                  | at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1194)
solr6_1                  | at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.java:291)
solr6_1                  | at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:249)
solr6_1                  | at org.alfresco.solr.tracker.ModelTracker.doTrack(ModelTracker.java:209)
solr6_1                  | at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:217)
solr6_1                  | at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
solr6_1                  | at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
solr6_1                  | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
solr6_1                  | 2020-12-18 12:01:40.166 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@6e28bb87_Worker-12) [   ] o.a.s.t.AbstractTracker Tracking failed for AclTracker - alfresco
solr6_1                  | org.alfresco.error.AlfrescoRuntimeException: 11180006 api/solr/aclchangesets return status:404
solr6_1                  | at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:170)
solr6_1                  | at org.alfresco.solr.tracker.AclTracker.getSomeAclChangeSets(AclTracker.java:427)
solr6_1                  | at org.alfresco.solr.tracker.AclTracker.trackAclChangeSets(AclTracker.java:655)
solr6_1                  | at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:307)
solr6_1                  | at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:95)
solr6_1                  | at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:217)
solr6_1                  | at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
solr6_1                  | at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
solr6_1                  | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
solr6_1                  | 2020-12-18 12:01:50.009 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@6e28bb87_Worker-23) [   ] o.a.s.t.AbstractTracker Tracking failed for AclTracker - alfresco
solr6_1                  | org.alfresco.error.AlfrescoRuntimeException: 11180007 api/solr/aclchangesets return status:404
solr6_1                  | at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:170)
solr6_1                  | at org.alfresco.solr.tracker.AclTracker.getSomeAclChangeSets(AclTracker.java:427)
solr6_1                  | at org.alfresco.solr.tracker.AclTracker.trackAclChangeSets(AclTracker.java:655)
solr6_1                  | at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:307)
solr6_1                  | at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:95)
solr6_1                  | at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:217)
solr6_1                  | at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
solr6_1                  | at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
solr6_1                  | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
solr6_1                  | 2020-12-18 12:01:50.050 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@6e28bb87_Worker-24) [   ] o.a.s.t.AbstractTracker Tracking failed for AclTracker - archive
solr6_1                  | org.alfresco.error.AlfrescoRuntimeException: 11180008 api/solr/aclchangesets return status:404
solr6_1                  | at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:170)
solr6_1                  | at org.alfresco.solr.tracker.AclTracker.checkRepoAndIndexConsistency(AclTracker.java:338)
solr6_1                  | at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:303)
solr6_1                  | at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:95)
solr6_1                  | at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:217)
solr6_1                  | at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
solr6_1                  | at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
solr6_1                  | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
solr6_1                  | 2020-12-18 12:01:50.136 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@6e28bb87_Worker-33) [   ] o.a.s.t.AbstractTracker Tracking failed for ModelTracker - archive
solr6_1                  | org.alfresco.error.AlfrescoRuntimeException: 11180009 archive GetModelsDiff return status is 404
solr6_1                  | at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1194)
solr6_1                  | at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.java:291)
solr6_1                  | at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:249)
solr6_1                  | at org.alfresco.solr.tracker.ModelTracker.doTrack(ModelTracker.java:209)
solr6_1                  | at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:217)
solr6_1                  | at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
solr6_1                  | at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
solr6_1                  | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
solr6_1                  | 2020-12-18 12:02:00.046 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@6e28bb87_Worker-35) [   ] o.a.s.t.AbstractTracker Tracking failed for AclTracker - archive
solr6_1                  | org.alfresco.error.AlfrescoRuntimeException: 11180010 api/solr/aclchangesets return status:404
solr6_1                  | at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:170)
solr6_1                  | at org.alfresco.solr.tracker.AclTracker.getSomeAclChangeSets(AclTracker.java:427)
solr6_1                  | at org.alfresco.solr.tracker.AclTracker.trackAclChangeSets(AclTracker.java:655)
solr6_1                  | at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:307)
solr6_1                  | at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:95)
solr6_1                  | at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:217)
solr6_1                  | at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
solr6_1                  | at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
solr6_1                  | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
solr6_1                  | 2020-12-18 12:02:00.064 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@6e28bb87_Worker-34) [   ] o.a.s.t.AbstractTracker Tracking failed for AclTracker - alfresco
solr6_1                  | org.alfresco.error.AlfrescoRuntimeException: 11180011 api/solr/aclchangesets return status:404
solr6_1                  | at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:170)
solr6_1                  | at org.alfresco.solr.tracker.AclTracker.checkRepoAndIndexConsistency(AclTracker.java:338)
solr6_1                  | at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:303)
solr6_1                  | at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:95)
solr6_1                  | at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:217)
solr6_1                  | at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
solr6_1                  | at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
solr6_1                  | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
solr6_1                  | 2020-12-18 12:02:00.143 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@6e28bb87_Worker-10) [   ] o.a.s.t.AbstractTracker Tracking failed for ModelTracker - archive
solr6_1                  | org.alfresco.error.AlfrescoRuntimeException: 11180012 archive GetModelsDiff return status is 404
1 ACCEPTED ANSWER

jpotts
World-Class Innovator
World-Class Innovator

It looks to me like maybe ACS didn't start up properly. Try undoing your LDAP config and restarting.

It's highly unlikely that configuring LDAP did anything to harm your data, but if you think it did, and you haven't made any changes to any content, just restore your database from a snapshot taken just before the LDAP change.

View answer in original post

2 REPLIES 2

jpotts
World-Class Innovator
World-Class Innovator

It looks to me like maybe ACS didn't start up properly. Try undoing your LDAP config and restarting.

It's highly unlikely that configuring LDAP did anything to harm your data, but if you think it did, and you haven't made any changes to any content, just restore your database from a snapshot taken just before the LDAP change.

josales
Champ on-the-rise
Champ on-the-rise

Hello, Jeff, thank you for the reply. You are right, after  I got how to backup all docs of Alfresco Community 6.2 I checked that LDAP had nothing to do with the solr6 error. But now its working. 

To backup Alfresco, I'm using "Volumes", saving the following directories:
alfresco: /usr/local/tomcat/alf_data
postgres: /var/lib/postgresql/data and /var/log/postgresql
solr6: /opt/alfresco-search-services-data