Not able to recover files in alfresco deleted via CMIS sync

290 views
Skip to first unread message

Divyam Srivastava

unread,
Apr 9, 2015, 9:29:10 PM4/9/15
to cmis...@googlegroups.com
Hi,

The site files got mistakenly deleted from the folder in desktop in CMIS sync and hence from alfresco repo.

We are not able to recover these files from the trashcan. It fails with the below errors.

Please suggest how to recover the files deleted via CMIS sync


022 Unable to restore archive node: archive://SpacesStore/c9c6ddb8-5cc0-42a7-9886-cdac17df1c1a
org.springframework.extensions.webscripts.WebScriptException: 03080022 Unable to restore archive node: archive://SpacesStore/c9c6ddb8-5cc0-42a7-9886-cdac17df1c1a
at org.alfresco.repo.web.scripts.archive.ArchivedNodePut.executeImpl(ArchivedNodePut.java:84)
at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:64)
at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:470)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:454)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:532)
at org.alfresco.repo.web.scripts.RepositoryContainer$4.doWork(RepositoryContainer.java:608)
at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:612)
at org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java:380)
at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:261)
at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:378)
at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2441)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2430)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Regards,
Divyam

Nicolas Raoul

unread,
Apr 9, 2015, 9:58:08 PM4/9/15
to cmis...@googlegroups.com
Hello Divyam,

Sorry to hear about that!

CmisSync is synchronization software, so deleting on the client will indeed automatically delete on the server, that's what it is designed for.

If you want to make sure accidental modification never happens, we suggest using an Alfresco user who only has read rights on the data.
Of course, having backups is also essential, CmisSync or not.

If you have no backups, then the following seems like the best thing to do:
1) Stop CmisSync
2) Try to recover the files on the client operating system (for instance from the Windows Recycle Bin)
3) Try to recover the files from Alfresco (I guess that is what you tried, though I have never seen the error above
4) Stop Alfresco and try to recover the files using the server operating system's procedure for that, if there is any

By the way, here is the safe way to remove a synchronized folder:
https://github.com/aegif/CmisSync/wiki/Remove-a-synchronized-folder

Best regards,
Nicolas Raoul
CmisSync team
Aegif


--
You received this message because you are subscribed to the Google Groups "CmisSync" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cmissync+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages