Fixes #3797 - OS package upgrade fails (activity_stream_object_id)

This commit is contained in:
Martin Edenhofer 2021-10-08 09:30:34 +02:00 committed by Thorsten Eckel
parent fd99f097d5
commit 905bdd512b

View file

@ -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