VeggieMeat / search_api_elasticsearch

Clone of project at drupal.org/project/search_api_elasticsearch for better CI options than what D.O offers
16 stars 8 forks source link

Couldn't index items. Check the logs for details. #39

Closed VeggieMeat closed 9 years ago

VeggieMeat commented 10 years ago

Original issue: https://www.drupal.org/node/2333157

I created a Search Server and an Index.
If I click 'save settings' on the edit page of the search api server, I get following notices:

Notice: Undefined index: host in SearchApiElasticsearchService->configurationFormValidate() (line 251 of /vagrant/www/gambino/sites/all/modules/contrib/search_api_elasticsearch/service.inc).
You must enter a valid IP address for the elasticsearch daemon.
Notice: Undefined index: port in SearchApiElasticsearchService->configurationFormValidate() (line 256 of /vagrant/www/gambino/sites/all/modules/contrib/search_api_elasticsearch/service.inc).
You must enter a valid Port (between 0 and 65535) for the elasticsearch daemon.

But in the host field 127.0.0.1 is added, the same for the port field (it contains 9200).

If I click on 'index now' on the view page of the index, I get this:

Couldn't index items. Check the logs for details.

But I don't receive any apache2 log entries nor does Drupal recent log messages give anything.
Visiting the elastic search with my browser on port 9200 works, cause I get some JSON.

Does anyone know what to do?