<?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: Question with: the SOLR indexes and repository database do not match in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/question-with-the-solr-indexes-and-repository-database-do-not/m-p/306090#M259220</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Carlos,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Generally, rebuilding the indexes is safe.&amp;nbsp; *While* the index is rebuilding some functionality that depends on search won't work (or may work inconsistently as index updates for some documents are completed while others aren't), the content and metadata themselves aren't primarily stored in the indexes so it'll be safe.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On the other hand, if your alfresco setup (including data) is important, then you should really have a scheduled and TESTED backup and restore procedure.&amp;nbsp; If you don't have that then hardware failure will have you lose your content or metadata and you'll have a hell of a time trying to recover your data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, a backup and restore procedure lets you test things (like full reindexing) on another machine.&amp;nbsp; If your content is important, it's very important to test features/functionality on a test/staging machine. Only apply tested procedures on production once you're happy with results on staging.&amp;nbsp; Sometimes (a recent alfresco upgrade comes to mind), even thorough rehearsal on staging will not work exactly the same way when you perform the same procedure on production and then you might need to fix things in realtime on the production server if you're already halfway through your upgrade.&amp;nbsp; In those cases it's still a good thing to have a backup since, if your upgrade fails halfway and you can't make progress, you can still revert to your old production setup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One thing to note here is that index.recovery.mode=FULL does not have any effect in solr.&amp;nbsp; It's only effective if your index.subsystem.name=lucene.&amp;nbsp; For solr, there's a different procedure for regenerating the indexes from scratch.&amp;nbsp; e.g., &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.alfresco.com/4.0/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Ftasks%2Fsolr-reindex.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/4.0/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Ftasks%2Fsolr-reindex.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(find the appropriate documentation page for your alfresco version).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again.&amp;nbsp; Don't perform fixes on production without first testing on a separate machine. I often test twice or more times just to make sure I've got the procedure down.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gerald&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 May 2013 23:36:20 GMT</pubDate>
    <dc:creator>bopolissimus</dc:creator>
    <dc:date>2013-05-07T23:36:20Z</dc:date>
    <item>
      <title>Question with: the SOLR indexes and repository database do not match</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/question-with-the-solr-indexes-and-repository-database-do-not/m-p/306087#M259217</link>
      <description>Hi everyone, I am a new alfresco user, and my alfresco log is always writing:&amp;lt;break&amp;gt;May 6, 2013 12:00:00 AM org.alfresco.solr.tracker.CoreTracker trackRepositorySEVERE: First transaction was not found with the correct timestamp.May 6, 2013 12:00:00 AM org.alfresco.solr.tracker.CoreTracker trac</description>
      <pubDate>Mon, 06 May 2013 22:12:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/question-with-the-solr-indexes-and-repository-database-do-not/m-p/306087#M259217</guid>
      <dc:creator>carlos_cruz</dc:creator>
      <dc:date>2013-05-06T22:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Question with: the SOLR indexes and repository database do not match</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/question-with-the-solr-indexes-and-repository-database-do-not/m-p/306088#M259218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;First you can try with full indexing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then if it still does not work delete the existing solr indexes as per your steps and then enable full indexing to rebuild all the indexes. do not forget to restart the server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For full re-indexing you need to change following property in your alfresco-global.properties file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;index.recovery.mode from value "AUTO" to "FULL"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 09:12:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/question-with-the-solr-indexes-and-repository-database-do-not/m-p/306088#M259218</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2013-05-07T09:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Question with: the SOLR indexes and repository database do not match</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/question-with-the-solr-indexes-and-repository-database-do-not/m-p/306089#M259219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot mitpatoliya !!, but I don't know if this procedure is secure. If I do that, my data and documents will be safe?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to be sure because my Alfresco has real data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you all for your time&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 15:44:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/question-with-the-solr-indexes-and-repository-database-do-not/m-p/306089#M259219</guid>
      <dc:creator>carlos_cruz</dc:creator>
      <dc:date>2013-05-07T15:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Question with: the SOLR indexes and repository database do not match</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/question-with-the-solr-indexes-and-repository-database-do-not/m-p/306090#M259220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Carlos,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Generally, rebuilding the indexes is safe.&amp;nbsp; *While* the index is rebuilding some functionality that depends on search won't work (or may work inconsistently as index updates for some documents are completed while others aren't), the content and metadata themselves aren't primarily stored in the indexes so it'll be safe.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On the other hand, if your alfresco setup (including data) is important, then you should really have a scheduled and TESTED backup and restore procedure.&amp;nbsp; If you don't have that then hardware failure will have you lose your content or metadata and you'll have a hell of a time trying to recover your data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, a backup and restore procedure lets you test things (like full reindexing) on another machine.&amp;nbsp; If your content is important, it's very important to test features/functionality on a test/staging machine. Only apply tested procedures on production once you're happy with results on staging.&amp;nbsp; Sometimes (a recent alfresco upgrade comes to mind), even thorough rehearsal on staging will not work exactly the same way when you perform the same procedure on production and then you might need to fix things in realtime on the production server if you're already halfway through your upgrade.&amp;nbsp; In those cases it's still a good thing to have a backup since, if your upgrade fails halfway and you can't make progress, you can still revert to your old production setup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One thing to note here is that index.recovery.mode=FULL does not have any effect in solr.&amp;nbsp; It's only effective if your index.subsystem.name=lucene.&amp;nbsp; For solr, there's a different procedure for regenerating the indexes from scratch.&amp;nbsp; e.g., &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.alfresco.com/4.0/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Ftasks%2Fsolr-reindex.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/4.0/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Ftasks%2Fsolr-reindex.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(find the appropriate documentation page for your alfresco version).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again.&amp;nbsp; Don't perform fixes on production without first testing on a separate machine. I often test twice or more times just to make sure I've got the procedure down.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gerald&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 23:36:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/question-with-the-solr-indexes-and-repository-database-do-not/m-p/306090#M259220</guid>
      <dc:creator>bopolissimus</dc:creator>
      <dc:date>2013-05-07T23:36:20Z</dc:date>
    </item>
  </channel>
</rss>

