elasticsearch Crafter CMS Elastic Search

vvppvyoh  于 2023-10-17  发布在  ElasticSearch
关注(0)|答案(1)|浏览(158)

所以我在我的编辑工作室里更新了一个模板并发布了它。为什么当我打开模板上的电子邮件发送的内容没有更新在我的应用程序。但是,当我跟踪到路径repos上的Charter创作和交付VM时,它已经更新了(我打开了repos上的. xml文件)。从我的快递日志中,我得到了这个错误:
Caused by:org. jittercms. search. elasticsearch. exception. ElasticsearchException:[**]在以下位置索引文档////. xml时出错:在以下位置:在以下位置:在以下位置:在以下位置:15更多原因:org.craftercms.search.elasticsearch.exception.ElasticsearchException:[**]删除文档/**. xml时出错,位于org. ElasticsearchServiceImpl. doDelete(ElasticsearchServiceImpl. java:279),位于org. ElasticsearchServiceImpl. doIndex(ElasticsearchServiceImpl. java:204). 18更多起因:ElasticsearchStatusException [Elasticsearch exception [type = cluster_block_exception,reason = blocked by:[FORBIDDEN/12/index read-only/allow delete(API)];]] at org. elasticsearch。休息BytesRestResponse。errorFromXContent(BytesRestResponse.java:177)at org. elasticsearch。客户。RestHighLevelClient。org上的parseEntity(RestHighLevelClient.java:2050)。elasticsearch。客户。RestHighLevelClient。org上的parseResponseException(RestHighLevelClient.java:2026)。elasticsearch。客户。RestHighLevelClient。internalPerformRequest(RestHighLevelClient.java:1775)at org. elasticsearch。客户。RestHighLevelClient。performRequest(RestHighLevelClient.java:1732)at org. elasticsearch。客户。RestHighLevelClient。在org上执行RequestAndParseEntity(RestHighLevelClient.java:1694)。elasticsearch。客户。RestHighLevelClient。delete(RestHighLevelClient.java:1042)at org.-是的搜索。elasticsearch。实施ElasticsearchServiceImpl. doDelete(ElasticsearchServiceImpl.java:277)... 19更被压制:org.elasticsearch.client.ResponseException:方法[URL],主机[http://localhost:9202],URI [/*?超时= 1m],状态行[HTTP/1.1 403禁止]{"错误":{"根本原因":[{"类型":"群集块异常","原因":"阻止者:[FORBIDDEN/12/index read-only/allow delete(API)];"}],"type":"cluster_block_exception","reason":"阻塞者:[FORBIDDEN/12/index read-only/allow delete(API)];"},"状态":403} at org. elasticsearch. client. RestClient $SyncResponseRequest. get(RestClient.java:929)at org. elasticsearch. client. RestClient. performRequest(RestClient.java:229)at org. elasticsearch. client. RestHighLevelClient. internalPerformRequest(RestHighLevelClient.java:1762). 23更多Caused by:org.elasticsearch.client.ResponseException:方法[URL],主机[http://localhost:9202],URI [/*?超时= 1m],状态行[HTTP/1.1 403禁止]{"错误":{"根本原因":[{"类型":"群集块异常","原因":"阻止者:[FORBIDDEN/12/index read-only/allow delete(API)];"}],"type":"cluster_block_exception","reason":"阻塞者:[FORBIDDEN/12/index read-only/allow delete(API)];"},"状态":403} at org.elasticsearch.client.RestClient$1.completed(RestClient.java:548)at org.elasticsearch.client.RestClient$1.completed(RestClient.java:533)at org.Apachehttp.同时进行。基本未来。在org上完成(BasicFuture.java:122)。Apachehttp.实施nio。客户。DefaultClientExchangeHandlerImpl. responseCompleted(DefaultClientExchangeHandlerImpl.java:181)at org.Apachehttp. nio。协议。HttpAsyncRequestExecutor。processResponse(HttpAsyncRequestExecutor.java:448)at org.Apachehttp. nio。协议。HttpAsyncRequestExecutor。inputReady(HttpAsyncRequestExecutor.java:338)at org.Apachehttp.实施nio。DefaultNHttpClientConnection。consumeInput(DefaultNHttpClientConnection.java:265)at org.Apachehttp.实施nio。客户。InternalIODispatch。onInputReady(InternalIODispatch.java:81)at org.Apachehttp.实施nio。客户。InternalIODispatch。onInputReady(InternalIODispatch.java:39)at org.Apachehttp.实施nio。React堆AbstractIODispatch. inputReady(AbstractIODispatch.java:114)at org.Apachehttp.实施nio。React堆BaseIOReactor。在org上可读(BaseIOReactor.java:162)。Apachehttp.实施nio。React堆AbstractIOReactor. processEvent(AbstractIOReactor.java:337)at org.Apachehttp.实施nio。React堆AbstractIOReactor. processEvents(AbstractIOReactor.java:315)at org.Apachehttp.实施nio。React堆AbstractIOReactor. execute(AbstractIOReactor.java:276)at org.Apachehttp.实施nio。React堆BaseIOReactor。在org上执行(BaseIOReactor.java:104)。Apachehttp.实施nio。React堆AbstractMultiworkerIOReactor $Worker.run(AbstractMultiworkerIOReactor.java:591).还有一个1口译

我看过了,这可能是由于磁盘空间不足或ElasticSearch配置和索引设置造成的,但我只使用了10%的空间,并且整个集群还没有设置只读模式。我该怎么办?

vtwuwzda

vtwuwzda1#

类似于https://groups.google.com/g/craftercms/c/TQ0qL6t4Irw
在高级别上,CrafterCMS不能 * 写 * 到Elasticsearch索引。考虑调查Elasticsearch的配置/设置,以更好地理解它为什么这样做。

相关问题