AnsweredAssumed Answered

CheckFTSConfig and Elasticsearch upgrade fail

Question asked by Mike Papageorge on Nov 21, 2019
Latest reply on Nov 21, 2019 by Mike Papageorge

Hi everyone,

 

I have a Sugar 7.9.4 and am upgrading to 8.0. It is specifically failing at the CheckFTSConfig phase in the pre-checks. The meesages are:

 

[Upgrader] - ERROR: Unable to get server status: Unknown error:52
[Upgrader] - ERROR: Connection test for Elastic Full Text Search engine failed. Check your FTS configuration.

 

I have pointed the following variables to an externally hosted ES 5.6:

 

$sugar_config['full_text_engine']['Elastic']['host'] = 'ip.add.re.ss';
$sugar_config['full_text_engine']['Elastic']['port'] = '9200';

 

I can curl ala "curl -X GET 'http://ip.add.re.ss:9200'" from the Sugar server and get the appropriate response - so there are no firewall or other issues - and I can do the same from a simple PHP curl test, so phpCurl is fine too. 

Looking around though, "Unknown error:52" seems to be "Curl gives this error when there is no reply from a server". The only thing I can think of is that it is checking https://ip.add.re.ss:9200 which does not return the expected value (but it still returns something). 

Does anyone have any ideas? I could just install 5.6 on the machine local to Sugar, but that isn't what our set up is, we have ES on a different machine. 

Outcomes