From 905bdd512b0015837df64e4fca976d9fcf930cc9 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Fri, 8 Oct 2021 09:30:34 +0200 Subject: [PATCH] Fixes #3797 - OS package upgrade fails (activity_stream_object_id) --- contrib/packager.io/functions | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/packager.io/functions b/contrib/packager.io/functions index 362d065d9..a8d9dcae2 100644 --- a/contrib/packager.io/functions +++ b/contrib/packager.io/functions @@ -273,6 +273,9 @@ function elasticsearch_searchindex_rebuild () { function update_or_install () { + echo "# Clear cache..." + zammad run rails r Cache.clear + if [ -f ${ZAMMAD_DIR}/config/database.yml ]; then update_database