Trying to reinstall Afresco 6.2 ga with ansible scrpt
https://github.com/jpotts/ansible-alfresco
I'm facing a problem never experieced before, correlated with SOLR6 communication malfuncion (I belive)
I have configured both Alfresco and Solr NOT to use SSL (as before ...), so there SHOULD not be any certificate problem.
Syntoms I'm facing:
- Serach : no result for any terms
- My Documents dashboard : Error loading items
I digged the error logs from alfrsco and solr, but I cannot find an hint on where to try to fix it
Here the full logs
https://github.com/Giuliano69/ansible-alfresco/blob/master/catalina.out
https://github.com/Giuliano69/ansible-alfresco/blob/master/solr.log
It seems that solr and alfresco are not comunicatin anymore, but ansible script did not change (!!)
The solr log keep looping on two "Tracking failed"
The alfresco log, kep looping on "Wrapped exception , and "Failed to execute search"
quick error list in alfresco log
2021-02-08 21:23:11,186 ERROR [extensions.webscripts.AbstractRuntime] [http-nio-8080-exec-1] Exception from executeScript: 01080002 Wrapped Exception (with status template): 01080020 Failed to execute s
cript 'classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js': 01080019 Failed to execute search: +@cm\:modified:[2021\-2\-1T00\:00\:00.000 TO 2021\-2\-8T23\:59\
:59.999] +@cm\:modifier:"admin" +TYPE:"cm:content" -TYPE:"cm:systemfolder" -TYPE:"fm:forums" -TYPE:"fm:forum" -TYPE:"fm:topic" -TYPE:"fm:post" +(TYPE:"content" OR TYPE:"app:filelink" OR TYPE:"folder")
org.springframework.extensions.webscripts.WebScriptException: 01080002 Wrapped Exception (with status template): 01080020 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/s
lingshot/documentlibrary/doclist.get.js': 01080019 Failed to execute search: +@cm\:modified:[2021\-2\-1T00\:00\:00.000 TO 2021\-2\-8T23\:59\:59.999] +@cm\:modifier:"admin" +TYPE:"cm:content" -TYPE:"cm:s
ystemfolder" -TYPE:"fm:forums" -TYPE:"fm:forum" -TYPE:"fm:topic" -TYPE:"fm:post" +(TYPE:"content" OR TYPE:"app:filelink" OR TYPE:"folder")
..
Caused by: org.alfresco.scripts.ScriptException: 01080020 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js': 01080019 Failed to exe
cute search: +@cm\:modified:[2021\-2\-1T00\:00\:00.000 TO 2021\-2\-8T23\:59\:59.999] +@cm\:modifier:"admin" +TYPE:"cm:content" -TYPE:"cm:systemfolder" -TYPE:"fm:forums" -TYPE:"fm:forum" -TYPE:"fm:topic"
-TYPE:"fm:post" +(TYPE:"content" OR TYPE:"app:filelink" OR TYPE:"folder")
...
Caused by: org.alfresco.error.AlfrescoRuntimeException: 01080019 Failed to execute search: +@cm\:modified:[2021\-2\-1T00\:00\:00.000 TO 2021\-2\-8T23\:59\:59.999] +@cm\:modifier:"admin" +TYPE:"cm:conten
t" -TYPE:"cm:systemfolder" -TYPE:"fm:forums" -TYPE:"fm:forum" -TYPE:"fm:topic" -TYPE:"fm:post" +(TYPE:"content" OR TYPE:"app:filelink" OR TYPE:"folder")
at org.alfresco.repo.jscript.Search.queryResultMeta(Search.java:1127)
...
Caused by: org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 01080018 Request failed 500 /solr/alfresco/alfresco?wt=json&fl=DBID%2Cscore&rows=50&df=TEXT&start=0&locale=en_US&alternativeDic
=DEFAULT_DICTIONARY&sort=%40cm%3Amodified+desc&fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON
quick errol list in solr log: there are continuos errors like
2021-02-08 20:24:10.012 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@69eb86b4_Worker-38) [ ] o.a.s.t.AbstractTracker Tracking failed for AclTracker - archive
java.net.UnknownHostException: alfdev1.metaversant.com
...
2021-02-08 20:24:10.035 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@69eb86b4_Worker-21) [ ] o.a.s.t.AbstractTracker Tracking failed for ModelTracker - archive
java.net.UnknownHostException: alfdev1.metaversant.com
..
2021-02-08 20:24:18.220 ERROR (qtp592983282-13) [ x:alfresco] o.a.s.h.RequestHandlerBase org.alfresco.service.namespace.NamespaceException: Namespace prefix cm is not mapped to a namespace URI
at org.alfresco.service.namespace.QName.createQName(QName.java:109)
...
2021-02-08 20:24:18.222 ERROR (qtp592983282-13) [ x:alfresco] o.a.s.s.HttpSolrCall null:org.alfresco.service.namespace.NamespaceException: Namespace prefix cm is not mapped to a namespace URI
at org.alfresco.service.namespace.QName.createQName(QName.java:109)
I also cheched the config files, but both programs seems not to use SSL:
/opt/alfresco/tomcat/shared/classes/alfresco-global.properties
### Solr indexing in alfresco.global.properties###
index.subsystem.name=solr6
dir.keystore=${dir.root}/keystore
solr.host=192.168.0.80
solr.protocol=http
solr.secureComms=none
solr.port=8983
solr.baseUrl=/solr/opt/alfresco/alfresco-search-services/solrhome/conf/shared.properties
# Shared Properties file
#Host details an external client would use to connect to Solr
solr.host=localhost
#If not set then solr.port will be the jetty.port
#solr.port=8983
solr.baseurl=/solr
solr.content.dir=/opt/alfresco/alf_data/solr6
Have you experimented a similar behaviour ?
Any hint on how ti fix or to investigate ?