<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SOLR 6 Tracking failed - Exception from executeScript in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/solr-6-tracking-failed-exception-from-executescript/m-p/144968#M38452</link>
    <description>&lt;P&gt;Thanks afaust for your kind reply.&lt;/P&gt;&lt;P&gt;Unfortunately this seems NOT to be the problem...&amp;nbsp; Following your hint, I tried anyway to write&amp;nbsp; in many "possible" way&amp;nbsp; the addres of alfresco.host, but with the SAME result:&lt;/P&gt;&lt;PRE&gt;#alfresco.host=localhost
#alfresco.host=192.168.0.80
alfresco.host=127.0.0.1&lt;/PRE&gt;&lt;P&gt;The error log keep showing the same problem (there is also a creation/connection problem on port 8009, but this seems not to be correlated)&lt;/P&gt;&lt;P&gt;I cannot understand why the the previous ansible installation DID work.&lt;/P&gt;&lt;P&gt;These are the log files&lt;/P&gt;&lt;P&gt;&lt;A title="catalina.out" href="https://github.com/Giuliano69/ansible-alfresco/blob/master/errorlogs/catalina.out" target="_self" rel="nofollow noopener noreferrer"&gt;https://github.com/Giuliano69/ansible-alfresco/blob/master/errorlogs/catalina.out&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="solr" href="https://github.com/Giuliano69/ansible-alfresco/blob/master/errorlogs/solr.log" target="_self" rel="nofollow noopener noreferrer"&gt;https://github.com/Giuliano69/ansible-alfresco/blob/master/errorlogs/solr.log&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And these are the&amp;nbsp; configuration files:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Giuliano69/ansible-alfresco/blob/master/errorlogs/alfresco-global.properties" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Giuliano69/ansible-alfresco/blob/master/errorlogs/alfresco-global.properties&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Giuliano69/ansible-alfresco/blob/master/errorlogs/shared.properties" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Giuliano69/ansible-alfresco/blob/master/errorlogs/shared.properties&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Giuliano69/ansible-alfresco/blob/master/errorlogs/solrcore.properties" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Giuliano69/ansible-alfresco/blob/master/errorlogs/solrcore.properties&lt;/A&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If the problem is the ip address, in which OTHER files could be the problem ?&lt;/LI&gt;&lt;LI&gt;Do the log files give some other possible causes ?&lt;/LI&gt;&lt;LI&gt;Can the error log depth be augmented, to reach the wrong configuration point ?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Thanks&lt;/STRONG&gt; for your patience and help !&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Giuliano&lt;/P&gt;</description>
    <pubDate>Tue, 09 Feb 2021 21:26:57 GMT</pubDate>
    <dc:creator>Giuliano</dc:creator>
    <dc:date>2021-02-09T21:26:57Z</dc:date>
    <item>
      <title>SOLR 6 Tracking failed - Exception from executeScript</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/solr-6-tracking-failed-exception-from-executescript/m-p/144966#M38450</link>
      <description>&lt;P&gt;Trying to reinstall Afresco 6.2 ga with ansible scrpt&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/jpotts/ansible-alfresco" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/jpotts/ansible-alfresco&lt;/A&gt;&lt;BR /&gt;I'm facing a problem never experieced before, correlated with SOLR6 communication malfuncion (I belive)&lt;BR /&gt;&lt;BR /&gt;I have configured both Alfresco and Solr NOT to use SSL (as before ...), so there SHOULD not be any certificate problem.&lt;/P&gt;&lt;P&gt;Syntoms I'm facing:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Serach : no result for any terms&lt;/LI&gt;&lt;LI&gt;My Documents dashboard : Error loading items&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;I digged the error logs from alfrsco and solr, but I cannot find an hint on where to try to fix it&lt;BR /&gt;Here the full logs&lt;/P&gt;&lt;P&gt;&lt;A title="Alfresco lot" href="https://github.com/Giuliano69/ansible-alfresco/blob/master/catalina.out" target="_self" rel="nofollow noopener noreferrer"&gt;https://github.com/Giuliano69/ansible-alfresco/blob/master/catalina.out&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A title="Solr6 log" href="https://github.com/Giuliano69/ansible-alfresco/blob/master/solr.log" target="_self" rel="nofollow noopener noreferrer"&gt;https://github.com/Giuliano69/ansible-alfresco/blob/master/solr.log&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems that solr and alfresco are not comunicatin anymore, but ansible script did not change (!!)&lt;/P&gt;&lt;P&gt;The solr log keep looping on two "Tracking failed"&lt;/P&gt;&lt;P&gt;The alfresco log, kep looping on "Wrapped exception , and "Failed to execute search"&lt;/P&gt;&lt;P&gt;quick error list in&amp;nbsp; alfresco log&lt;/P&gt;&lt;PRE&gt;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&amp;amp;fl=DBID%2Cscore&amp;amp;rows=50&amp;amp;df=TEXT&amp;amp;start=0&amp;amp;locale=en_US&amp;amp;alternativeDic
=DEFAULT_DICTIONARY&amp;amp;sort=%40cm%3Amodified+desc&amp;amp;fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&amp;amp;fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON&lt;/PRE&gt;&lt;P&gt;quick errol list in solr log:&amp;nbsp; there are continuos errors like&lt;/P&gt;&lt;PRE&gt;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)&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;I also cheched the config files, but both programs seems not to use SSL:&lt;/P&gt;&lt;P&gt;/opt/alfresco/tomcat/shared/classes/alfresco-global.properties&lt;/P&gt;&lt;PRE&gt;### 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&lt;/PRE&gt;&lt;P&gt;/opt/alfresco/alfresco-search-services/solrhome/conf/shared.properties&lt;/P&gt;&lt;PRE&gt;# 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&lt;/PRE&gt;&lt;P&gt;Have you experimented a similar behaviour ?&lt;/P&gt;&lt;P&gt;Any hint on how ti fix or to investigate ?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 20:53:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/solr-6-tracking-failed-exception-from-executescript/m-p/144966#M38450</guid>
      <dc:creator>Giuliano</dc:creator>
      <dc:date>2021-02-08T20:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: SOLR 6 Tracking failed - Exception from executeScript</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/solr-6-tracking-failed-exception-from-executescript/m-p/144967#M38451</link>
      <description>&lt;P&gt;The UnknownHostException is quite self-explanatory: Search Service cannot resolve the host name of your ACS instance configured in solrcore.properties (the only file for which you did not provide config snippets). As a result, Search Service was not able to track the repository, which includes retrieving / downloading the data models, which define namespaces and prefixes. Then, when a search call is made to Search Services, it did not have sufficient information to process the request, e.g. transform prefixed field names (e.g. cm:name) into the full field names, which requires resolution of the prefix "cm" using the models to arrive at the full qualified name.&lt;/P&gt;
&lt;P&gt;You need to check your DNS / host configuration to enable Search Service to resolve whatever alfresco.host value you put in the solrcore.properties&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 08:23:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/solr-6-tracking-failed-exception-from-executescript/m-p/144967#M38451</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2021-02-09T08:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: SOLR 6 Tracking failed - Exception from executeScript</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/solr-6-tracking-failed-exception-from-executescript/m-p/144968#M38452</link>
      <description>&lt;P&gt;Thanks afaust for your kind reply.&lt;/P&gt;&lt;P&gt;Unfortunately this seems NOT to be the problem...&amp;nbsp; Following your hint, I tried anyway to write&amp;nbsp; in many "possible" way&amp;nbsp; the addres of alfresco.host, but with the SAME result:&lt;/P&gt;&lt;PRE&gt;#alfresco.host=localhost
#alfresco.host=192.168.0.80
alfresco.host=127.0.0.1&lt;/PRE&gt;&lt;P&gt;The error log keep showing the same problem (there is also a creation/connection problem on port 8009, but this seems not to be correlated)&lt;/P&gt;&lt;P&gt;I cannot understand why the the previous ansible installation DID work.&lt;/P&gt;&lt;P&gt;These are the log files&lt;/P&gt;&lt;P&gt;&lt;A title="catalina.out" href="https://github.com/Giuliano69/ansible-alfresco/blob/master/errorlogs/catalina.out" target="_self" rel="nofollow noopener noreferrer"&gt;https://github.com/Giuliano69/ansible-alfresco/blob/master/errorlogs/catalina.out&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="solr" href="https://github.com/Giuliano69/ansible-alfresco/blob/master/errorlogs/solr.log" target="_self" rel="nofollow noopener noreferrer"&gt;https://github.com/Giuliano69/ansible-alfresco/blob/master/errorlogs/solr.log&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And these are the&amp;nbsp; configuration files:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Giuliano69/ansible-alfresco/blob/master/errorlogs/alfresco-global.properties" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Giuliano69/ansible-alfresco/blob/master/errorlogs/alfresco-global.properties&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Giuliano69/ansible-alfresco/blob/master/errorlogs/shared.properties" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Giuliano69/ansible-alfresco/blob/master/errorlogs/shared.properties&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Giuliano69/ansible-alfresco/blob/master/errorlogs/solrcore.properties" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Giuliano69/ansible-alfresco/blob/master/errorlogs/solrcore.properties&lt;/A&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If the problem is the ip address, in which OTHER files could be the problem ?&lt;/LI&gt;&lt;LI&gt;Do the log files give some other possible causes ?&lt;/LI&gt;&lt;LI&gt;Can the error log depth be augmented, to reach the wrong configuration point ?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Thanks&lt;/STRONG&gt; for your patience and help !&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Giuliano&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 21:26:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/solr-6-tracking-failed-exception-from-executescript/m-p/144968#M38452</guid>
      <dc:creator>Giuliano</dc:creator>
      <dc:date>2021-02-09T21:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: SOLR 6 Tracking failed - Exception from executeScript</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/solr-6-tracking-failed-exception-from-executescript/m-p/144969#M38453</link>
      <description>&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I was editing solcore.properties in /rerank directory... which make non difference...&lt;/P&gt;&lt;P&gt;I then insert correction in files undre /alfresco and /archive.... but still doesn't work.&lt;/P&gt;&lt;P&gt;What about the *defalut* config line&lt;/P&gt;&lt;PRE&gt;# none, https
alfresco.secureComms=https&lt;/PRE&gt;&lt;P&gt;should it be changed from default (https) to "none" ,&lt;/P&gt;&lt;P&gt;even if&amp;nbsp; /opt/alfresco/tomcat/shared/classes/alfresco-global.properties is *already stating that ?&lt;/P&gt;&lt;PRE&gt;solr.protocol=http
solr.secureComms=none&lt;/PRE&gt;&lt;P&gt;AFTER setting this las properties [alfresco.secureComms=none],&lt;/P&gt;&lt;P&gt;(almost) every&amp;nbsp; error disappeared, and search restarted working again...&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 23:06:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/solr-6-tracking-failed-exception-from-executescript/m-p/144969#M38453</guid>
      <dc:creator>Giuliano</dc:creator>
      <dc:date>2021-02-09T23:06:56Z</dc:date>
    </item>
  </channel>
</rss>

