“No such index” error in ElasticSearch controller when loading custom moduleList all indexes on ElasticSearch server?Elasticsearch error when creating indexFOSElasticaBundle and geo_distance findError after updating php elasticsearch-php from 1.3.1 to 1.3.2Laravel 5 - Elasticquent / ElasticSearch Missing404Exception with (Re)MappingElasticsearch PHP Client - BadInstallation and using elasticsearch php client on Windows XamppElasticsearch Error 56composer install error “Could not parse URElasticsearchCommonExceptionsInvalidArgumentException : Could not parse URII”Fatal error: Uncaught ElasticsearchCommonExceptionsBadRequest400Exception

What's the purpose of autocorrelation?

Wrong Schengen Visa exit stamp on my passport, who can I complain to?

The Google Earth Challenge: "A dangerous flower"

How could artificial intelligence harm us?

Statistical tests for benchmark comparison

How far away from you does grass spread?

What is the word for a person who destroys monuments?

Bash attempts to write two shell prompts?

Name of example of irrationality of proportional and absolute cost

Problem of Induction: Dissolved

Is Zack Morris's 'time stop' ability in "Saved By the Bell" a supernatural ability?

Is there sense in using const std::string& arguments in C++17?

Very lazy puppy

How do rulers get rich from war?

Did slaves have slaves?

Can a business put whatever they want into a contract?

Is it safe to unplug a blinking USB drive after 'safely' ejecting it?

Are omoplatas legal in judo?

How do you determine which representation of a function to use for Newton's method?

In Bb5 systems against the Sicilian, why does White exchange their b5 bishop without playing a6?

Better way to obtain a smaller vertical line | scaled to math?

Hobby function generators

Why are there no programmes / playbills for movies?

Is there a theorem in Real analysis similar to Cauchy's theorem in Complex analysis?



“No such index” error in ElasticSearch controller when loading custom module


List all indexes on ElasticSearch server?Elasticsearch error when creating indexFOSElasticaBundle and geo_distance findError after updating php elasticsearch-php from 1.3.1 to 1.3.2Laravel 5 - Elasticquent / ElasticSearch Missing404Exception with (Re)MappingElasticsearch PHP Client - BadInstallation and using elasticsearch php client on Windows XamppElasticsearch Error 56composer install error “Could not parse URElasticsearchCommonExceptionsInvalidArgumentException : Could not parse URII”Fatal error: Uncaught ElasticsearchCommonExceptionsBadRequest400Exception






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















I had created a bunch of custom modules bundled in a single package on a SugarCRM 8.0.0 staging instance. In order to migrate these modules I decided to publish the package so that I could have an installable zip uploaded to another instance. Unfortunately when I try to upload the zip file on the receiving instance using module loader, the installation hangs at 80 percent gives an error in the sugarlog



I am running ElasticSearch 5.4 which is compatible with the instance of the Sugar I am running. This is the error that is shown in the logs:



Thu Mar 28 17:54:19 2019 [1786][1][FATAL] Elasticsearch request failure: no such index [index: ab164c0013004724c8eba5f5f6f3f646_shared]
Thu Mar 28 17:54:19 2019 [1786][1][FATAL] Exception in Controller: ElasticaExceptionResponseException: no such index [index: ab164c0013004724c8eba5f5f6f3f646_shared] in /var/www/html/SugarPro-Full-8/vendor/ruflin/elastica/lib/Elastica/Transport/Http.php:179
Stack trace:
#0 /var/www/html/SugarPro-Full-8/vendor/ruflin/elastica/lib/Elastica/Request.php(193): ElasticaTransportHttp->exec(Object(ElasticaRequest), Array)
#1 /var/www/html/SugarPro-Full-8/vendor/ruflin/elastica/lib/Elastica/Client.php(674): ElasticaRequest->send()
#2 /var/www/html/SugarPro-Full-8/src/Elasticsearch/Adapter/Client.php(355): ElasticaClient->request('ab164c001300472...', 'PUT', Array, Array)
#3 /var/www/html/SugarPro-Full-8/vendor/ruflin/elastica/lib/Elastica/Client.php(706): SugarcrmSugarcrmElasticsearchAdapterClient->request('ab164c001300472...', 'PUT', Array, Array)
#4 /var/www/html/SugarPro-Full-8/vendor/ruflin/elastica/lib/Elastica/Index.php(562): ElasticaClient->requestEndpoint(Object(ElasticsearchEndpointsIndicesMappingPut))
#5 /var/www/html/SugarPro-Full-8/vendor/ruflin/elastica/lib/Elastica/Type.php(523): ElasticaIndex->requestEndpoint(Object(ElasticsearchEndpointsIndicesMappingPut))
#6 /var/www/html/SugarPro-Full-8/vendor/ruflin/elastica/lib/Elastica/Type/Mapping.php(250): ElasticaType->requestEndpoint(Object(ElasticsearchEndpointsIndicesMappingPut))
#7 /var/www/html/SugarPro-Full-8/src/Elasticsearch/Index/IndexManager.php(486): ElasticaTypeMapping->send()
#8 /var/www/html/SugarPro-Full-8/src/Elasticsearch/Index/IndexManager.php(390): SugarcrmSugarcrmElasticsearchIndexIndexManager->sendMapping(Object(ElasticaTypeMapping))
#9 /var/www/html/SugarPro-Full-8/src/Elasticsearch/Index/IndexManager.php(285): SugarcrmSugarcrmElasticsearchIndexIndexManager->createIndices(Object(SugarcrmSugarcrmElasticsearchIndexIndexCollection), Object(SugarcrmSugarcrmElasticsearchAnalysisAnalysisBuilder), Object(SugarcrmSugarcrmElasticsearchMappingMappingCollection), false)
#10 /var/www/html/SugarPro-Full-8/src/Elasticsearch/Index/IndexManager.php(200): SugarcrmSugarcrmElasticsearchIndexIndexManager->syncIndices(Array, false)
#11 /var/www/html/SugarPro-Full-8/src/SearchEngine/Engine/Elastic.php(113): SugarcrmSugarcrmElasticsearchIndexIndexManager->addMappings(Array)
#12 /var/www/html/SugarPro-Full-8/ModuleInstall/ModuleInstaller.php(3489): SugarcrmSugarcrmSearchEngineEngineElastic->addMappings(Array)
#13 /var/www/html/SugarPro-Full-8/ModuleInstall/ModuleInstaller.php(168): ModuleInstaller->setup_elastic_mapping()
#14 /var/www/html/SugarPro-Full-8/modules/Administration/UpgradeWizard_commit.php(342): ModuleInstaller->install('cache/upgrades/...')
#15 /var/www/html/SugarPro-Full-8/include/MVC/View/SugarView.php(489): require_once('/var/www/html/S...')
#16 /var/www/html/SugarPro-Full-8/include/MVC/View/views/view.classic.php(43): SugarView->includeClassicFile('cache/upgrades/...')
#17 /var/www/html/SugarPro-Full-8/include/MVC/View/SugarView.php(152): ViewClassic->display(Array)
#18 /var/www/html/SugarPro-Full-8/include/MVC/Controller/SugarController.php(351): SugarView->process(Array)
#19 /var/www/html/SugarPro-Full-8/include/MVC/Controller/SugarController.php(299): SugarController->processView()
#20 /var/www/html/SugarPro-Full-8/include/MVC/SugarApplication.php(198): SugarController->execute()
#21 /var/www/html/SugarPro-Full-8/index.php(27): SugarApplication->execute()
#22 main
Thu Mar 28 17:54:19 2019 [1786][1][FATAL] ERROR: rmdir_recursive(): argument cache/upgrades/temp/ICB8l3 is not a file or a dir.


I have tried to repair and rebuild several times, and have also tried to publish the package again to recheck if there were any errors I may have not noticed. I tried to use another instance for uploading in case my current instance may be corrupt, but the same was observed. I do not understand what may be causing the issue.










share|improve this question
























  • have you tried to reset permission using the command line?

    – Star
    Mar 29 at 10:11











  • Yes, I've reset the permissions as well as restarted several times

    – Meh
    Mar 29 at 10:18











  • @noobdev Were you able to fix the problem?

    – Jay
    Apr 2 at 10:09











  • @Jay apologies for the late reply, I had tried your solution, but unfortunately shows me a "memory exhausted" error when I hit save

    – Meh
    Apr 2 at 10:34












  • Is your php's memory limit set to 512 MB? see support.sugarcrm.com/Documentation/Sugar_Versions/8.0/Pro/…

    – Jay
    Apr 2 at 11:20

















2















I had created a bunch of custom modules bundled in a single package on a SugarCRM 8.0.0 staging instance. In order to migrate these modules I decided to publish the package so that I could have an installable zip uploaded to another instance. Unfortunately when I try to upload the zip file on the receiving instance using module loader, the installation hangs at 80 percent gives an error in the sugarlog



I am running ElasticSearch 5.4 which is compatible with the instance of the Sugar I am running. This is the error that is shown in the logs:



Thu Mar 28 17:54:19 2019 [1786][1][FATAL] Elasticsearch request failure: no such index [index: ab164c0013004724c8eba5f5f6f3f646_shared]
Thu Mar 28 17:54:19 2019 [1786][1][FATAL] Exception in Controller: ElasticaExceptionResponseException: no such index [index: ab164c0013004724c8eba5f5f6f3f646_shared] in /var/www/html/SugarPro-Full-8/vendor/ruflin/elastica/lib/Elastica/Transport/Http.php:179
Stack trace:
#0 /var/www/html/SugarPro-Full-8/vendor/ruflin/elastica/lib/Elastica/Request.php(193): ElasticaTransportHttp->exec(Object(ElasticaRequest), Array)
#1 /var/www/html/SugarPro-Full-8/vendor/ruflin/elastica/lib/Elastica/Client.php(674): ElasticaRequest->send()
#2 /var/www/html/SugarPro-Full-8/src/Elasticsearch/Adapter/Client.php(355): ElasticaClient->request('ab164c001300472...', 'PUT', Array, Array)
#3 /var/www/html/SugarPro-Full-8/vendor/ruflin/elastica/lib/Elastica/Client.php(706): SugarcrmSugarcrmElasticsearchAdapterClient->request('ab164c001300472...', 'PUT', Array, Array)
#4 /var/www/html/SugarPro-Full-8/vendor/ruflin/elastica/lib/Elastica/Index.php(562): ElasticaClient->requestEndpoint(Object(ElasticsearchEndpointsIndicesMappingPut))
#5 /var/www/html/SugarPro-Full-8/vendor/ruflin/elastica/lib/Elastica/Type.php(523): ElasticaIndex->requestEndpoint(Object(ElasticsearchEndpointsIndicesMappingPut))
#6 /var/www/html/SugarPro-Full-8/vendor/ruflin/elastica/lib/Elastica/Type/Mapping.php(250): ElasticaType->requestEndpoint(Object(ElasticsearchEndpointsIndicesMappingPut))
#7 /var/www/html/SugarPro-Full-8/src/Elasticsearch/Index/IndexManager.php(486): ElasticaTypeMapping->send()
#8 /var/www/html/SugarPro-Full-8/src/Elasticsearch/Index/IndexManager.php(390): SugarcrmSugarcrmElasticsearchIndexIndexManager->sendMapping(Object(ElasticaTypeMapping))
#9 /var/www/html/SugarPro-Full-8/src/Elasticsearch/Index/IndexManager.php(285): SugarcrmSugarcrmElasticsearchIndexIndexManager->createIndices(Object(SugarcrmSugarcrmElasticsearchIndexIndexCollection), Object(SugarcrmSugarcrmElasticsearchAnalysisAnalysisBuilder), Object(SugarcrmSugarcrmElasticsearchMappingMappingCollection), false)
#10 /var/www/html/SugarPro-Full-8/src/Elasticsearch/Index/IndexManager.php(200): SugarcrmSugarcrmElasticsearchIndexIndexManager->syncIndices(Array, false)
#11 /var/www/html/SugarPro-Full-8/src/SearchEngine/Engine/Elastic.php(113): SugarcrmSugarcrmElasticsearchIndexIndexManager->addMappings(Array)
#12 /var/www/html/SugarPro-Full-8/ModuleInstall/ModuleInstaller.php(3489): SugarcrmSugarcrmSearchEngineEngineElastic->addMappings(Array)
#13 /var/www/html/SugarPro-Full-8/ModuleInstall/ModuleInstaller.php(168): ModuleInstaller->setup_elastic_mapping()
#14 /var/www/html/SugarPro-Full-8/modules/Administration/UpgradeWizard_commit.php(342): ModuleInstaller->install('cache/upgrades/...')
#15 /var/www/html/SugarPro-Full-8/include/MVC/View/SugarView.php(489): require_once('/var/www/html/S...')
#16 /var/www/html/SugarPro-Full-8/include/MVC/View/views/view.classic.php(43): SugarView->includeClassicFile('cache/upgrades/...')
#17 /var/www/html/SugarPro-Full-8/include/MVC/View/SugarView.php(152): ViewClassic->display(Array)
#18 /var/www/html/SugarPro-Full-8/include/MVC/Controller/SugarController.php(351): SugarView->process(Array)
#19 /var/www/html/SugarPro-Full-8/include/MVC/Controller/SugarController.php(299): SugarController->processView()
#20 /var/www/html/SugarPro-Full-8/include/MVC/SugarApplication.php(198): SugarController->execute()
#21 /var/www/html/SugarPro-Full-8/index.php(27): SugarApplication->execute()
#22 main
Thu Mar 28 17:54:19 2019 [1786][1][FATAL] ERROR: rmdir_recursive(): argument cache/upgrades/temp/ICB8l3 is not a file or a dir.


I have tried to repair and rebuild several times, and have also tried to publish the package again to recheck if there were any errors I may have not noticed. I tried to use another instance for uploading in case my current instance may be corrupt, but the same was observed. I do not understand what may be causing the issue.










share|improve this question
























  • have you tried to reset permission using the command line?

    – Star
    Mar 29 at 10:11











  • Yes, I've reset the permissions as well as restarted several times

    – Meh
    Mar 29 at 10:18











  • @noobdev Were you able to fix the problem?

    – Jay
    Apr 2 at 10:09











  • @Jay apologies for the late reply, I had tried your solution, but unfortunately shows me a "memory exhausted" error when I hit save

    – Meh
    Apr 2 at 10:34












  • Is your php's memory limit set to 512 MB? see support.sugarcrm.com/Documentation/Sugar_Versions/8.0/Pro/…

    – Jay
    Apr 2 at 11:20













2












2








2








I had created a bunch of custom modules bundled in a single package on a SugarCRM 8.0.0 staging instance. In order to migrate these modules I decided to publish the package so that I could have an installable zip uploaded to another instance. Unfortunately when I try to upload the zip file on the receiving instance using module loader, the installation hangs at 80 percent gives an error in the sugarlog



I am running ElasticSearch 5.4 which is compatible with the instance of the Sugar I am running. This is the error that is shown in the logs:



Thu Mar 28 17:54:19 2019 [1786][1][FATAL] Elasticsearch request failure: no such index [index: ab164c0013004724c8eba5f5f6f3f646_shared]
Thu Mar 28 17:54:19 2019 [1786][1][FATAL] Exception in Controller: ElasticaExceptionResponseException: no such index [index: ab164c0013004724c8eba5f5f6f3f646_shared] in /var/www/html/SugarPro-Full-8/vendor/ruflin/elastica/lib/Elastica/Transport/Http.php:179
Stack trace:
#0 /var/www/html/SugarPro-Full-8/vendor/ruflin/elastica/lib/Elastica/Request.php(193): ElasticaTransportHttp->exec(Object(ElasticaRequest), Array)
#1 /var/www/html/SugarPro-Full-8/vendor/ruflin/elastica/lib/Elastica/Client.php(674): ElasticaRequest->send()
#2 /var/www/html/SugarPro-Full-8/src/Elasticsearch/Adapter/Client.php(355): ElasticaClient->request('ab164c001300472...', 'PUT', Array, Array)
#3 /var/www/html/SugarPro-Full-8/vendor/ruflin/elastica/lib/Elastica/Client.php(706): SugarcrmSugarcrmElasticsearchAdapterClient->request('ab164c001300472...', 'PUT', Array, Array)
#4 /var/www/html/SugarPro-Full-8/vendor/ruflin/elastica/lib/Elastica/Index.php(562): ElasticaClient->requestEndpoint(Object(ElasticsearchEndpointsIndicesMappingPut))
#5 /var/www/html/SugarPro-Full-8/vendor/ruflin/elastica/lib/Elastica/Type.php(523): ElasticaIndex->requestEndpoint(Object(ElasticsearchEndpointsIndicesMappingPut))
#6 /var/www/html/SugarPro-Full-8/vendor/ruflin/elastica/lib/Elastica/Type/Mapping.php(250): ElasticaType->requestEndpoint(Object(ElasticsearchEndpointsIndicesMappingPut))
#7 /var/www/html/SugarPro-Full-8/src/Elasticsearch/Index/IndexManager.php(486): ElasticaTypeMapping->send()
#8 /var/www/html/SugarPro-Full-8/src/Elasticsearch/Index/IndexManager.php(390): SugarcrmSugarcrmElasticsearchIndexIndexManager->sendMapping(Object(ElasticaTypeMapping))
#9 /var/www/html/SugarPro-Full-8/src/Elasticsearch/Index/IndexManager.php(285): SugarcrmSugarcrmElasticsearchIndexIndexManager->createIndices(Object(SugarcrmSugarcrmElasticsearchIndexIndexCollection), Object(SugarcrmSugarcrmElasticsearchAnalysisAnalysisBuilder), Object(SugarcrmSugarcrmElasticsearchMappingMappingCollection), false)
#10 /var/www/html/SugarPro-Full-8/src/Elasticsearch/Index/IndexManager.php(200): SugarcrmSugarcrmElasticsearchIndexIndexManager->syncIndices(Array, false)
#11 /var/www/html/SugarPro-Full-8/src/SearchEngine/Engine/Elastic.php(113): SugarcrmSugarcrmElasticsearchIndexIndexManager->addMappings(Array)
#12 /var/www/html/SugarPro-Full-8/ModuleInstall/ModuleInstaller.php(3489): SugarcrmSugarcrmSearchEngineEngineElastic->addMappings(Array)
#13 /var/www/html/SugarPro-Full-8/ModuleInstall/ModuleInstaller.php(168): ModuleInstaller->setup_elastic_mapping()
#14 /var/www/html/SugarPro-Full-8/modules/Administration/UpgradeWizard_commit.php(342): ModuleInstaller->install('cache/upgrades/...')
#15 /var/www/html/SugarPro-Full-8/include/MVC/View/SugarView.php(489): require_once('/var/www/html/S...')
#16 /var/www/html/SugarPro-Full-8/include/MVC/View/views/view.classic.php(43): SugarView->includeClassicFile('cache/upgrades/...')
#17 /var/www/html/SugarPro-Full-8/include/MVC/View/SugarView.php(152): ViewClassic->display(Array)
#18 /var/www/html/SugarPro-Full-8/include/MVC/Controller/SugarController.php(351): SugarView->process(Array)
#19 /var/www/html/SugarPro-Full-8/include/MVC/Controller/SugarController.php(299): SugarController->processView()
#20 /var/www/html/SugarPro-Full-8/include/MVC/SugarApplication.php(198): SugarController->execute()
#21 /var/www/html/SugarPro-Full-8/index.php(27): SugarApplication->execute()
#22 main
Thu Mar 28 17:54:19 2019 [1786][1][FATAL] ERROR: rmdir_recursive(): argument cache/upgrades/temp/ICB8l3 is not a file or a dir.


I have tried to repair and rebuild several times, and have also tried to publish the package again to recheck if there were any errors I may have not noticed. I tried to use another instance for uploading in case my current instance may be corrupt, but the same was observed. I do not understand what may be causing the issue.










share|improve this question














I had created a bunch of custom modules bundled in a single package on a SugarCRM 8.0.0 staging instance. In order to migrate these modules I decided to publish the package so that I could have an installable zip uploaded to another instance. Unfortunately when I try to upload the zip file on the receiving instance using module loader, the installation hangs at 80 percent gives an error in the sugarlog



I am running ElasticSearch 5.4 which is compatible with the instance of the Sugar I am running. This is the error that is shown in the logs:



Thu Mar 28 17:54:19 2019 [1786][1][FATAL] Elasticsearch request failure: no such index [index: ab164c0013004724c8eba5f5f6f3f646_shared]
Thu Mar 28 17:54:19 2019 [1786][1][FATAL] Exception in Controller: ElasticaExceptionResponseException: no such index [index: ab164c0013004724c8eba5f5f6f3f646_shared] in /var/www/html/SugarPro-Full-8/vendor/ruflin/elastica/lib/Elastica/Transport/Http.php:179
Stack trace:
#0 /var/www/html/SugarPro-Full-8/vendor/ruflin/elastica/lib/Elastica/Request.php(193): ElasticaTransportHttp->exec(Object(ElasticaRequest), Array)
#1 /var/www/html/SugarPro-Full-8/vendor/ruflin/elastica/lib/Elastica/Client.php(674): ElasticaRequest->send()
#2 /var/www/html/SugarPro-Full-8/src/Elasticsearch/Adapter/Client.php(355): ElasticaClient->request('ab164c001300472...', 'PUT', Array, Array)
#3 /var/www/html/SugarPro-Full-8/vendor/ruflin/elastica/lib/Elastica/Client.php(706): SugarcrmSugarcrmElasticsearchAdapterClient->request('ab164c001300472...', 'PUT', Array, Array)
#4 /var/www/html/SugarPro-Full-8/vendor/ruflin/elastica/lib/Elastica/Index.php(562): ElasticaClient->requestEndpoint(Object(ElasticsearchEndpointsIndicesMappingPut))
#5 /var/www/html/SugarPro-Full-8/vendor/ruflin/elastica/lib/Elastica/Type.php(523): ElasticaIndex->requestEndpoint(Object(ElasticsearchEndpointsIndicesMappingPut))
#6 /var/www/html/SugarPro-Full-8/vendor/ruflin/elastica/lib/Elastica/Type/Mapping.php(250): ElasticaType->requestEndpoint(Object(ElasticsearchEndpointsIndicesMappingPut))
#7 /var/www/html/SugarPro-Full-8/src/Elasticsearch/Index/IndexManager.php(486): ElasticaTypeMapping->send()
#8 /var/www/html/SugarPro-Full-8/src/Elasticsearch/Index/IndexManager.php(390): SugarcrmSugarcrmElasticsearchIndexIndexManager->sendMapping(Object(ElasticaTypeMapping))
#9 /var/www/html/SugarPro-Full-8/src/Elasticsearch/Index/IndexManager.php(285): SugarcrmSugarcrmElasticsearchIndexIndexManager->createIndices(Object(SugarcrmSugarcrmElasticsearchIndexIndexCollection), Object(SugarcrmSugarcrmElasticsearchAnalysisAnalysisBuilder), Object(SugarcrmSugarcrmElasticsearchMappingMappingCollection), false)
#10 /var/www/html/SugarPro-Full-8/src/Elasticsearch/Index/IndexManager.php(200): SugarcrmSugarcrmElasticsearchIndexIndexManager->syncIndices(Array, false)
#11 /var/www/html/SugarPro-Full-8/src/SearchEngine/Engine/Elastic.php(113): SugarcrmSugarcrmElasticsearchIndexIndexManager->addMappings(Array)
#12 /var/www/html/SugarPro-Full-8/ModuleInstall/ModuleInstaller.php(3489): SugarcrmSugarcrmSearchEngineEngineElastic->addMappings(Array)
#13 /var/www/html/SugarPro-Full-8/ModuleInstall/ModuleInstaller.php(168): ModuleInstaller->setup_elastic_mapping()
#14 /var/www/html/SugarPro-Full-8/modules/Administration/UpgradeWizard_commit.php(342): ModuleInstaller->install('cache/upgrades/...')
#15 /var/www/html/SugarPro-Full-8/include/MVC/View/SugarView.php(489): require_once('/var/www/html/S...')
#16 /var/www/html/SugarPro-Full-8/include/MVC/View/views/view.classic.php(43): SugarView->includeClassicFile('cache/upgrades/...')
#17 /var/www/html/SugarPro-Full-8/include/MVC/View/SugarView.php(152): ViewClassic->display(Array)
#18 /var/www/html/SugarPro-Full-8/include/MVC/Controller/SugarController.php(351): SugarView->process(Array)
#19 /var/www/html/SugarPro-Full-8/include/MVC/Controller/SugarController.php(299): SugarController->processView()
#20 /var/www/html/SugarPro-Full-8/include/MVC/SugarApplication.php(198): SugarController->execute()
#21 /var/www/html/SugarPro-Full-8/index.php(27): SugarApplication->execute()
#22 main
Thu Mar 28 17:54:19 2019 [1786][1][FATAL] ERROR: rmdir_recursive(): argument cache/upgrades/temp/ICB8l3 is not a file or a dir.


I have tried to repair and rebuild several times, and have also tried to publish the package again to recheck if there were any errors I may have not noticed. I tried to use another instance for uploading in case my current instance may be corrupt, but the same was observed. I do not understand what may be causing the issue.







elasticsearch sugarcrm






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 28 at 13:20









MehMeh

13913 bronze badges




13913 bronze badges















  • have you tried to reset permission using the command line?

    – Star
    Mar 29 at 10:11











  • Yes, I've reset the permissions as well as restarted several times

    – Meh
    Mar 29 at 10:18











  • @noobdev Were you able to fix the problem?

    – Jay
    Apr 2 at 10:09











  • @Jay apologies for the late reply, I had tried your solution, but unfortunately shows me a "memory exhausted" error when I hit save

    – Meh
    Apr 2 at 10:34












  • Is your php's memory limit set to 512 MB? see support.sugarcrm.com/Documentation/Sugar_Versions/8.0/Pro/…

    – Jay
    Apr 2 at 11:20

















  • have you tried to reset permission using the command line?

    – Star
    Mar 29 at 10:11











  • Yes, I've reset the permissions as well as restarted several times

    – Meh
    Mar 29 at 10:18











  • @noobdev Were you able to fix the problem?

    – Jay
    Apr 2 at 10:09











  • @Jay apologies for the late reply, I had tried your solution, but unfortunately shows me a "memory exhausted" error when I hit save

    – Meh
    Apr 2 at 10:34












  • Is your php's memory limit set to 512 MB? see support.sugarcrm.com/Documentation/Sugar_Versions/8.0/Pro/…

    – Jay
    Apr 2 at 11:20
















have you tried to reset permission using the command line?

– Star
Mar 29 at 10:11





have you tried to reset permission using the command line?

– Star
Mar 29 at 10:11













Yes, I've reset the permissions as well as restarted several times

– Meh
Mar 29 at 10:18





Yes, I've reset the permissions as well as restarted several times

– Meh
Mar 29 at 10:18













@noobdev Were you able to fix the problem?

– Jay
Apr 2 at 10:09





@noobdev Were you able to fix the problem?

– Jay
Apr 2 at 10:09













@Jay apologies for the late reply, I had tried your solution, but unfortunately shows me a "memory exhausted" error when I hit save

– Meh
Apr 2 at 10:34






@Jay apologies for the late reply, I had tried your solution, but unfortunately shows me a "memory exhausted" error when I hit save

– Meh
Apr 2 at 10:34














Is your php's memory limit set to 512 MB? see support.sugarcrm.com/Documentation/Sugar_Versions/8.0/Pro/…

– Jay
Apr 2 at 11:20





Is your php's memory limit set to 512 MB? see support.sugarcrm.com/Documentation/Sugar_Versions/8.0/Pro/…

– Jay
Apr 2 at 11:20












1 Answer
1






active

oldest

votes


















1
















Elasticsearch request failure: no such index [index: ...]


This suggests that the Elasticsearch Index is missing (or corrupted).



How to fix:



  • Log-on to Sugar with admin privileges

  • Go to Administration -> Search (or Global Search in some versions of Sugar)

  • Click the "Schedule System Index" button (and confirm the performance-related javascript alert, if any), after that a pop-up window with a list will appear

  • Scroll down in the pop-up window and select "Delete existing data when index is performed. Only data in the selected modules will be indexed.".
    This step is important. If you forget to select this checkbox, the re-index will fail (because it tries to refill an existing index, rather than re-creating it from scratch).

  • Confirm by clicking on the "Index" button. This will (re)create the index you need.

  • Now you should be able to install new modules again!

Notes:



  • The name of the Elasticsearch index is based on the value of $sugar_config['unique_key'] in config.php. Changing this value and rebuilding the cache will result in Sugar looking for a new index name. You'll have to trigger a reindex as described above (unless you somehow rename the index in Elasticsearch, so that it will be found again).

  • The newly created index will possibly remain empty (which should be enough for module installs though) unless your cron/Schedulers are running. If the Elastic Search Scheduler is running it will fill the index with data within the next minutes/hours and you can use the search on the top right of Sugar.





share|improve this answer


























    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );














    draft saved

    draft discarded
















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55398684%2fno-such-index-error-in-elasticsearch-controller-when-loading-custom-module%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1
















    Elasticsearch request failure: no such index [index: ...]


    This suggests that the Elasticsearch Index is missing (or corrupted).



    How to fix:



    • Log-on to Sugar with admin privileges

    • Go to Administration -> Search (or Global Search in some versions of Sugar)

    • Click the "Schedule System Index" button (and confirm the performance-related javascript alert, if any), after that a pop-up window with a list will appear

    • Scroll down in the pop-up window and select "Delete existing data when index is performed. Only data in the selected modules will be indexed.".
      This step is important. If you forget to select this checkbox, the re-index will fail (because it tries to refill an existing index, rather than re-creating it from scratch).

    • Confirm by clicking on the "Index" button. This will (re)create the index you need.

    • Now you should be able to install new modules again!

    Notes:



    • The name of the Elasticsearch index is based on the value of $sugar_config['unique_key'] in config.php. Changing this value and rebuilding the cache will result in Sugar looking for a new index name. You'll have to trigger a reindex as described above (unless you somehow rename the index in Elasticsearch, so that it will be found again).

    • The newly created index will possibly remain empty (which should be enough for module installs though) unless your cron/Schedulers are running. If the Elastic Search Scheduler is running it will fill the index with data within the next minutes/hours and you can use the search on the top right of Sugar.





    share|improve this answer































      1
















      Elasticsearch request failure: no such index [index: ...]


      This suggests that the Elasticsearch Index is missing (or corrupted).



      How to fix:



      • Log-on to Sugar with admin privileges

      • Go to Administration -> Search (or Global Search in some versions of Sugar)

      • Click the "Schedule System Index" button (and confirm the performance-related javascript alert, if any), after that a pop-up window with a list will appear

      • Scroll down in the pop-up window and select "Delete existing data when index is performed. Only data in the selected modules will be indexed.".
        This step is important. If you forget to select this checkbox, the re-index will fail (because it tries to refill an existing index, rather than re-creating it from scratch).

      • Confirm by clicking on the "Index" button. This will (re)create the index you need.

      • Now you should be able to install new modules again!

      Notes:



      • The name of the Elasticsearch index is based on the value of $sugar_config['unique_key'] in config.php. Changing this value and rebuilding the cache will result in Sugar looking for a new index name. You'll have to trigger a reindex as described above (unless you somehow rename the index in Elasticsearch, so that it will be found again).

      • The newly created index will possibly remain empty (which should be enough for module installs though) unless your cron/Schedulers are running. If the Elastic Search Scheduler is running it will fill the index with data within the next minutes/hours and you can use the search on the top right of Sugar.





      share|improve this answer





























        1














        1










        1









        Elasticsearch request failure: no such index [index: ...]


        This suggests that the Elasticsearch Index is missing (or corrupted).



        How to fix:



        • Log-on to Sugar with admin privileges

        • Go to Administration -> Search (or Global Search in some versions of Sugar)

        • Click the "Schedule System Index" button (and confirm the performance-related javascript alert, if any), after that a pop-up window with a list will appear

        • Scroll down in the pop-up window and select "Delete existing data when index is performed. Only data in the selected modules will be indexed.".
          This step is important. If you forget to select this checkbox, the re-index will fail (because it tries to refill an existing index, rather than re-creating it from scratch).

        • Confirm by clicking on the "Index" button. This will (re)create the index you need.

        • Now you should be able to install new modules again!

        Notes:



        • The name of the Elasticsearch index is based on the value of $sugar_config['unique_key'] in config.php. Changing this value and rebuilding the cache will result in Sugar looking for a new index name. You'll have to trigger a reindex as described above (unless you somehow rename the index in Elasticsearch, so that it will be found again).

        • The newly created index will possibly remain empty (which should be enough for module installs though) unless your cron/Schedulers are running. If the Elastic Search Scheduler is running it will fill the index with data within the next minutes/hours and you can use the search on the top right of Sugar.





        share|improve this answer















        Elasticsearch request failure: no such index [index: ...]


        This suggests that the Elasticsearch Index is missing (or corrupted).



        How to fix:



        • Log-on to Sugar with admin privileges

        • Go to Administration -> Search (or Global Search in some versions of Sugar)

        • Click the "Schedule System Index" button (and confirm the performance-related javascript alert, if any), after that a pop-up window with a list will appear

        • Scroll down in the pop-up window and select "Delete existing data when index is performed. Only data in the selected modules will be indexed.".
          This step is important. If you forget to select this checkbox, the re-index will fail (because it tries to refill an existing index, rather than re-creating it from scratch).

        • Confirm by clicking on the "Index" button. This will (re)create the index you need.

        • Now you should be able to install new modules again!

        Notes:



        • The name of the Elasticsearch index is based on the value of $sugar_config['unique_key'] in config.php. Changing this value and rebuilding the cache will result in Sugar looking for a new index name. You'll have to trigger a reindex as described above (unless you somehow rename the index in Elasticsearch, so that it will be found again).

        • The newly created index will possibly remain empty (which should be enough for module installs though) unless your cron/Schedulers are running. If the Elastic Search Scheduler is running it will fill the index with data within the next minutes/hours and you can use the search on the top right of Sugar.






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Mar 31 at 12:59

























        answered Mar 29 at 12:37









        JayJay

        1,5166 silver badges14 bronze badges




        1,5166 silver badges14 bronze badges





















            Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







            Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.




















            draft saved

            draft discarded















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55398684%2fno-such-index-error-in-elasticsearch-controller-when-loading-custom-module%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

            SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

            은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현