Module Upgrade : Error: Unable to initialize search index.

LabKey Support Forum (Inactive)
Module Upgrade : Error: Unable to initialize search index. chetc (LabKey Support)  2021-04-26 12:54
Status: Closed
 

Hello,

Sorry for taking so long to get to this. We try and address our forums when we get a chance, but it has been especially busy lately.

The error is saying that since "labkey_full_text_index_4zf_Lucene50_0.tip" file was not found at "C:\Program Files\Apache Software Foundation\Tomcat 8.5\temp" location, it cannot initialize the search index and will not index new documents added to the server.

To correct this error, there are 2 ways you could go about it. Both methods will involving navigating to the "Full-Text Search Configuration" page. To do this click the "Gear Icon" --> "Site" --> "Admin Console (Settings tab) --> "Management/FULL-TEXT SEARCH"

  1. If you know where "labkey_full_text_index_4zf_Lucene50_0.tip" you could opt to change the "
    Path to full-text search index" so it points to the file. This will require that all of the data gets re-indexed.

  2. You could also "Delete" the current index and start the crawler again, essentially re-indexing all of your data.

Either way it seems like you will need to re-index your data which can be slow depending on how much there is. However you can just let it run in the background, and continue using the server.

More Information on Search:
https://www.labkey.org/Documentation/wiki-page.view?name=searchAdmin#search
https://www.labkey.org/Documentation/wiki-page.view?name=luceneSearch#terms

Let me know how it goes.

Thanks,
Chet