Mailbox recalculation issue

Mailbox recalculation issue

   KB 22721        Last updated on 2016-06-9  




0.00
(0 votes)

Problem


After a restore from a backup, an e-mail is stuck in the Inbox as unread. When trying to mark it as read, the following exception is produced:

2014-05-12 09:43:50,630 INFO  [qtp58648533-5694:https://169.254.254.2:7443/service/soap/MsgActionRequest]  [name=malte.stretz@example.com;mid=1;ip=169.254.0.102;oip=131.169.214.202;ua=ZimbraWebClient - FF29 (Linux)/8.0.7_GA_6021;] SoapEngine - handler exception
com.zimbra.common.service.ServiceException: system failure: inconsistent state: unread < 0 for item 2
ExceptionId:qtp58648533-5694:https://169.254.254.2:7443/service/soap/MsgActionRequest:1399887830630:614f5e33fd12e368
Code:service.FAILURE
       at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:258)
       at com.zimbra.cs.mailbox.MailItem.updateUnread(MailItem.java:2361)
       at com.zimbra.cs.mailbox.Folder.updateUnread(Folder.java:610)
       at com.zimbra.cs.mailbox.Message.updateUnread(Message.java:1291)
       at com.zimbra.cs.mailbox.MailItem.alterUnread(MailItem.java:2207)

Resolution


zmprov recalculateMailboxCounts user@domain.com

Additional Information


For more informtation see bug 67006

Verified Against: Zimbra Collaboration 8.6, 8.5, 8.0 Date Created: 06/07/2016
Article ID: https://wiki.zimbra.com/index.php?title=Mailbox_recalculation_issue Date Modified: 2016-06-09



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Wiki/KB reviewed by SME1 SME2 COPY EDITOR Last edit by Teodor Vizirov
Jump to: navigation, search