Hello all,I've upgraded my 4.0.e install to 4.2.b and notice that my dashlets for Content I'm Editing and My Documents are broken and showing errors.Here's what I did (following this:http://yogeshpj.blogspot.ca/2012/04/alfresco-cold-backup-and-restore-using.html)From 4.0.e:Stopped the Tomcat server and did a pg_dump of my alfresco postgresql database to db-backup.backupTar'd my entire alf_data.To 4.2.b:Installed 4.2.e using the binary installer on Ubuntu 12.04x64 server to /opt/alfresco-4.2.bDropped the new alfresco database, created a new alfresco database, and restore db-backup.backup to it.Renamed the new alf_data to alf_data-virgin, and copied/untar'd the original alf_data in as /opt/alfresco-4.2.e/alf_data, except for /opt/alfresco-4.2.b/postgresqlWhen Alfresco Share starts, I can log in as expected using my 4.0.e credentials, but I the following in the Content I'm Editing dashlet:
09290003 Wrapped Exception (with status template): 09290012 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js': 09290011 Failed to execute search: +PATH:"/app:company_home/st:sites//cm:*" +((+@cm\:workingCopyOwner:"Trevor") OR (+@cm\:lockOwner:"Trevor" +@cm\:lockType:"WRITE_LOCK")) +(TYPE:"content" OR TYPE:"app:filelink" OR TYPE:"folder")
09290001 Wrapped Exception (with status template): 09290008 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/dashlets/my-contents.get.js': 09290007 Failed to execute search: +TYPE:"{http://www.alfresco.org/model/content/1.0}content" +PATH:"/app:company_home/st:sites/*/cm:blog/*" -ISNOTNULL:"{http://www.alfresco.org/model/content/1.0}published" +@cm\:creator:"Trevor"
I also noticed that in /opt/ on the new server, along with the alfresco-4.2.b directory, there is an /opt/alfresco-4.0.e directory that only contains alf_data/solr/archive and alf_data/solr/workspaceFrom catalina.out, I see a lot of these:
INFO: Server startup in 69340 ms
2012-10-29 00:26:32,418 ERROR [pdfbox.filter.FlateFilter] [http-bio-8443-exec-3] FlateFilter: stop reading corrupt stream due to a DataFormatException
2012-10-29 00:26:32,431 ERROR [pdfbox.filter.FlateFilter] [http-bio-8443-exec-3] FlateFilter: stop reading corrupt stream due to a DataFormatException
2012-10-29 00:26:32,431 ERROR [pdfbox.filter.FlateFilter] [http-bio-8443-exec-3] FlateFilter: stop reading corrupt stream due to a DataFormatException
2012-10-29 00:26:32,432 ERROR [pdfbox.filter.FlateFilter] [http-bio-8443-exec-3] FlateFilter: stop reading corrupt stream due to a DataFormatException
2012-10-29 00:26:32,432 ERROR [pdfbox.filter.FlateFilter] [http-bio-8443-exec-3] FlateFilter: stop reading corrupt stream due to a DataFormatException
2012-10-29 00:26:32,432 ERROR [pdfbox.filter.FlateFilter] [http-bio-8443-exec-3] FlateFilter: stop reading corrupt stream due to a DataFormatException
2012-10-29 00:26:32,432 ERROR [pdfbox.filter.FlateFilter] [http-bio-8443-exec-3] FlateFilter: stop reading corrupt stream due to a DataFormatException
2012-10-29 00:26:32,432 ERROR [pdfbox.filter.FlateFilter] [http-bio-8443-exec-3] FlateFilter: stop reading corrupt stream due to a DataFormatException
2012-10-29 00:26:32,432 ERROR [pdfbox.filter.FlateFilter] [http-bio-8443-exec-3] FlateFilter: stop reading corrupt stream due to a DataFormatException
2012-10-29 00:26:32,433 ERROR [pdfbox.filter.FlateFilter] [http-bio-8443-exec-3] FlateFilter: stop reading corrupt stream due to a DataFormatException
2012-10-29 00:27:58,125 ERROR [pdfbox.filter.FlateFilter] [http-bio-8443-exec-10] FlateFilter: stop reading corrupt stream due to a DataFormatException
2012-10-29 00:27:58,126 ERROR [pdfbox.filter.FlateFilter] [http-bio-8443-exec-10] FlateFilter: stop reading corrupt stream due to a DataFormatException
2012-10-29 00:27:58,126 ERROR [pdfbox.filter.FlateFilter] [http-bio-8443-exec-10] FlateFilter: stop reading corrupt stream due to a DataFormatException
2012-10-29 00:27:58,127 ERROR [pdfbox.filter.FlateFilter] [http-bio-8443-exec-10] FlateFilter: stop reading corrupt stream due to a DataFormatException
2012-10-29 00:27:58,127 ERROR [pdfbox.filter.FlateFilter] [http-bio-8443-exec-10] FlateFilter: stop reading corrupt stream due to a DataFormatException
2012-10-29 00:27:58,127 ERROR [pdfbox.filter.FlateFilter] [http-bio-8443-exec-10] FlateFilter: stop reading corrupt stream due to a DataFormatException
2012-10-29 00:27:58,127 ERROR [pdfbox.filter.FlateFilter] [http-bio-8443-exec-10] FlateFilter: stop reading corrupt stream due to a DataFormatException
2012-10-29 00:27:58,127 ERROR [pdfbox.filter.FlateFilter] [http-bio-8443-exec-10] FlateFilter: stop reading corrupt stream due to a DataFormatException
2012-10-29 00:27:58,127 ERROR [pdfbox.filter.FlateFilter] [http-bio-8443-exec-10] FlateFilter: stop reading corrupt stream due to a DataFormatException
2012-10-29 00:27:58,127 ERROR [pdfbox.filter.FlateFilter] [http-bio-8443-exec-10] FlateFilter: stop reading corrupt stream due to a DataFormatException
2012-10-29 00:28:12,558 ERROR [pdfbox.filter.FlateFilter] [http-bio-8443-exec-6] FlateFilter: stop reading corrupt stream due to a DataFormatException
2012-10-29 00:28:12,559 ERROR [pdfbox.filter.FlateFilter] [http-bio-8443-exec-6] FlateFilter: stop reading corrupt stream due to a DataFormatException
2012-10-29 00:28:12,559 ERROR [pdfbox.filter.FlateFilter] [http-bio-8443-exec-6] FlateFilter: stop reading corrupt stream due to a DataFormatException
2012-10-29 00:28:12,560 ERROR [pdfbox.filter.FlateFilter] [http-bio-8443-exec-6] FlateFilter: stop reading corrupt stream due to a DataFormatException
2012-10-29 00:28:12,560 ERROR [pdfbox.filter.FlateFilter] [http-bio-8443-exec-6] FlateFilter: stop reading corrupt stream due to a DataFormatException
2012-10-29 00:28:12,560 ERROR [pdfbox.filter.FlateFilter] [http-bio-8443-exec-6] FlateFilter: stop reading corrupt stream due to a DataFormatException
2012-10-29 00:28:12,560 ERROR [pdfbox.filter.FlateFilter] [http-bio-8443-exec-6] FlateFilter: stop reading corrupt stream due to a DataFormatException
2012-10-29 00:28:12,560 ERROR [pdfbox.filter.FlateFilter] [http-bio-8443-exec-6] FlateFilter: stop reading corrupt stream due to a DataFormatException
2012-10-29 00:28:12,560 ERROR [pdfbox.filter.FlateFilter] [http-bio-8443-exec-6] FlateFilter: stop reading corrupt stream due to a DataFormatException
All of the sites from 4.0.e are present, along with their documents, wikis, blogs, etc., but the dashlets are showing the above errors.I've also notice that Search returns 0 results for any search term.Does anyone have some ideas on troubleshooting that they could share?Many thanks in advance,TrevorEDIT: I just re-read catalina.out and found that more errors were produced after I posted this. Here some of what I found:
2012-10-29 00:37:39,122 ERROR [extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-5] Exception from executeScript - redirecting to status template error: 09290002 Wrapped Exception (with status tem$
org.springframework.extensions.webscripts.WebScriptException: 09290002 Wrapped Exception (with status template): 09290059 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/sli$
at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1067)
at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:171)
at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:422)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:433)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:491)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:529)
at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:345)
at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:377)
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:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:1771)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: org.alfresco.scripts.ScriptException: 09290059 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/images.get.js': 09290058 Failed to execute$
at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:202)
at org.alfresco.repo.processor.ScriptServiceImpl.execute(ScriptServiceImpl.java:212)
at org.alfresco.repo.processor.ScriptServiceImpl.executeScript(ScriptServiceImpl.java:174)
at org.alfresco.repo.web.scripts.RepositoryScriptProcessor.executeScript(RepositoryScriptProcessor.java:102)
at org.springframework.extensions.webscripts.AbstractWebScript.executeScript(AbstractWebScript.java:1305)
at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:86)
… 28 more
Caused by: org.alfresco.error.AlfrescoRuntimeException: 09290058 Failed to execute search: +PATH:"/app:company_home/st:sites/cm:{site name removed}/cm:documentLibrary//*" +TYPE:"cm:content" +@cm\:content.$
at org.alfresco.repo.jscript.Search.query(Search.java:823)
at org.alfresco.repo.jscript.Search.query(Search.java:686)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
at org.mozilla.javascript.gen.c6._c16(file:/opt/alfresco-4.2.b/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/images.get.js:874)
at org.mozilla.javascript.gen.c6.call(file:/opt/alfresco-4.2.b/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/images.get.js)
at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
at org.mozilla.javascript.gen.c6._c0(file:/opt/alfresco-4.2.b/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/images.get.js:894)
at org.mozilla.javascript.gen.c6.call(file:/opt/alfresco-4.2.b/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/images.get.js)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
at org.mozilla.javascript.gen.c6.call(file:/opt/alfresco-4.2.b/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/images.get.js)
at org.mozilla.javascript.gen.c6.exec(file:/opt/alfresco-4.2.b/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/images.get.js)
Caused by: org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 09290063 Request failed 500 /solr/alfresco/alfresco?wt=json&fl=DBID%2Cscore&rows=250&df=TEXT&start=0&locale=en_US&sort=%40cm%3Anam$
at org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient.executeQuery(SolrQueryHTTPClient.java:398)
at org.alfresco.repo.search.impl.solr.SolrQueryLanguage.executeQuery(SolrQueryLanguage.java:49)
at org.alfresco.repo.search.impl.solr.SolrSearchService.query(SolrSearchService.java:348)
at org.alfresco.repo.search.SearcherComponent.query(SearcherComponent.java:78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(SubsystemProxyFactory.java:72)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
…and
Oct 29, 2012 12:37:42 AM org.apache.solr.common.SolrException log
SEVERE: java.lang.NullPointerException
at org.alfresco.solr.query.AbstractQParser.getSearchParameters(AbstractQParser.java:119)
at org.alfresco.solr.query.AlfrescoLuceneQParserPlugin$AlfrescoLuceneQParser.parse(AlfrescoLuceneQParserPlugin.java:96)
at org.apache.solr.search.QParser.getQuery(QParser.java:131)
at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:89)
at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:174)
at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316)
at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:338)
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:241)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)