• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Elasticsearch Indexing Failed

#1
I am a beginner but I wanted to install Elasticsearch.
I do not know if anything installed incorrectly, or it was some addon but I can not build index.
Here I add logs:

XenForo_Exception: Elasticsearch indexing failed. See the server error log for more details. - library/XenES/Search/SourceHandler/ElasticSearch.php:1098

Stack Trace

#0 [patch]/public_html/library/XenES/Search/SourceHandler/ElasticSearch.php(76): XenES_Search_SourceHandler_ElasticSearch->_triggerFailedIndexError(Object(stdClass), Array)
#1 [patch]/public_html/library/XenForo/Search/Indexer.php(125): XenES_Search_SourceHandler_ElasticSearch->finalizeRebuildSet()
#2 [patch]/public_html/library/XenForo/Deferred/SearchIndex.php(76): XenForo_Search_Indexer->finalizeRebuildSet()
#3 [patch]/public_html/library/XenForo/Model/Deferred.php(295): XenForo_Deferred_SearchIndex->execute(Array, Array, 7.8947479724884, '')
#4 [patch]/public_html/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 7.8947479724884, '', false)
#5 [patch]/public_html/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, 7.8947489261627, '', false)
#6 [patch]/public_html/library/XenForo/ViewRenderer/Abstract.php(352): XenForo_Model_Deferred->run(true, 7.8947489261627)
#7 [patch]/public_html/library/XenForo/ViewRenderer/HtmlAdmin.php(131): XenForo_ViewRenderer_Abstract::hasManualDeferredToRun(true)
#8 [patch]/public_html/library/XenForo/FrontController.php(639): XenForo_ViewRenderer_HtmlAdmin->renderContainer(Object(XenForo_Template_Admin), Array)
#9 [patch]/public_html/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_Error), Object(XenForo_ViewRenderer_HtmlAdmin), Array)
#10 [patch]/public_html/admin.php(13): XenForo_FrontController->run()
#11 {main}

Request State

array (size=3)
'url' => string '[site]/admin.php?tools/run-deferred' (length=52)
'_GET' =>
array (size=1)
'tools/run-deferred' => string '' (length=0)
'_POST' =>
array (size=3)
'redirect' => string '[site]/admin.php?tools/rebuild&success=1' (length=57)
'execute' => string '1' (length=1)
'_xfToken' => string '********' (length=8)
Can anyone help with that?
 

Mike

XenForo developer
Staff member
#4
There will usually be another error in the XF server error log with this. However, if not, it may be worth checking the Elasticsearch log.

Can you do searches or does indexing work when you make a new post?