<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Elasticserach error</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121667616" />
  <subtitle>Elasticserach error</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121667616</id>
  <updated>2026-04-04T07:31:46Z</updated>
  <dc:date>2026-04-04T07:31:46Z</dc:date>
  <entry>
    <title>RE: Elasticserach error</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121673420" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121673420</id>
    <updated>2023-05-17T07:12:10Z</updated>
    <published>2023-03-21T02:58:40Z</published>
    <summary type="html">&lt;p&gt;When you restored the prod db to dev, you restored the OSGi configuration.&lt;/p&gt;
&lt;p&gt;Liferay uses the last updated source (file or UI), so even if you
  have a .config file that points to a dev ES, I'm sure if you check in
  the control panel that the prod ES is listed, and the failure points
  to the dev server not being able to connect to the prod instance.&lt;/p&gt;
&lt;p&gt;Just update your configuration so it points at the dev instance of
  ES, reindex, then you should be right as rain.&lt;/p&gt;</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2023-03-21T02:58:40Z</dc:date>
  </entry>
  <entry>
    <title>RE: Elasticserach error</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121668379" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121668379</id>
    <updated>2023-03-13T17:45:41Z</updated>
    <published>2023-03-11T09:53:17Z</published>
    <summary type="html">&lt;p&gt;I would first check if Elasticsearch is available. Is the server
  running, reachable and working? What does the Search page (In the
  Menu, Control Panel -&amp;gt; Search) say. Is it Green?&lt;/p&gt;
&lt;p&gt;Second, I would check the logs on the Elasticsearch server. Maybe an
  error there gives some hints.&lt;/p&gt;</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2023-03-11T09:53:17Z</dc:date>
  </entry>
  <entry>
    <title>Elasticserach error</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121667615" />
    <author>
      <name>Scarletake Bwi</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121667615</id>
    <updated>2023-03-10T19:27:50Z</updated>
    <published>2023-03-10T08:32:14Z</published>
    <summary type="html">&lt;p&gt;hi &lt;/p&gt;
&lt;p&gt;i am using liferay 7.4 ga31. now i backup db from prud and resotre to
  dev, after i restart server, basically, it work fine, but there has an
  error seems form elasticserach.&lt;/p&gt;
&lt;pre&gt;
&lt;code class="language-java"&gt;2023-03-10 08:24:01.737 ERROR [https-jsse-nio-443-exec-26][BulkDocumentRequestExecutorImpl:57] failure in bulk execution:_[0]: index [liferay-36339], type [LiferayDocumentType], id [com.liferay.portal.kernel.model.Layout_PORTLET_263], message [ElasticsearchException[Elasticsearch exception [type=unavailable_shards_exception, reason=[liferay-36339][0] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[liferay-36339][0]] containing [2] requests and a refresh]]]]_[1]: index [liferay-36339], type [LiferayDocumentType], id [com.liferay.portal.kernel.model.Layout_PORTLET_263], message [ElasticsearchException[Elasticsearch exception [type=unavailable_shards_exception, reason=[liferay-36339][0] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[liferay-36339][0]] containing [2] requests and a refresh]]]] [Sanitized]
2023-03-10 08:24:01.743 ERROR [https-jsse-nio-443-exec-26][ElasticsearchIndexWriter:361] Update failed
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;all funciton still work well.&lt;/p&gt;
&lt;p&gt;why it's happen and how to fix it?&lt;/p&gt;</summary>
    <dc:creator>Scarletake Bwi</dc:creator>
    <dc:date>2023-03-10T08:32:14Z</dc:date>
  </entry>
</feed>
