<?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: Alfresco Search (SOLR6) does not work in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-search-solr6-does-not-work/m-p/81373#M25091</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First time I've started the SOLR using the following command (to initialise the cores):&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;./solr/bin/solr start -a "-Djavax.net.ssl.keyStoreType=JCEKS -Djavax.net.ssl.trustStoreType=JCEKS -Dsolr.ssl.checkPeerName=false -Dcreate.alfresco.defaults=alfresco,archive"&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;But I found out in the logs that the path to keystore was not trusted so, after I've deleted the folders alfresco and archive from &amp;lt;SOLR_HOME&amp;gt;/solrhome folder, I've re-run the command adding the "-Dsolr.allow.unsafe.resourceloading=true" option (which I see is also what the link you send me recommends) but with the same results (still get the errors in alfresco and solr logs).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Sep 2019 15:04:50 GMT</pubDate>
    <dc:creator>marius_dumitrac</dc:creator>
    <dc:date>2019-09-09T15:04:50Z</dc:date>
    <item>
      <title>Alfresco Search (SOLR6) does not work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-search-solr6-does-not-work/m-p/81371#M25089</link>
      <description>Hi guys,I've installed Alfresco 6.1 with SOLR6 and the connection between Alfresco and SOLR does not work.I have the following configuration (everything on the same machine): CentOS 7, PostgreSQL 11, Tomcat 8 and NGINX.I've followed the setup guide and generated the certificates for SOLR and Alfresc</description>
      <pubDate>Mon, 09 Sep 2019 13:06:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-search-solr6-does-not-work/m-p/81371#M25089</guid>
      <dc:creator>marius_dumitrac</dc:creator>
      <dc:date>2019-09-09T13:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Search (SOLR6) does not work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-search-solr6-does-not-work/m-p/81372#M25090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How did you started SOLR?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like some JVM parameters are missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look at &lt;A class="link-titled" href="https://github.com/Alfresco/SearchServices/tree/master/search-services#start-alfresco-search-services-from-source" title="https://github.com/Alfresco/SearchServices/tree/master/search-services#start-alfresco-search-services-from-source" rel="nofollow noopener noreferrer"&gt;SearchServices/search-services at master · Alfresco/SearchServices · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2019 13:40:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-search-solr6-does-not-work/m-p/81372#M25090</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2019-09-09T13:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Search (SOLR6) does not work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-search-solr6-does-not-work/m-p/81373#M25091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First time I've started the SOLR using the following command (to initialise the cores):&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;./solr/bin/solr start -a "-Djavax.net.ssl.keyStoreType=JCEKS -Djavax.net.ssl.trustStoreType=JCEKS -Dsolr.ssl.checkPeerName=false -Dcreate.alfresco.defaults=alfresco,archive"&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;But I found out in the logs that the path to keystore was not trusted so, after I've deleted the folders alfresco and archive from &amp;lt;SOLR_HOME&amp;gt;/solrhome folder, I've re-run the command adding the "-Dsolr.allow.unsafe.resourceloading=true" option (which I see is also what the link you send me recommends) but with the same results (still get the errors in alfresco and solr logs).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2019 15:04:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-search-solr6-does-not-work/m-p/81373#M25091</guid>
      <dc:creator>marius_dumitrac</dc:creator>
      <dc:date>2019-09-09T15:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Search (SOLR6) does not work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-search-solr6-does-not-work/m-p/81374#M25092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like SOLR truststore does not contain Alfresco certificate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you copy the right file to /opt/search/solrhome/keystore/ssl.repo.client.truststore?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2019 17:11:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-search-solr6-does-not-work/m-p/81374#M25092</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2019-09-09T17:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Search (SOLR6) does not work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-search-solr6-does-not-work/m-p/81375#M25093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've checked and all the files from the folder where I've run the tool to generate the certificates are copied in the respective folders. That is:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&amp;lt;SOLR_HOME&amp;gt;/solrhome/templates/rerank/conf contains the following files:&lt;UL&gt;&lt;LI&gt;ssl.repo.client.keystore&lt;/LI&gt;&lt;LI&gt;ssl.repo.client.truststore&lt;/LI&gt;&lt;LI&gt;ssl-keystore-passwords.properties&lt;/LI&gt;&lt;LI&gt;ssl.truststore-passwords.properties&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&amp;lt;SOLR_HOME&amp;gt;/&lt;SPAN&gt;solrhome/keystore:&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;ssl.repo.client.keystore&lt;/LI&gt;&lt;LI&gt;ssl.repo.client.truststore&lt;/LI&gt;&lt;LI&gt;ssl-keystore-passwords.properties&lt;/LI&gt;&lt;LI&gt;ssl.truststore-passwords.properties&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The above files where copied in the location for the &amp;lt;SSL_TOOL&amp;gt;/keystores/solr&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&amp;lt;ALFRESCO_HOME&amp;gt;/alf_data/keystore:&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;keystore&lt;/LI&gt;&lt;LI&gt;keystore-passwords.properties&lt;/LI&gt;&lt;LI&gt;ssl-keystore-passwords.properties&lt;/LI&gt;&lt;LI&gt;ssl-truststore-passwords.properties&lt;/LI&gt;&lt;LI&gt;ssl.keystore&lt;/LI&gt;&lt;LI&gt;ssl.truststore&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The above files where copied in the location for the &amp;lt;SSL_TOOL&amp;gt;/keystores/alfresco&lt;/P&gt;&lt;P&gt;The command used to generate the certificates was&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: medium;"&gt;./run.sh -alfrescoversion "community" -keysize 2048 -keystorepass "password" -truststorepass “password”&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I've reset the SOLR index (erase the files in &amp;lt;SOLR_HOME&amp;gt;/solrhome/[alfresco|archive]/index, &amp;lt;SOLR_HOME&amp;gt;/solrhome/alfrescoModels and &amp;lt;SOLR_HOME&amp;gt;/contentstore and set index.recovery.mode=FULL in alfresco-global.properties) but the result remains the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other ideas on what can I do (apart from rebuild the certificates) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2019 13:34:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-search-solr6-does-not-work/m-p/81375#M25093</guid>
      <dc:creator>marius_dumitrac</dc:creator>
      <dc:date>2019-09-10T13:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Search (SOLR6) does not work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-search-solr6-does-not-work/m-p/81376#M25094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Step 1 is wrong, if you had your cores created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the cores are created, configuration is not copied from &amp;lt;SOLR_HOME&amp;gt;/solrhome/templates/rerank/conf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to add the keystore and truststore files to every core configuration folder:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* &amp;lt;SOLR_HOME&amp;gt;/solrhome/alfresco/conf&lt;/P&gt;&lt;P&gt;* &amp;lt;SOLR_HOME&amp;gt;/solrhome/archive/conf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2019 14:23:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-search-solr6-does-not-work/m-p/81376#M25094</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2019-09-10T14:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Search (SOLR6) does not work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-search-solr6-does-not-work/m-p/81377#M25095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've created a sample project with your configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Available at &lt;A class="link-titled" href="https://github.com/aborroy/alfresco-mtls-sample-docker" title="https://github.com/aborroy/alfresco-mtls-sample-docker" rel="nofollow noopener noreferrer"&gt;GitHub - aborroy/alfresco-mtls-sample-docker: Sample for MTLs with Alfresco Docker Compose&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2019 14:49:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-search-solr6-does-not-work/m-p/81377#M25095</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2019-09-10T14:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Search (SOLR6) does not work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-search-solr6-does-not-work/m-p/81378#M25096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Found the problem. It was on the alfresco-global.properies file. More exactly, by mistake the Solr settings were:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;solr.secureComms=https&lt;/P&gt;&lt;P&gt;index.subsystem.name=solr6&lt;BR /&gt;solr.port=8983&lt;BR /&gt;solr.host=nginx&lt;BR /&gt;solr.base.url=/solr&lt;BR /&gt;solr.port.ssl=8984&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;But the solr was started onn port 8983, thus the "&amp;nbsp;Connection refused&amp;nbsp;" error.&lt;/P&gt;&lt;P&gt;I've put ssl port to 8983 and restart both tomcat and solr annd everything works now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Agel for support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2019 13:52:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-search-solr6-does-not-work/m-p/81378#M25096</guid>
      <dc:creator>marius_dumitrac</dc:creator>
      <dc:date>2019-09-11T13:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Search (SOLR6) does not work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-search-solr6-does-not-work/m-p/81379#M25097</link>
      <description>&lt;P&gt;Its actually not your fault. The documentation at :&amp;nbsp;&lt;A href="https://docs.alfresco.com/search-enterprise/tasks/keys-setup.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/search-enterprise/tasks/keys-setup.html&lt;/A&gt;&amp;nbsp;says you put &lt;SPAN&gt;solr.port.ssl=8984. Thats actually not correct unless you change your solr.in.sh accordingly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 00:51:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-search-solr6-does-not-work/m-p/81379#M25097</guid>
      <dc:creator>gb123alf2</dc:creator>
      <dc:date>2020-06-19T00:51:58Z</dc:date>
    </item>
  </channel>
</rss>

