fix elasticsearch setting on update
This commit is contained in:
parent
fbf6133dfd
commit
0dec2e5045
1 changed files with 2 additions and 0 deletions
|
@ -228,6 +228,8 @@ function create_webserver_config () {
|
|||
function setup_elasticsearch () {
|
||||
echo "# Configuring Elasticsearch..."
|
||||
|
||||
ES_CONNECTION="$(zammad run rails r "puts Setting.get('es_url')" 2>> /dev/null)"
|
||||
|
||||
if [ -n "$(/usr/share/elasticsearch/bin/elasticsearch-plugin list | grep mapper-attachments)" ]; then
|
||||
REBUILD_ES_SEARCHINDEX="yes"
|
||||
|
||||
|
|
Loading…
Reference in a new issue