Smart Search Tasks Not Executing

Donnie Hyatt asked on May 27, 2016 14:02

I am running 8.2.48 on AWS EC2. I have staging and production servers, and smart search tasks do not work on either. I have tried clearing the CMS_SearchTask table manually, creating a new index and I cannot rebuild, optimize or execute any tasks at all.

The scheduled task indicates that it is running successfully and the event log has no entries to indicate an error or failure of any kind. My production environment has nearly 8,000 tasks pending, and I cleared the tasks from my staging server.

Any ideas why I cannot index my site?

Recent Answers


Brenden Kehren answered on May 27, 2016 14:24

Are you using virtual storage similar to Azure's Blob storage or a CDN? If so there could very well be some lock files causing the indexes to not build or rebuild. Take a look in this directory for lock files /App_Data/CMSModules/SmartSearch and in the SmartSearch directory there is typically a lock file. Then in the same directory there are sub directories for each smart search index you have, there are lock files in there as well.

If you find them delete them, all of them and rebuild your indexes one at a time. Be patient because it could take a while.

If you've never got them to build and there are no sub directories for each smart search index you have then there are most likely permissions issues. The directory I mentioned above needs read/write permission.

1 votesVote for this answer Mark as a Correct answer

Donnie Hyatt answered on May 27, 2016 14:43

I am using S3 storage on AWS, which is a CDN of sorts. I will look into these files and reply with my findings. Thanks for the advice....if anything else comes to mind in the interim, I would welcome the feedback.

0 votesVote for this answer Mark as a Correct answer

Donnie Hyatt answered on May 27, 2016 14:57 (last edited on May 27, 2016 14:57)

Brenden, after deleting the files you suggested, I am still experiencing the same behavior. I should mention that when attempting to manually process the search tasks, I click the "click here to monitor progress" and encounter a thread error: "The thread is no longer running".

Image Text

0 votesVote for this answer Mark as a Correct answer

Bryan Soltis answered on May 27, 2016 15:58

Hi Donnie. Are you running a web farm by chance? If so, are all of the servers registered properly?

0 votesVote for this answer Mark as a Correct answer

Donnie Hyatt answered on May 27, 2016 16:23

Bryan, I am not running a Web Farm. Thanks.

0 votesVote for this answer Mark as a Correct answer

Donnie Hyatt answered on May 31, 2016 13:51

Anyone?

0 votesVote for this answer Mark as a Correct answer

Mohd Nayeem answered on January 30, 2017 07:14

I am making use of azure web services and the option /App_Data/CMSModules/SmartSearch works for me. Thanks

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.