From 1dabc03a8e8ed5b05d59fe938510659635f86d03 Mon Sep 17 00:00:00 2001 From: Rey Tucker Date: Thu, 4 Jun 2020 13:47:01 -0400 Subject: [PATCH] Upgrade ElasticSearch to 6.8.9 (glitch-soc#1348) Since tootsuite#13828, ElasticSearch has been failing to work properly, throwing the following: ``` Elasticsearch::Transport::Transport::Errors::BadRequest ([400] {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"request [/tags/tag/_search] contains unrecognized parameter: [rest_total_hits_as_int]"}],"type":"illegal_argument_exception","reason":"request [/tags/tag/_search] contains unrecognized parameter: [rest_total_hits_as_int]"},"status":400}) ``` This commit is based entirely on: https://github.com/lo48576/mastodon/commit/1209f3e7c2911bb36061b38307540178db1e9945 --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 86996cda97284a..d7c845891180a3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -25,7 +25,7 @@ services: es: restart: always - image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.1.3 + image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.8.9 environment: - bootstrap.memory_lock=true - "ES_JAVA_OPTS=-Xms512m -Xmx512m"