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

Elasticsearch 6 Released

Nirjonadda

Well-known member
#1
Elasticsearch Version: 6.0.0 Released in November 14, 2017

View release notes.

Want to upgrade? We'll give you a hand. Upgrade Guidance » Upgrade From 5.x To 6.x on Centos 7 with this steps.

Download and install the public signing key:

Code:
rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
Installing from the RPM repository

Create a file called elasticsearch.repo in the /etc/yum.repos.d/ directory for RedHat based distributions, or in the /etc/zypp/repos.d/ directory for OpenSuSE based distributions, containing:

Code:
[elasticsearch-6.x]
name=Elasticsearch repository for 6.x packages
baseurl=https://artifacts.elastic.co/packages/6.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
Then Run:

Code:
yum update
That will Upgraded elasticsearch 6 from elasticsearch 5.x and Reindex for this Upgrading.
 

estranged

Well-known member
#2
With version 6.0, The "optimize mappings" warning always appears in elasticsearch setup page. The warning does not go away after clicking the button like it used to.

Any ideas?
 

estranged

Well-known member
#5
[2017-11-19T19:00:33,723][DEBUG][o.e.a.a.i.m.p.TransportPutMappingAction] [x] failed to put mappings on indices [[[x/dMaUGaugRgy6Fhz0Ozr1SQ]]], type [xengallery_media]
org.elasticsearch.index.mapper.MapperParsingException: No handler for type [string] declared on field [title]
Seems to be an issue with xengallery.

Any ideas @Chris D ?
 
Last edited:

estranged

Well-known member
#6
And there are several of these in error log:

XenForo_Exception: Elasticsearch indexing failed Elasticsearch error: The bulk request must be terminated by a newline [ ] - library/XenES/Search/SourceHandler/ElasticSearch.php:1062


#0 /home/x/public_html/library/XenES/Search/SourceHandler/ElasticSearch.php(1185): XenES_Search_SourceHandler_ElasticSearch->_logSearchResponseError(Object(stdClass), false, 'Elasticsearch i...')
#1 /home/x/public_html/library/XenES/Search/SourceHandler/ElasticSearch.php(117): XenES_Search_SourceHandler_ElasticSearch->_triggerFailedIndexError(Object(stdClass), Array, true)
#2 /home/x/public_html/library/XenForo/Search/Indexer.php(105): XenES_Search_SourceHandler_ElasticSearch->deleteFromIndex('post', Array)
#3 /home/x/public_html/library/XenForo/Search/DataHandler/Post.php(99): XenForo_Search_Indexer->deleteFromIndex('post', Array)
#4 /home/x/public_html/library/XenForo/Search/DataHandler/Abstract.php(316): XenForo_Search_DataHandler_Post->_deleteFromIndex(Object(XenForo_Search_Indexer), Array)
#5 /home/x/public_html/library/XenForo/DataWriter/Discussion.php(731): XenForo_Search_DataHandler_Abstract->deleteFromIndex(Object(XenForo_Search_Indexer), Array)
#6 /home/x/public_html/library/XenForo/DataWriter/Discussion.php(790): XenForo_DataWriter_Discussion->_deleteFromSearchIndex()
#7 /home/x/public_html/library/XenForo/DataWriter.php(1793): XenForo_DataWriter_Discussion->_postDelete()
#8 /home/x/public_html/library/XenForo/Model/Thread.php(2008): XenForo_DataWriter->delete()
#9 /home/x/public_html/library/SV/ReportImprovements/XenForo/Model/Thread.php(10): XenForo_Model_Thread->deleteThread(77910, 'hard', Array)
#10 /home/x/public_html/library/XenStop/AdvArchiver/CronEntry/ArchiveThreads.php(64): SV_ReportImprovements_XenForo_Model_Thread->deleteThread(77910, 'hard', Array)
#11 /home/x/public_html/library/XenForo/Model/Cron.php(356): XenStop_AdvArchiver_CronEntry_ArchiveThreads::run(Array)
#12 /home/x/public_html/library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
#13 /home/x/public_html/library/XenForo/Model/Deferred.php(295): XenForo_Deferred_Cron->execute(Array, Array, 50, '')
#14 /home/x/public_html/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 50, '', false)
#15 /home/x/public_html/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, '50', '', false)
#16 /home/x/public_html/deferred.php(23): XenForo_Model_Deferred->run(false)
#17 {main}
Request State
array(3) {
["url"] => string(33) "https://x/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(12) "/konu/82789/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}