Merge pull request #2334 from nextcloud/enh/noid/disable-fts-on-nc26

disabling FTS on NC26 as the migration to ES8 is still pending
This commit is contained in:
Simon L 2023-04-14 15:14:01 +02:00 committed by GitHub
commit cab39e59be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -616,6 +616,11 @@ if version_greater "$installed_version" "24.0.0.0"; then
fi
fi
# Migration to ES8 is pending, thus disabling FTS for now.
if [ "$INSTALL_LATEST_MAJOR" = yes ] || version_greater "$installed_version" "26.0.0.0"; then
export FULLTEXTSEARCH_ENABLED=no
fi
# Fulltextsearch
if [ "$FULLTEXTSEARCH_ENABLED" = 'yes' ]; then
while ! nc -z "$FULLTEXTSEARCH_HOST" 9200; do