Elasticsearch indexing error

Nirjonadda

Well-known member
Please can you let me know that how to fixing this Server error logs?

Code:
XFES\Elasticsearch\RequestException: Elasticsearch indexing error (queued): index [nadda_forumdata] blocked by: [FORBIDDEN/12/index read-only / allow delete (api)]; src/addons/XFES/Elasticsearch/Api.php:409

Generated by: mehedi365 Sep 7, 2019 at 1:02 AM

Stack trace

#0 src/addons/XFES/Elasticsearch/Api.php(330): XFES\Elasticsearch\Api->request('put', 'nadda_forumdata...', '{
    "title": ...')
#1 src/addons/XFES/Elasticsearch/Api.php(348): XFES\Elasticsearch\Api->requestFromIndex('put', '_doc/post-86791...', Array)
#2 src/addons/XFES/Elasticsearch/Api.php(152): XFES\Elasticsearch\Api->requestById('put', 'post', 867912, Array)
#3 src/addons/XFES/Search/Source/Elasticsearch.php(66): XFES\Elasticsearch\Api->index('post', 867912, Array)
#4 src/XF/Search/Search.php(40): XFES\Search\Source\Elasticsearch->index(Object(XF\Search\IndexRecord))
#5 src/XF/Behavior/Indexable.php(46): XF\Search\Search->index('post', Object(SV\ChangePostDate\XF\Entity\Post), false)
#6 src/XF.php(290): XF\Behavior\Indexable->XF\Behavior\{closure}()
#7 src/XF/Mvc/Dispatcher.php(143): XF::triggerRunOnce(true)
#8 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#9 src/XF/App.php(2178): XF\Mvc\Dispatcher->run()
#10 src/XF.php(390): XF\App->run()
#11 index.php(20): XF::runApp('XF\\Pub\\App')
#12 {main}

Request state

array(4) {
  ["url"] => string(24) "/threads/30770/add-reply"
  ["referrer"] => string(37) "/threads/30770/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(8) {
    ["message_html"] => string(41) "<p>Thanks&nbsp;</p><p>Valo ekti lekha</p>"
    ["last_date"] => string(10) "1552464686"
    ["last_known_date"] => string(10) "1562871873"
    ["klPage"] => string(0) ""
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(15) "/threads/30770/"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 

beerForo

Active member
You can read the entire thread I linked to.

I use this add-on:

 
Last edited:

beerForo

Active member
You can also try this

and make sure you're on the latest.
 
Top