Welcome to the Alteryx Knowledge Base
Checklist Manual Re-index
Created/Edited -
Procedure
| UNDERSTAND THE ISSUE | |||||||||||||||||||||||
|
Gather Alteryx Server version
|
| ||||||||||||||||||||||
|
Which part of the Server UI is affected by the stale index?
| Alteryx Server has the following areas that the stale index can affect. In later Server versions, some of the Lucene indexes have been removed. Find below the latest Server version that has the Lucene index for the given Gallery Area.
| ||||||||||||||||||||||
|
EXCLUDE COMMON, SIMILARLY LOOKING ISSUES
| |||||||||||||||||||||||
| Exclude issues with similar symptoms by reviewing Gallery logs. | Review the appropriate KB. Check the Gallery logs for any errors mentioned in the KB If the issues don't apply, continue below. | ||||||||||||||||||||||
| Exclude a failed MongoDB schema migration. | Check that the Gallery logs contain the lines "Queue worker sleeping for 1 seconds..." If the pattern above doesn't appear in the Gallery logs, you might face the issue described in the checklist on troubleshooting a failed MongoDB schema migration. | ||||||||||||||||||||||
|
DECIDE WHICH RE-INDEX METHOD TO USE
| |||||||||||||||||||||||
|
Decide which re-index method to use
|
In most cases, use the manual re-index workflow / analytic app. It is contained in the KB article below.
Use it unless:
KB articles:
| ||||||||||||||||||||||
|
RUNNING THE MANUAL RE-INDEX WORKFLOW METHOD (A)
| |||||||||||||||||||||||
|
Pre-Work
|
| ||||||||||||||||||||||
|
Run the manual re-index as an Analytic App.
|
| ||||||||||||||||||||||
|
Confirm that indexing issue resolved
|
Confirm that symptoms of the "stale index" have been resolved in the Server UI.
The output file should look like the below for success. For the legacy workflow, you will see the following or similar in the Results window - look for 200 OK in the DownloadHeaders. The exact list of Collections depends on the Alteryx Server version. | ||||||||||||||||||||||
|
RUNNING THE MANUAL RE-INDEX COMMAND PROMPT METHOD (B)
| |||||||||||||||||||||||
|
Pre-Work
|
| ||||||||||||||||||||||
|
Run the re-index via Command Prompt
|
AlteryxServerHost.exe --rebuild -mongoconnection:mongodb://user:{PASSWORD}@localhost:27018/AlteryxGallery?connectTimeoutMS=25000 -luceneconnection:mongodb://user:{PASSWORD}@localhost:27018/AlteryxGallery_Lucene?connectTimeoutMS=25000 -searchProvider:Lucene
AlteryxCloudCmd.exe --rebuild -mongoconnection:mongodb://user:{PASSWORD}@localhost:27018/AlteryxGallery?connectTimeoutMS=25000 -luceneconnection:mongodb://user:{PASSWORD}@localhost:27018/AlteryxGallery_Lucene?connectTimeoutMS=25000 -searchProvider:Lucene
There is no need to restart the AlteryxService. | ||||||||||||||||||||||
|
Confirm that indexing issue resolved
|
The message "waiting for rebuild task to be claimed" should show in the Command Prompt.
Confirm that symptoms of the "stale index" have been resolved in the Server UI. | ||||||||||||||||||||||
|
(OPTIONAL) TROUBLESHOOTING THE MANUAL REINDEX
| |||||||||||||||||||||||
|
Check that
| |||||||||||||||||||||||
Additional Information
Was this article helpful?