This commit is contained in:
Luis Guzman 2018-09-03 05:59:00 -05:00 committed by Daniel Hansson
parent a1e1993345
commit 19bb705c97
2 changed files with 5 additions and 5 deletions

View File

@ -104,9 +104,9 @@ chown -R www-data:www-data $NC_APPS_PATH
occ_command fulltextsearch:configure '{"search_platform":"OCA\\FullTextSearch_ElasticSearch\\Platform\\ElasticSearchPlatform"}'
occ_command fulltextsearch_elasticsearch:configure "{\"elastic_host\":\"http://${NCADMIN}:${ROREST}@localhost:9200\",\"elastic_index\":\"${NCADMIN}-index\"}"
occ_command files_fulltextsearch:configure "{\"files_pdf\":\"1\",\"files_office\":\"1\"}"
#if occ_command fulltextsearch:index
#then
#msg_box "Full Text Search was successfully installed!"
#fi
if occ_command fulltextsearch:index
then
msg_box "Full Text Search was successfully installed!"
fi
exit

2
lib.sh
View File

@ -114,7 +114,7 @@ APACHE2=/etc/apache2/apache2.conf
[ ! -z "$ES_INSTALL" ] && NCADMIN=$(sudo -u www-data php $NCPATH/occ user:list | awk '{print $3}')
[ ! -z "$ES_INSTALL" ] && ROREST=$(tr -dc "A-Za-z0-9" < /dev/urandom | fold -w "$SHUF" | head -n 1)
[ ! -z "$ES_INSTALL" ] && DOCKER_INS=$(dpkg -l | grep ^ii | awk '{print $2}' | grep docker)
[ ! -z "$ES_INSTALL" ] && nc_fts="ark74/nc_fts:latest"
[ ! -z "$ES_INSTALL" ] && nc_fts="ark74/nc_fts"
[ ! -z "$ES_INSTALL" ] && fts_es_name="fts_esror"
# Talk
[ ! -z "$TURN_INSTALL" ] && TURN_CONF="/etc/turnserver.conf"