[SOGo] Missing ) ...

This commit is contained in:
André 2018-07-12 14:19:06 +02:00
parent e06c3e87ee
commit e9f60bf06c
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ while [[ ${STATIC_VIEW_OK} != 'OK' ]]; do
STATIC_VIEW_OK=OK
echo "Updating _sogo_static_view content..."
mysql --host mysql -u ${DBUSER} -p${DBPASS} ${DBNAME} -B -e "REPLACE INTO _sogo_static_view SELECT * from sogo_view"
mysql --host mysql -u ${DBUSER} -p${DBPASS} ${DBNAME} -B -e "DELETE FROM _sogo_static_view WHERE c_uid NOT IN (SELECT username FROM mailbox WHERE active = '1'"
mysql --host mysql -u ${DBUSER} -p${DBPASS} ${DBNAME} -B -e "DELETE FROM _sogo_static_view WHERE c_uid NOT IN (SELECT username FROM mailbox WHERE active = '1')"
else
echo "Waiting for database initialization..."
sleep 3

View File

@ -146,7 +146,7 @@ services:
- phpfpm
sogo-mailcow:
image: mailcow/sogo:1.27
image: mailcow/sogo:1.28
build: ./data/Dockerfiles/sogo
environment:
- DBNAME=${DBNAME}