Page 1 of 1

updade to 8.8.8 DB Version Mismatch

Posted: Thu Apr 05, 2018 2:50 pm
by nopanic-systems
Hello all,

updating from 8.8.7 to 8.8.8 breaks the installation on ubuntu16
At first the installer doesnt runs through with can not sav COnfig Ca...
I was able to solve this.
Now mailboxd is not running and in mailbox.log I found:

ERROR [main] [] Versions - DB Version Mismatch: ours=109 from DB=108
FATAL [main] [] system - Data version mismatch. Reinitialize or upgrade the backend data store.

Updating again doesnt solve it.
I looked around for hours but can not find a solution.

Can someone help updating the db?

Tia
Stefan

Re: updade to 8.8.8 DB Version Mismatch

Posted: Thu Apr 05, 2018 11:02 pm
by fs.schmidt
Hello,

First, make sure that the Mariadb is running:

su - zimbra

mysql.server status

(if it's not running: mysql.server start)

then

cd /opt/zimbra/libexec/scripts/
./migrate20180301-ZimbraChat.pl
zmmailboxdctl stop
zmmailboxdctl start

I hope that it helps you. Please share the /tmp/zmsetup.log so we could analyse what when wrong with your update.

Solved: Re: updade to 8.8.8 DB Version Mismatch

Posted: Fri Apr 06, 2018 9:02 am
by nopanic-systems
Ahoi, :D
Great! All is running again!
Never had such an issue during updating in the last past years.
Possible bug? Cause the system is only 3 weeks old, it has the latest updates...

Thanks!!!

Stefan

Re: updade to 8.8.8 DB Version Mismatch

Posted: Fri Apr 06, 2018 12:37 pm
by fs.schmidt
Hello Stefan,

I'm glad that it helped you.

I've filled a bug in Bugzilla: https://bugzilla.zimbra.com/show_bug.cgi?id=108921


Kind regards.

Re: updade to 8.8.8 DB Version Mismatch

Posted: Tue Apr 17, 2018 2:50 am
by fs.schmidt
Hello Stefan,

I ran another update to 8.8.8 and it worked just fine. (I didn't have a commercial certificate installed in this case)

I've noticed that doing the recovery steps that I sent you weren't enough to make the server accept changes using "zmprov" or in the admin interface, so I've checked the successful installation and there is another step that must be run:

Code: Select all

Mon Apr 16 23:06:19 2018 Updating zimbraLDAPSchemaVersion to version '1521707697'
Mon Apr 16 23:06:19 2018 entering function: gcf zimbraLDAPSchemaVersion=1521707697
Mon Apr 16 23:06:19 2018 Updating cached global config attribute zimbraLDAPSchemaVersion=1521707697
Mon Apr 16 23:06:19 2018 *** Running as zimbra user: /opt/zimbra/bin/zmprov -r -m -l mcf  zimbraLDAPSchemaVersion '1521707697'
Checking global config attribute: zimbraLDAPSchemaVersion[8.8.8]
I ran the command below on the server with the issue and it solved the problem:

/opt/zimbra/bin/zmprov -r -m -l mcf zimbraLDAPSchemaVersion '1521707697'

Re: updade to 8.8.8 DB Version Mismatch

Posted: Tue Apr 17, 2018 9:23 am
by rui
How did you solve the "Saving CA in ldap...failed" failure?
nopanic-systems wrote:Hello all,

updating from 8.8.7 to 8.8.8 breaks the installation on ubuntu16
At first the installer doesnt runs through with can not sav COnfig Ca...
I was able to solve this.
Now mailboxd is not running and in mailbox.log I found:

ERROR [main] [] Versions - DB Version Mismatch: ours=109 from DB=108
FATAL [main] [] system - Data version mismatch. Reinitialize or upgrade the backend data store.

Updating again doesnt solve it.
I looked around for hours but can not find a solution.

Can someone help updating the db?

Tia
Stefan