mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
Check for version tag before install
Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
This commit is contained in:
parent
ecf78fc036
commit
d68324ec44
@ -24,7 +24,7 @@ debug_mode
|
||||
root_check
|
||||
|
||||
# Nextcloud 21 is required.
|
||||
lowest_compatible_nc 21
|
||||
lowest_compatible_nc 26
|
||||
|
||||
# Check if Full Text Search is already installed
|
||||
if ! does_this_docker_exist docker.elastic.co/elasticsearch/elasticsearch && ! is_app_installed fulltextsearch
|
||||
@ -61,6 +61,13 @@ else
|
||||
removal_popup "$SCRIPT_NAME"
|
||||
fi
|
||||
|
||||
# Check if version tag is available
|
||||
if [ ! -n "$FULLTEXTSEARCH_IMAGE_NAME_LATEST_TAG" ]
|
||||
then
|
||||
msg_box "The Elasticsearch version tag is not available, please report this to $ISSUES"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Test RAM size (4GB min) + CPUs (min 2)
|
||||
ram_check 4 FullTextSearch
|
||||
cpu_check 2 FullTextSearch
|
||||
|
||||
Loading…
Reference in New Issue
Block a user