From ff03e664dbb4a65da92b372eac68dd3e897c86b6 Mon Sep 17 00:00:00 2001 From: benrubson <6764151+benrubson@users.noreply.github.com> Date: Tue, 28 Sep 2021 21:03:29 +0200 Subject: [PATCH] Fixes #2674, closes #3775 - Zammad preflight check warning output causes Syntax-Error in postinstall.sh and failing installation. --- contrib/packager.io/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/packager.io/functions b/contrib/packager.io/functions index 2847672f5..362d065d9 100644 --- a/contrib/packager.io/functions +++ b/contrib/packager.io/functions @@ -228,7 +228,7 @@ function create_webserver_config () { function setup_elasticsearch () { echo "# Configuring Elasticsearch..." - ES_CONNECTION="$(zammad run rails r "puts Setting.get('es_url')"| tail -n 1 2>> /dev/null)" + ES_CONNECTION="$(zammad run rails r "puts '',Setting.get('es_url')"| tail -n 1 2>> /dev/null)" if [ -z "${ES_CONNECTION}" ]; then echo "-- Nevermind, no es_url is set, leaving Elasticsearch untouched ...!"