Follow up on FTS PR (#2211)

This commit is contained in:
Daniel Hansson 2022-01-31 13:52:39 +01:00 committed by GitHub
parent 148414d450
commit bf6e55fea3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 4 deletions

View File

@ -13,6 +13,7 @@ source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercont
ncdb
nc_update
opensearch_install
ncdomain
# Check for errors + debug code and abort if something isn't right
# 1 = ON

9
lib.sh
View File

@ -4,6 +4,7 @@
# GNU General Public License v3.0
# https://github.com/nextcloud/vm/blob/master/LICENSE
# shellcheck disable=SC2034
true
# see https://github.com/koalaman/shellcheck/wiki/Directive
@ -106,8 +107,6 @@ NCUSER=ncadmin
UNIXUSER=$SUDO_USER
UNIXUSER_PROFILE="/home/$UNIXUSER/.bash_profile"
ROOT_PROFILE="/root/.bash_profile"
# Name in trusted_config
NCDOMAIN=$(nextcloud_occ_no_check config:system:get overwrite.cli.url | sed 's|https://||;s|/||')
# User for Bitwarden
BITWARDEN_USER=bitwarden
BITWARDEN_HOME=/home/"$BITWARDEN_USER"
@ -178,11 +177,15 @@ opensearch_install() {
fts_node="fts_os-node"
}
create_certs(){
download_script APPS opensearch_certs
download_script APP opensearch_certs
check_command sed -i "s|__NCDOMAIN__|$1|" "$SCRIPTS"/opensearch_certs.sh
check_command bash "$SCRIPTS"/opensearch_certs.sh
rm -f "$SCRIPTS"/opensearch_certs.sh
}
# Name in trusted_config
ncdomain() {
NCDOMAIN=$(nextcloud_occ_no_check config:system:get overwrite.cli.url | sed 's|https://||;s|/||')
}
# Talk
turn_install() {
TURN_CONF="/etc/turnserver.conf"

View File

@ -48,7 +48,7 @@ $CHECKLIST_GUIDE\n\n$RUN_LATER_GUIDE" "$WT_HEIGHT" "$WT_WIDTH" 4 \
"Notify Push" "(High Performance Files Backend for Nextcloud)" OFF \
"Talk" "(Video calls and chat for Nextcloud)" OFF \
"Netdata" "(Real-time server monitoring in Web GUI)" OFF \
"FullTextSearch" "(Elasticsearch for Nextcloud [2GB RAM])" OFF \
"FullTextSearch" "(Search for text inside documents [4GB RAM])" OFF \
"BPYTOP" "(Real-time server monitoring in CLI)" OFF \
"ClamAV" "(Antivirus for Nextcloud and files)" OFF \
"Midnight Commander" "(CLI file manager)" OFF \

View File

@ -586,6 +586,7 @@ $DOCKER_RUN_OUTPUT"
docker_update_specific 'onlyoffice' 'OnlyOffice'
# Full Text Search
docker_update_specific 'fts_esror' 'Full Text Search'
docker_update_specific 'fts_os-node' 'Full Text Search'
# Plex
docker_update_specific 'plex' "Plex Media Server"
fi