<?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: Has anyone succesfully moved solrhome? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/has-anyone-succesfully-moved-solrhome/m-p/147656#M39077</link>
    <description>&lt;P&gt;Hi Angel - nice presentation, thanks. I particularly like the nmap commands. The mTLS debugging kit looks like it could be really useful, but the whole Maven/Docker thing is just fantastically complicated, and I'm going to have to pass on it. Have you thought about rewriting everything in C++? &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 10 May 2024 15:24:25 GMT</pubDate>
    <dc:creator>atTheBeach</dc:creator>
    <dc:date>2024-05-10T15:24:25Z</dc:date>
    <item>
      <title>Has anyone succesfully moved solrhome?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/has-anyone-succesfully-moved-solrhome/m-p/147653#M39074</link>
      <description>&lt;P&gt;None of the standard Solr methods for moving solrhome (the index directory) appear to work. I'm on alfresco-search-services-2.0.8.1.zip (ie. not Docker/etc), and I've tried various things, listed below. For all these, solr.log reports:&lt;/P&gt;&lt;PRE&gt;o.a.s.c.SolrCore null:org.alfresco.error.AlfrescoRuntimeException: 04090001 Failed to initialize keystore: 
   Location: /opt/alfresco-search-services/solrhome/keystore/ssl-repo-client.keystore&lt;/PRE&gt;&lt;P&gt;However, this is the default solrhome location, and the keystore is now in the &lt;EM&gt;new&lt;/EM&gt; solrhome, which I've set as follows:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Setting all of SOLR_HOME, SOLR_SSL_KEY_STORE, and SOLR_SSL_TRUST_STORE in solr.in.sh doesn't work; the new SOLR_HOME is ignored, and Solr expects the keystore to be in the default location shown in the error message above, and not in the locations set by the new SOLR_SSL_KEY_STORE and SOLR_SSL_TRUST_STORE&lt;/LI&gt;&lt;LI&gt;In the systemd service file which runs Solr I've exported (ie. ENVIRONMENT=) the new SOLR_HOME; this is ignored&lt;/LI&gt;&lt;LI&gt;In the service file I've passed 'solr.solr.home' as an additional option to 'solr/bin/solr' (with -a "-Dsolr.solr.home=/new/path/to/solrhome"); this is also ignored&lt;/LI&gt;&lt;LI&gt;In the service file I've set the new solr.solr.home with the -s option (ie. 'solr/bin/solr start -s /new/path/to/solrhome ...'); this is also ignored&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;In all these cases Solr ignores the new SOLR_HOME, and creates a new default solrhome directory, and then fails to find the keystore in that new directory.&lt;/P&gt;&lt;P&gt;The next step is to directly modify solr/bin/solr to find out what's going on, but this could take some time - does anyone happen to know what the answer is?&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 19:02:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/has-anyone-succesfully-moved-solrhome/m-p/147653#M39074</guid>
      <dc:creator>atTheBeach</dc:creator>
      <dc:date>2024-05-09T19:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone succesfully moved solrhome?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/has-anyone-succesfully-moved-solrhome/m-p/147654#M39075</link>
      <description>&lt;P&gt;Take a look at this: &lt;A href="https://hub.alfresco.com/t5/news-announcements/tech-talk-live-157-slides-and-recording/ba-p/321141" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/news-announcements/tech-talk-live-157-slides-and-recording/ba-p/321141&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;We're doing regular sessions to clarify Community doubts.&lt;/P&gt;
&lt;P&gt;You're modifying Jetty settings, but you need to modify Java settings.&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 13:16:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/has-anyone-succesfully-moved-solrhome/m-p/147654#M39075</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2024-05-10T13:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone succesfully moved solrhome?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/has-anyone-succesfully-moved-solrhome/m-p/147655#M39076</link>
      <description>&lt;P&gt;I figured this out. If you actually move solrhome, rather than letting Solr create it from scratch, there are 3 solrcore.properties files in it which contain hard-wired solrhome locations. If you manually edit these files and fix the locations, Solr will start normally.&lt;/P&gt;&lt;P&gt;Apart from that, setting SOLR_HOME, SOLR_SSL_KEY_STORE, and SOLR_SSL_TRUST_STORE in solr.in.sh is sufficient to do the move.&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 15:15:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/has-anyone-succesfully-moved-solrhome/m-p/147655#M39076</guid>
      <dc:creator>atTheBeach</dc:creator>
      <dc:date>2024-05-10T15:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone succesfully moved solrhome?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/has-anyone-succesfully-moved-solrhome/m-p/147656#M39077</link>
      <description>&lt;P&gt;Hi Angel - nice presentation, thanks. I particularly like the nmap commands. The mTLS debugging kit looks like it could be really useful, but the whole Maven/Docker thing is just fantastically complicated, and I'm going to have to pass on it. Have you thought about rewriting everything in C++? &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 15:24:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/has-anyone-succesfully-moved-solrhome/m-p/147656#M39077</guid>
      <dc:creator>atTheBeach</dc:creator>
      <dc:date>2024-05-10T15:24:25Z</dc:date>
    </item>
  </channel>
</rss>

