Qlik Community

Qlik Sense Enterprise Documents & Videos

Documents & videos about Qlik Sense.

Sense task execution error: failed to create search index

northerner
New Contributor III

Sense task execution error: failed to create search index

Symptoms

 A Task is showing as 'Failed' in QMC.  The task log (in ProgramData\Qlik\Sense\Log\Script) ends with:

..... Creating search index

.... Failed to create search index

.... Execution finished.

This message is displayed every time the app is refreshed from QMC.

 

Diagnosis

The Qlik Engine appears to be unable to write to the App's Search Index Folder.  This was observed after reloads failed due to a full disk.

 

Solution

1) Get the id of the app that has failed: in QMC, go to apps and search for the name of the App that is on the failed Task.  Enable 'ID' in the column selector if it's not shown.

2) On the server, locate the search index folder for the app: go to the app folder (you can find this value in QMC in the Service Cluster).  There should be a sub-folder called Search.  This contains a search index folder for each app.  The app id is the name of the folder - find the folder with the id from step (1)

3) Rename or Delete the search index folder. 

4) Re-run the task in QMC.

5) Check the task runs ok.  If so you can delete the old search index folder, if you renamed it in step (3)

Labels (5)
Version history
Revision #:
1 of 1
Last update:
‎2018-12-21 06:56 AM
Updated by:
 
Contributors