<?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 Moving dir.root (alf_data) and Solr in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/moving-dir-root-alf-data-and-solr/m-p/249916#M203046</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Running Alfresco 4.0.0 on an EC2 instance and running out of disk space made me decide to move alf_data to a EBS-volume. I followed the instructions stated in:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/EC2#Using_EBS_Volumes" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/EC2#Using_EBS_Volumes&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However those instructions will only work if you run MySql and Lucene. When running PostgreSQL the dir.root gets hardcoded into two shell scripts:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If running PostgreSQL and Lucene I guess changing the path to dir.root in the following scripts in addition to alfresco-global.properties will be enough:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;$ALF_HOME/postgresql/bin/setenv.sh&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;$ALF_HOME/postgresql/script/ctl.sh&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However if using Solr (installed by alfresco installer) it was rather tricky to find all references to dir.root, below is my list:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- For every store in Alfresco there will be a "alf_data/solr/&amp;lt;store-name&amp;gt;-SpacesStore/solrcore.properties, where the old path to dir.root is hardcoded. Change to the new location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- In $ALF_HOME/tomcat/conf/server.xml you will have to change the hardcoded paths in the ssl-connector solr uses.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- In $ALF_HOME/tomcat/conf/Catalina/localhost/solr.xml there is also a hardcoded path that needs to be changed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After this I had to delete the solr-indexes ie removed the following folders (one per store):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; - alf_data/solr/archive&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; - alf_data/solr/workspace&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After starting Alfresco (finally) went back to normal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/Erik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Jun 2012 08:40:56 GMT</pubDate>
    <dc:creator>billerby</dc:creator>
    <dc:date>2012-06-01T08:40:56Z</dc:date>
    <item>
      <title>Moving dir.root (alf_data) and Solr</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/moving-dir-root-alf-data-and-solr/m-p/249916#M203046</link>
      <description>Running Alfresco 4.0.0 on an EC2 instance and running out of disk space made me decide to move alf_data to a EBS-volume. I followed the instructions stated in:http://wiki.alfresco.com/wiki/EC2#Using_EBS_VolumesHowever those instructions will only work if you run MySql and Lucene. When running Postgr</description>
      <pubDate>Fri, 01 Jun 2012 08:40:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/moving-dir-root-alf-data-and-solr/m-p/249916#M203046</guid>
      <dc:creator>billerby</dc:creator>
      <dc:date>2012-06-01T08:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Moving dir.root (alf_data) and Solr</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/moving-dir-root-alf-data-and-solr/m-p/249917#M203047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've found a similar situation where after using the installer I wanted to move the only the contentstore, not the full alf_data. I modified dir.contentstore and dir.contentstore.deleted in alfresco-global.properties. The directories where created on the new destination but Alfresco was still accessing to the old location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do not why. Here theoretically should not be involved postgresql and solr neither.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2012 17:44:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/moving-dir-root-alf-data-and-solr/m-p/249917#M203047</guid>
      <dc:creator>rmacian</dc:creator>
      <dc:date>2012-10-09T17:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Moving dir.root (alf_data) and Solr</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/moving-dir-root-alf-data-and-solr/m-p/249918#M203048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you found the solution for moving content store. I am getting error when moving contentstore to network location. But if I move content store to another drive then I have no problem. I need to move to network location any help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 14:26:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/moving-dir-root-alf-data-and-solr/m-p/249918#M203048</guid>
      <dc:creator>samnaction</dc:creator>
      <dc:date>2014-04-02T14:26:31Z</dc:date>
    </item>
  </channel>
</rss>

