Hello Guys,

We did an upgrade from Zimbra-6.0.3 - Zimbra-7.1.4 Open source edition. Everything went smooth and all the services started properly and we didnt find any errors or warning during upgradation.

But one of the mailbox got corrupted after upgrade.. the error which we pasted below was from mailbox.log

2012-03-15 06:56:54,340 INFO [LmtpServer-6] [ip=xx.xx.xx.xxx;] mailbox - Recoverable exception getting mailbox for user@example.com
com.zimbra.common.service.ServiceException: system failure: inconsistent state: unread < 0 for item 518
ExceptionId:LmtpServer-6:1331809014339:9a88a4207cb167df
Code:service.FAILURE
at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:253)
at com.zimbra.cs.mailbox.MailItem.updateUnread(MailIt em.java:1890)
at com.zimbra.cs.mailbox.Folder.updateUnread(Folder.j ava:563)
at com.zimbra.cs.mailbox.Message.updateUnread(Message .java:1126)
at com.zimbra.cs.mailbox.MailItem.delete(MailItem.jav a:2578)
at com.zimbra.cs.mailbox.MailItem.delete(MailItem.jav a:2547)
at com.zimbra.cs.mailbox.Mailbox.purgeImapDeleted(Mai lbox.java:7109)
at com.zimbra.cs.mailbox.Mailbox.open(Mailbox.java:49 1)
at com.zimbra.cs.mailbox.MailboxManager.getMailboxByI d(MailboxManager.java:521)
at com.zimbra.cs.mailbox.MailboxManager.getMailboxByA ccountId(MailboxManager.java:369)
at com.zimbra.cs.mailbox.MailboxManager.getMailboxByA ccountId(MailboxManager.java:337)
at com.zimbra.cs.mailbox.MailboxManager.getMailboxByA ccount(MailboxManager.java:283)
at com.zimbra.cs.mailbox.MailboxManager.getMailboxByA ccount(MailboxManager.java:242)
at com.zimbra.cs.lmtpserver.ZimbraLmtpBackend.deliver MessageToLocalMailboxes(ZimbraLmtpBackend.java:442 )
at com.zimbra.cs.lmtpserver.ZimbraLmtpBackend.deliver (ZimbraLmtpBackend.java:370)
at com.zimbra.cs.lmtpserver.LmtpHandler.processMessag eData(LmtpHandler.java:367)
at com.zimbra.cs.lmtpserver.TcpLmtpHandler.continueDA TA(TcpLmtpHandler.java:72)
at com.zimbra.cs.lmtpserver.LmtpHandler.doDATA(LmtpHa ndler.java:356)
at com.zimbra.cs.lmtpserver.LmtpHandler.processComman d(LmtpHandler.java:172)
at com.zimbra.cs.lmtpserver.TcpLmtpHandler.processCom mand(TcpLmtpHandler.java:65)
at com.zimbra.cs.tcpserver.ProtocolHandler.processCon nection(ProtocolHandler.java:199)
at com.zimbra.cs.tcpserver.ProtocolHandler.run(Protoc olHandler.java:140)
at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

We are not able to take a backup of that users mailbox from admin console, zmmailbox command, edit the user, delete the user, not able to reset the password. simply that user is not at all accessible.

Also we tried to re-index that users mailbox but no luck

[zimbra@email ~]$ zmprov rim user@example.com start
ERROR: service.FAILURE (system failure: inconsistent state: unread < 0 for item 518)
[zimbra@email ~]$

Again we tried the following forum tips

Bug 29637 &ndash; Add RecalculateMailboxCounts admin command and CLI
http://www.zimbra.com/forums/adminis...g-message.html

but no luck, so we reverted all the changes and went back to older version with zimbra backup directory

Do we need to follow some specific steps for upgrading Zimbra-6.0.3 - Zimbra-7.1.4

I really appreciate if someone help us with these errors or providing steps in proper upgradation.

Thanks
Parames