cancel
Showing results for 
Search instead for 
Did you mean: 

Setup Elasticsearch Error

Dalal_
Confirmed Champ
Confirmed Champ

I followed the steps provided in the documentation trying to setup the elasticsearch, once done I've tried to browse the elascticsearch section from the admin tab. When I click on it an error is triggered.

Here's my entire log

Elasticsearch configuration in nuxeo.conf:

##-----------------------------------------------------------------------------
## Elasticsearch configuration
##-----------------------------------------------------------------------------
## Enable or disable Elasticsearch integration, default is true.
#elasticsearch.enabled=false
## Remote elasticsearch cluster to join, comma separated list of nodes,
##  if empty use an embedded server, not for production !
#elasticsearch.addressList=localhost:9300
elasticsearch.addressList=localhost:9300
## Remote elasticsearch cluster name to join.
#elasticsearch.clusterName=elasticsearch
elasticsearch.clusterName=elasticsearch-nuxeo-dev
## Name of the Elasticsearch index for the default document repository
#elasticsearch.indexName=nuxeo
elasticsearch.indexName=nuxeo
## Number of replicas (not for embedded mode)
#elasticsearch.indexNumberOfReplicas=1
elasticsearch.indexNumberOfReplicas=0
## Display Elasticsearch cluster and nodes information in admin center
## default is false (always true for embedded mode)
#elasticsearch.adminCenter.displayClusterInfo=true

## Embedded elasticsearch server accept HTTP request on port 9200
##  use this for debug purpose only this is unsecure, default is false.
#elasticsearch.httpEnabled=true

## Comma separated list of CorePageProvider to supersede by Elasticsearch.
##  default is default_search.
#elasticsearch.override.pageproviders=default_search,document_content,section_content,document_content,tree_children,default_document_suggestion,simple_search,advanced_search,nxql_search,DEFAULT_DOCUMENT_SUGGESTION

## Enable or disable Elasticsearch as a backend for audit logs, default is false
audit.elasticsearch.enabled=true
9 REPLIES 9

Alain_ESCAFFRE
Star Contributor
Star Contributor

Doyou confirm you are using Nuxeo Platform 7.3?

ben_
Confirmed Champ
Confirmed Champ

Hi, I need some more information to help you: Is this a migration of an existing instance to 7.3 or a fresh 7.3 instance ? Have you customized the Elasticsearch mapping ? What is the version of your Elasticsearch instance ?

Regards ben

Dalal_
Confirmed Champ
Confirmed Champ

I'm using a fresh instance of Nuxeo 7.3, elasticsearch 1.5.2 and about the mapping are you talking about the elasticsearch-config.xml.nxftl file? I'll update the post and attach it.

ben_
Confirmed Champ
Confirmed Champ

Yes, please provide the elasticsearch-config.xml.nxftl file, if you have customized the file.

Dalal_
Confirmed Champ
Confirmed Champ

[ben](https

ben_
Confirmed Champ
Confirmed Champ

Thanks, the content of your file is exactly the same as the default contrib, can you first try to not override the Elasticsearch config.

[Dalal](https

Dalal_
Confirmed Champ
Confirmed Champ

[aescaffre ](https

Dalal_
Confirmed Champ
Confirmed Champ

Yes I confirm I'm using 7.3

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.