Is anyone using Process Manager 3.0 add-on with SuiteCRM or if not maybe a different add-on with SuiteCRM scheduler that is producing same error?
I have disabled all other tasks and just left Process Manager as active one, but I am still getting an error and add-on is not working.
Transferring data from one module to another based on rules and conditions set is not working in my case. I have additional 2 extensions installed, Reports and Security Groups and they are running fine…so I guess it’s not the system.
On the other hand Process Manager should be running with SuiteCRM 7.2.2…developer advised that I should turn off all other scheduled tasks and leave Process Manager only, to no avail.
Error (send to my email by cronjob):
Fatal error: Uncaught exception 'Zend_Search_Lucene_Exception' with message 'Index doesn't exists in the specified directory.' in /home/ihhcrmco/public_html/suitecrm/modules/AOD_Index/Lib/Zend/Search/Lucene.php:566
Stack trace:
#0 /home/ihhcrmco/public_html/suitecrm/modules/AOD_Index/AOD_Index.php(307): Zend_Search_Lucene->__construct('modules/AOD_Ind...')
#1 /home/ihhcrmco/public_html/suitecrm/modules/AOD_Index/AOD_Index.php(68): AOD_Index->getLuceneIndex()
#2 /home/ihhcrmco/public_html/suitecrm/custom/modules/Schedulers/Ext/ScheduledTasks/scheduledtasks.ext.php(216): AOD_Index->optimise()
#3 [internal function]: aodOptimiseIndex(Object(SchedulersJob))
#4 /home/ihhcrmco/public_html/suitecrm/modules/SchedulersJobs/SchedulersJob.php(522): call_user_func_array('aodOptimiseInde...', Array)
#5 /home/ihhcrmco/public_html/suitecrm/include/SugarQueue/SugarCronJobs.php(188): SchedulersJob->runJob()
#6 /home/ihhcrmco/public_html/suitecrm/include/SugarQueue/SugarCronJobs.php(228): SugarCronJobs->executeJob(Object(SchedulersJob))
#7 in /home/ihhcrmco/public_html/suitecrm/modules/AOD_Index/Lib/Zend/Search/Lucene.php on line 566
Lock file is probably a left-over from an interrupted process (you can check it’s date), delete it or rename it and see if the process is triggered again after a few minutes. If not, you have to steps to Reindex which basically resets the whole issue.
Are there any different errors now in your logs? We should see an error about the Index failing to get created, not just an error complaining that there is no Index there…
That www-data has to match the user that your cron jobs is using, otherwise your permissions won’t help.
Finally, see those “s” in my directory permissions? That’s the SetUID/SetGID bits. These make new files and folders created in the directory inherit the user/group of the parent dir. Sometimes this is a crucial detail. You can add them like this:
chmod 2775 modules/AOD_Index/Index/Index
A final comment: the fact that there are many records, but not all of them are indexed, doesn’t have to be a problem. Indexing is only turned on for some modules, you can configure that in Studio.