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 da22f4b1bd
commit df6fe54b66

View file

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