cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco doesn't index files

tatzi
Champ in-the-making
Champ in-the-making
Hey there,

thank's to this forum I managed to get pretty far and have an almost up-and-running Alfresco Smiley Happy
However, I have a somewhat tiny but severe problem with my installation of Alfresco CE 4.0.d:

We are trying to organize our research with Alfresco and first opted for a very small server, with had to few RAM. However, we managed to transfer it successfully to a new, bigger machine and almost everything runs fine, except Alfresco isn't indexing the newly added files.  I can search and find perfectly the old files, but the new ones aren't found (and I guess indexed) at all.

My alfresco.log is full of these type of error messages:

00:09:01,175 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 02060087 Wrapped Exception (with status template): 02060197 Problem converting to Freemarker
org.springframework.extensions.webscripts.WebScriptException: 02060087 Wrapped Exception (with status template): 02060197 Problem converting to Freemarker
   at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:970)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:171)
   at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:393)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:462)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:500)
   at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:275)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:372)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
   at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:118)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:58)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:662)
Caused by: org.alfresco.error.AlfrescoRuntimeException: 02060197 Problem converting to Freemarker
   at org.alfresco.repo.web.scripts.solr.NodesMetaDataGet$1.handleNodeMetaData(NodesMetaDataGet.java:198)
   at org.alfresco.repo.solr.SOLRTrackingComponentImpl$NodeMetaDataQueryRowHandler.processResult(SOLRTrackingComponentImpl.java:879)
   at org.alfresco.repo.solr.SOLRTrackingComponentImpl.getNodesMetadata(SOLRTrackingComponentImpl.java:735)
   at sun.reflect.GeneratedMethodAccessor448.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(SubsystemProxyFactory.java:65)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
   at $Proxy142.getNodesMetadata(Unknown Source)
   at org.alfresco.repo.web.scripts.solr.NodesMetaDataGet.executeImpl(NodesMetaDataGet.java:181)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.executeImpl(DeclarativeWebScript.java:235)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:64)
   … 25 more
Caused by: org.alfresco.service.namespace.NamespaceException: A namespace prefix is not registered for uri http://www.alfresco.org/model/website/1.0
   at org.alfresco.service.namespace.QName.toPrefixString(QName.java:414)
   at org.alfresco.repo.web.scripts.solr.SOLRSerializer$SOLRTypeConverter$2.convert(SOLRSerializer.java:231)
   at org.alfresco.repo.web.scripts.solr.SOLRSerializer$SOLRTypeConverter$2.convert(SOLRSerializer.java:228)
   at org.alfresco.service.cmr.repository.datatype.TypeConverter.convert(TypeConverter.java:112)
   at org.alfresco.repo.web.scripts.solr.SOLRSerializer.serializeToJSONString(SOLRSerializer.java:108)
   at org.alfresco.repo.web.scripts.solr.SOLRSerializer.serialize(SOLRSerializer.java:170)
   at org.alfresco.repo.web.scripts.solr.NodesMetaDataGet$FreemarkerNodeMetaData.<init>(NodesMetaDataGet.java:294)
   at org.alfresco.repo.web.scripts.solr.NodesMetaDataGet$1.handleNodeMetaData(NodesMetaDataGet.java:193)
   … 37 more

I searched the forum and googled this and different other keywords but didn't find anything at all.
It a pretty much standard Hetzner-Machine on Linux.

Has anyone a tip or encountered a similar issue?
Any kind of help is deeply appreciated.

Thank you very much in advance,

tatzi
4 REPLIES 4

tatzi
Champ in-the-making
Champ in-the-making
It think it may be connected to the issues discussed here: https://forums.alfresco.com/en/viewtopic.php?f=8&t=41274
I'll keep trying and let you know here, if I resolve the issue …

punk
Champ in-the-making
Champ in-the-making
Hi.
I have the same issue, someone has found the reason?

andy
Champ on-the-rise
Champ on-the-rise
Hi

Read the SOLR wiki page and try the FIX option.

If this does not solve the issue then it looks like you have model/data sync issues on the repo.
Perhaps you have missed porting a custom model?

The enterprise versions now handles residual properties and unknown models which can block indexing on the community version.
The FIX option above will sort it - but it will recur unless you fix the underlying issue.

Andy

punk
Champ in-the-making
Champ in-the-making
Hi all.
I've found a workaround to this problem installing the web quick start module, in order to import the missing model.
I never used wqs in my previus 3.4.e version but maybe it was installed.

Bye