Skip to content

Commit cab111a

Browse files
Fixed elasticsearch tag download issu
1 parent 145534e commit cab111a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ fulltextsearch_install() {
179179
FULLTEXTSEARCH_SERVICE=nextcloud-fulltext-elasticsearch-worker.service
180180
# 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.
181181
# Maybe "10\\.[[:digit:]][[:digit:]]\\.[[:digit:]]" will work?
182-
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)"
182+
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)"
183183
# Legacy, changed 2023-09-21
184184
DOCKER_IMAGE_NAME=es01
185185
# Legacy, not used at all

0 commit comments

Comments
 (0)