You might encounter errors similar to the below messages seen in the server.log file on the server hosting your ESI Indexproxy which is fundamental for running a Spider Incident/Change environments:
...marking and sending shard failed due to [failed recovery]... ...IndexShardRecoveryException[failed to recovery from gateway]... ...EngineCreationFailureException[failed to create engine]... ...NoSuchFileException[<Drive\ESIdataFolder>\indexproxy\nodes\0\indices\mod_incident_xxxxxx....
This problem means that the Elasticsearch index is corrupted (deleted) and it must be rebuilt.
For example, you might try deleting some files in the translog directory of the server to break the Indexproxy service, intentionally or unintentionally during a server cleanup:
Please run through the following steps to rebuild the index:
Shutdown main application(s) that are using the index, as follows: a. Spider Incident b. Spider Knowledge Base c. Spider LCM (Asset/Licensee/Contract)
Stop the main ESI service [e.g. net stop indexproxy]
Backup (copy/rename) index data folder. [e.g. <Drive\ESIdataFolder>\indexproxy”]
Delete index data folder <Drive\ESIdataFolder>\indexproxy”
Make sure there is enough free disk space for the rebuilt index ( >= 10 GB depending on the application data size).
Restart ESI service and wait 1-2 minutes until properly startup [e.g. net start indexproxy]
Restart the main applications.
The index should be automatically rebuilt (monitor the above data folder).
This will take some time depending on the size of the application data. Please be patient with the process until it is complete. Once completed, you can start the Indexproxy service non-problematically.