Upgrade from 8.8.8p6 to 8.8.9 failed

Ask questions about your setup or get help installing ZCS server (ZD section below).
User avatar
msquadrat
Advanced member
Advanced member
Posts: 165
Joined: Mon Oct 14, 2013 10:09 am

Upgrade from 8.8.8p6 to 8.8.9 failed

Postby msquadrat » Fri Jul 13, 2018 8:34 am

Hi folks,

just a quick heads up: I just tried to upgrade our first 8.8.8 test system to 8.8.9 (based on Ubuntu 16.04) and it failed due to a package conflict. The install.log says

Code: Select all

dpkg: considering removing zimbra-mbox-admin-common in favour of zimbra-mbox-admin-console-war ...
Package zimbra-mbox-admin-common is on hold, not touching it.  Use --force-hold to override.
dpkg: regarding .../zimbra-mbox-admin-console-war_1.0.0.1528703004-1.u16_amd64.deb containing zimbra-mbox-admin-console-war:
 zimbra-mbox-admin-console-war conflicts with zimbra-mbox-admin-common
  zimbra-mbox-admin-common (version 1.0.0.1521723166-1.u16) is present and installed.

dpkg: error processing archive /usr/local/src/zcs-NETWORK-8.8.9_GA_2055.UBUNTU16_64.20180703080917/packages/zimbra-mbox-admin-console-war_1.0.0.1528703004-1.u16_amd64.deb (--install):
 conflicting packages - not installing zimbra-mbox-admin-console-war
 …
 Configuring zimbra-network-modules-ng
Checking mailboxd running.
mailboxd is not running.
Mailbox is not running...

Please deploy zimlets after starting up the mailbox.
Run as zimbra user
zmzimletctl -l deploy /opt/zimbra/zimlets/com_zextras_zextras.zip
zmzimletctl -l deploy /opt/zimbra/zimlets/com_zextras_client.zip
zmmailboxdctl restart
Errors were encountered while processing:
 /usr/local/src/zcs-NETWORK-8.8.9_GA_2055.UBUNTU16_64.20180703080917/packages/zimbra-mbox-admin-console-war_1.0.0.1528703004-1.u16_amd64.deb


The installer ends with

Code: Select all

ERROR: Unable to install required packages
WARNING: REMOTE PACKAGE INSTALLATION FAILED.
To proceed, review the instructions at:
https://wiki.zimbra.com/wiki/Recovering_from_upgrade_failure
Failure to follow the instructions on the wiki will result in complete data loss.


I'll see how good that linked document is and try to find out what the actual issue was. Luckily this was only a test system :-)


User avatar
msquadrat
Advanced member
Advanced member
Posts: 165
Joined: Mon Oct 14, 2013 10:09 am

Re: Upgrade from 8.8.8p6 to 8.8.9 failed

Postby msquadrat » Fri Jul 13, 2018 9:08 am

Ok, I found the error and got the system up and running again based on the linked article (and ignoring the scary warnings about the hosed license file).

The core issue: Since the switch to package updates from the repos we pin all Zimbra packages on Ubuntu via

Code: Select all

apt-mark hold 'zimbra-*'

to avoid accidental/unexpected updates of Zimbra packages. (On CentOS we use yum-versionlock to do the same.)

To update Zimbra packages we then run

Code: Select all

apt-get upgrade --ignore-hold --only-upgrade 'zimbra-*'


Since the install.sh doesn't make use of --ignore-hold I ran into the issue at hand. Had I read our documentation properly I'd have run the required command

Code: Select all

apt-mark unhold 'zimbra-*'

before the upgrade.

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 6 guests