Hello, I have an SOS situation i have fought over for last 4 days. Due to data loss.. I am having to restore the repository. I restored the database and the alf_data folder and now alfresco refuses to start with the below error coming up. I even turned on FULL reindexing but it does not get till the point of starting re-indexing. It had authentication chain configured for passthru and I have even tried commented it out. Incidentally the node id refereed to here c56d9d41-38ae-4eea-adc1-d5be838b59b8 is not in the alf_nodes table. Wonder where this is coming from. I need to be able to recover as much as I can.
This data is really critical to restore and bring up the alfresco installation. I will be thankful for any assistance. I have googled and also searched in this forum but dont find a solution.
Thanks, Maruthi
06:15:53,522 DEBUG [linkecm.audit.LinkecmAuditServiceImpl] onBOOTSTRAP 06:15:53,724 User:admin DEBUG [repo.jscript.ScriptLogger] Group:LINK_ADMINISTRATORS 06:15:53,756 User:admin DEBUG [repo.jscript.ScriptLogger] Grou Node:Node Type: {http://www.alfresco.org/model/content/1.0}authorityContainer, Node Aspects: [{http://www.alfresco.org/model/system/1.0}referenceable] 06:16:00,226 Userystem INFO [extensions.webscripts.AbstractRuntimeContainer] Initialised Repository Web Script Container (in 6252.125ms) 06:16:00,227 ERROR [web.context.ContextLoader] Context initialization failed org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: workspace://SpacesStore/c56d9d41-38ae-4eea-adc1-d5be838b59b8 at org.alfresco.repo.node.db.DbNodeServiceImpl.getNodePairNotNull(DbNodeServiceImpl.java:142) at org.alfresco.repo.node.db.DbNodeServiceImpl.hasAspect(DbNodeServiceImpl.java:902) at sun.reflect.GeneratedMethodAccessor236.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.alfresco.repo.tenant.MultiTNodeServiceInterceptor.invoke(MultiTNodeServiceInterceptor.java:104) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy7.hasAspect(Unknown Source) at sun.reflect.GeneratedMethodAccessor236.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:215) at $Proxy8.hasAspect(Unknown Source) at org.alfresco.repo.node.MLPropertyInterceptor.getPivotNodeRef(MLPropertyInterceptor.java:321) at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:161) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:198) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:198) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
At first glance, the error seems to be caused by a customization to your Alfresco repository. (linkecm.audit.LinkecmAuditServiceImpl)
Try disabling this extension (clean alfresco.war without AMPs and no customizations in the extension/ folder) before restarting. This way you should be able to perform a full reindex.
After lot of research..i finally found an elaborate way to recover files from a broken alfresco repository even where indexing fails and alfresco wont come up. It involved writing a custom script. If anyone runs into this problem do contact me on maruthi at leviossa dot com