Upgrade to 8.6 fails with "Error: assertion '-r/opt/zimbra/conf/my.cnf' failed"
Upgrade to 8.6 fails with "Error: assertion '-r /opt/zimbra/conf/my.cnf' failed"
After an upgrade, starting Zimbra services fails with the following error in /var/log/zimbra.log
Error: assertion '-r /opt/zimbra/conf/my.cnf' failed
This usually comes up when the store package is selected to be upgraded on a non-mailbox server.
For example if the server contains only the LDAP server on 8.0.8, and then during upgrade the mailbox store component is selected, the error comes up and the upgrade does not continue.
To fix this, remove the zimbra-store package using the OS' package manager.
For example, on Redhat/CentOS systems, first get the mailbox package name :
rpm -qa | grep zimbra-store
And then remove it:
rpm -e <package-name>