Fixes #3808 - Regression of #3797 causes installation of new instances from package to fail.

This commit is contained in:
Thorsten Eckel 2021-10-14 08:31:04 +02:00
parent 2bd4ceeedf
commit 405b80cbe2

View file

@ -273,10 +273,11 @@ function elasticsearch_searchindex_rebuild () {
function update_or_install () {
if [ -f ${ZAMMAD_DIR}/config/database.yml ]; then
echo "# Clear cache..."
zammad run rails r Cache.clear
if [ -f ${ZAMMAD_DIR}/config/database.yml ]; then
update_database
update_translations