From 441b4eaaeb8d6282ee2ea3f1a32290e672e1a2e0 Mon Sep 17 00:00:00 2001 From: JackGlobetrotter <13721656+JackGlobetrotter@users.noreply.github.com> Date: Tue, 17 Sep 2024 23:01:18 +0000 Subject: [PATCH] Fixed elasticsearch tag download issue (#2673) Co-authored-by: JackGlobetrotter --- lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.sh b/lib.sh index 80a71fc3..da2cdcf3 100644 --- a/lib.sh +++ b/lib.sh @@ -179,7 +179,7 @@ fulltextsearch_install() { FULLTEXTSEARCH_SERVICE=nextcloud-fulltext-elasticsearch-worker.service # Supports 0-9.0-99.0-9. Max supprted version with this function is 9.99.9. When ES 10.0.0 is out we have a problem. # Maybe "10\\.[[:digit:]][[:digit:]]\\.[[:digit:]]" will work? - FULLTEXTSEARCH_IMAGE_NAME_LATEST_TAG="$(curl -s -m 900 https://www.docker.elastic.co/r/elasticsearch | grep -Eo "[[:digit:]]\\.[[:digit:]][[:digit:]]\\.[[:digit:]]" | sort --version-sort | tail -1)" + FULLTEXTSEARCH_IMAGE_NAME_LATEST_TAG="$(curl -s -m 900 https://www.docker.elastic.co/r/elasticsearch?limit=500 | grep -Eo "[[:digit:]]\\.[[:digit:]][[:digit:]]\\.[[:digit:]]" | sort --version-sort | tail -1)" # Legacy, changed 2023-09-21 DOCKER_IMAGE_NAME=es01 # Legacy, not used at all