updade to 8.8.8 DB Version Mismatch

Ask questions about your setup or get help installing ZCS server (ZD section below).
Post Reply
nopanic-systems
Posts: 15
Joined: Fri Jun 16, 2017 2:06 pm

updade to 8.8.8 DB Version Mismatch

Post 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
User avatar
fs.schmidt
Outstanding Member
Outstanding Member
Posts: 278
Joined: Sat Sep 13, 2014 3:37 am
Location: Brazil
Contact:

Re: updade to 8.8.8 DB Version Mismatch

Post 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.
nopanic-systems
Posts: 15
Joined: Fri Jun 16, 2017 2:06 pm

Solved: Re: updade to 8.8.8 DB Version Mismatch

Post 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
User avatar
fs.schmidt
Outstanding Member
Outstanding Member
Posts: 278
Joined: Sat Sep 13, 2014 3:37 am
Location: Brazil
Contact:

Re: updade to 8.8.8 DB Version Mismatch

Post 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.
User avatar
fs.schmidt
Outstanding Member
Outstanding Member
Posts: 278
Joined: Sat Sep 13, 2014 3:37 am
Location: Brazil
Contact:

Re: updade to 8.8.8 DB Version Mismatch

Post 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'
rui
Posts: 12
Joined: Thu May 25, 2017 11:07 am

Re: updade to 8.8.8 DB Version Mismatch

Post 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
Post Reply