<?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: Postgresql not starting after moving alf_data in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/postgresql-not-starting-after-moving-alf-data/m-p/296262#M249392</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I did this but now I am not able to search in share. It is saying 0 result(s) found in repository&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Apr 2014 14:17:36 GMT</pubDate>
    <dc:creator>samnaction</dc:creator>
    <dc:date>2014-04-02T14:17:36Z</dc:date>
    <item>
      <title>Postgresql not starting after moving alf_data</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/postgresql-not-starting-after-moving-alf-data/m-p/296259#M249389</link>
      <description>I am on a windows environment, and installed comm 4.2.e from the installer. I am trying to move alf_data to the &lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt; drive.&amp;nbsp; when I do, Postgres service does not start.&amp;nbsp; I see a postgres folder in alf_data, I assume that's the DB files.&amp;nbsp; Where do I change this for postgres to start.</description>
      <pubDate>Wed, 29 Jan 2014 21:29:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/postgresql-not-starting-after-moving-alf-data/m-p/296259#M249389</guid>
      <dc:creator>mangar</dc:creator>
      <dc:date>2014-01-29T21:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Postgresql not starting after moving alf_data</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/postgresql-not-starting-after-moving-alf-data/m-p/296260#M249390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;there should be a postgresql.conf in the postgresql folders where you may have to adapt path configurations when you move stuff around. I do not know if the installer sets up a specific tablespace (I never use the installer), but that may complicate matters as tablespace path information is contained in the meta database and can only be changed after getting the core service working properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 10:29:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/postgresql-not-starting-after-moving-alf-data/m-p/296260#M249390</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2014-01-30T10:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Postgresql not starting after moving alf_data</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/postgresql-not-starting-after-moving-alf-data/m-p/296261#M249391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;the postgresql.conf wont work as postgresql is a service in windows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After much gnashing of teeth.. here are the instructions for moving alf_data from a windows install.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After a clean startup…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. shutdown Alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. shutdown Postgresql&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Create new location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. move every directory from /Alfresco/alf_data (EXCEPT keystore!!! I cannot stress this enough)&amp;nbsp; to new location&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. regedit HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services&amp;nbsp; alfresco postgress.&amp;nbsp; change ImgPath -D parameter to point to the new location&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. start Postgresql, should be no errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. edit /tomcat/shared/classes/alfresco_global.properties dir.root should be the new location - also set the dir.keystore= (line 66) to the orriginal path&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7. edit the new location's /alf_data/solr/workspace-SpacesStore/conf/solrcore.properties&amp;nbsp; to the new location&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;8. edit the new location's /alf_data/solr/archive-SpacesStore/conf/solrcore.properties to the new location&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;9. edit /tomcat/conf/Catalina/localhost/solr.xml to the new location&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;10. restart alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if you get an error at the end about SOLR Model Diff you need to rebuild the indexes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To Rebuild the indexes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Stop Alfresco &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Remove index directory of the archive core at alf_data/solr/archive/SpacesStore &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Remove index directory of the workspace core at alf_data/solr/workspace/SpacesStore &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Remove cached model info directory of the archive core at alf_data/solr/archive-SpacesStore/alfrescoModels &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. Remove cached model info directory of the workspace core at alf_data/solr/workspace-SpacesStore/alfrescoModels &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. Start Alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps someone.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 15:54:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/postgresql-not-starting-after-moving-alf-data/m-p/296261#M249391</guid>
      <dc:creator>mangar</dc:creator>
      <dc:date>2014-02-06T15:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Postgresql not starting after moving alf_data</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/postgresql-not-starting-after-moving-alf-data/m-p/296262#M249392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I did this but now I am not able to search in share. It is saying 0 result(s) found in repository&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 14:17:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/postgresql-not-starting-after-moving-alf-data/m-p/296262#M249392</guid>
      <dc:creator>samnaction</dc:creator>
      <dc:date>2014-04-02T14:17:36Z</dc:date>
    </item>
  </channel>
</rss>

