Professional Documents
Culture Documents
Zimbra Error Upgrade
Zimbra Error Upgrade
# https://wiki.zimbra.com/wiki/Best_Practices_for_executing_Package_Updates
# TG 2019/06/27
# Now do an update, but only upgrade (with auto-remove) if something was updated
sudo apt-get update && sudo apt-get dist-upgrade --yes
# restart Zimbra with full zimbra user environment, not that of the current user
sudo su - zimbra -c "zmcontrol restart"
# Tell user at the CLI if we need to restart, enhance later to email admin
if [ -f /var/run/reboot-required ]; then echo You should reboot; fi