HTTP: 503 Service Unavailable  Search engine is temporarily unavailable- Global Search

Hi All

                I have recentely upgraded to sugarcrm 7.7.I am getting HTTP: 503 Service Unavailable  Search engine is temporarily unavailable - Global Search

in my global search.Can you please give inputs in debugging this error.

Regards

Sidhu

Parents
  • Sidhu,

    The first thing I recommend that you do is to rebuild the Full Text Search Index.  You can do this by going to Admin > Search > Schedule System Index > Click OK > Check the checkbox for "Delete existing data when index is performed" > Click Index. 

    It may take a little while for the index to build, but hopefully, this will clear up the errors for you.

    Lori

  • Hi Lori Arce

                             Thanks for your reply .I have recently upgraded to 7.1.1 i have found that on clicking the test button there is a connection problem between the server to which i am pointing out the elastic search and we are checking it.

                              In our crm we are unable to find the option Admin > Search > Schedule System Index.There is only save and cancel button.Can you please update if this is any issue.

    Regards

    Sidhu

Reply
  • Hi Lori Arce

                             Thanks for your reply .I have recently upgraded to 7.1.1 i have found that on clicking the test button there is a connection problem between the server to which i am pointing out the elastic search and we are checking it.

                              In our crm we are unable to find the option Admin > Search > Schedule System Index.There is only save and cancel button.Can you please update if this is any issue.

    Regards

    Sidhu

Children
  • Sidhu,

    I would check the following:

    1. From the SugarCRM server, go to the config.php file and view the contents of the full_text_engine array.  It should look something like:

    array (
        'Elastic' =>
        array (
          'host' => 'localhost',
          'port' => '9200',
        ),

    Then open a web browser and type in the web address of your elasticsearch server.  Following the example above I would type: localhost:9200

    If Elasticsearch is running, it should produce an output such as:

    {
      "status" : 200,
      "name" : "Holly",
      "cluster_name" : "elasticsearch",
      "version" : {
        "number" : "1.4.4",
        "build_hash" : "c88f77ffc81301dfa9dfd81ca2232f09588bd512",
        "build_timestamp" : "2015-02-19T13:05:36Z",
        "build_snapshot" : false,
        "lucene_version" : "4.10.3"
      },
      "tagline" : "You Know, for Search"
    }

    If Elasticsearch is not running, then you will need to launch it and then perform the above step again.  If Elasticsearch is running, be sure that you are using the proper Elasticsearch version.  Elasticsearch Version 1.4.4 is the only version that is supported to work with Sugar 7.7.1.1.  Please review the following page for more information.

    Let me know if any of this information is helpful.

    Lori

  • Hi Lori Arce

                       I have done the system index

    Also made the elastic scheduler active

    But what i get is this in error.log file

     PHP Fatal error:  Wrong parameters for Exception([string $exception [, long $code [, Exception $previous = NULL]]]) in /<>/vendor/ruflin/elastica/lib/Elastica/Exception/ResponseException.php on line 41, referer: http:/<>/index.php?module=Administration&action=GlobalSearchSettings

    Regards

    Sidhu

  • Hi Lori Arce

             Can you please find the steps

    1.Setting up the elastic search in the server:

    2.I have set up the cron to run(Does elastic scheduler be active before doing step number 3?)

    3.Testing the search

    ->It has asked to perfom the system indexing.I have done this

    4.when i search from home page for an account which is enabled in the admin->search.I get

    HTTP: 500 Internal Server Error

    A search engine runtime error occurred. Please contact your System Administrator.

    Regards

    Sidhu