Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-11-2011, 09:10 AM
Moderator
 
Posts: 2,207
Default NO_SUCH_TAG while exporting

Hi all.

I'm trying to export a mail account (using REST, by CLI) to a .tgz file.

The export stops at 1.6 GB of data (while mailbox is 9.4 GB) with a strange error (in mailbox.log) :
Code:
2011-04-11 16:25:53,222 WARN  [btpool0-23514://zimbra.domain.fr/home/user@domain.fr/?fmt=tgz] [name=user@domain.fr;mid=16;ip=172.20.30.5;] misc
- Archive Formatter warning: com.zimbra.common.service.ServiceException: system failure: archive error
ExceptionId:btpool0-23514://zimbra.domain.fr/home/user@domain.fr/?fmt=tgz:1302531953222:08c6943c68f1187b
Code:service.FAILURE: java.io.IOException: data error: java.io.IOException: tag error: com.zimbra.cs.mailbox.MailServiceException$NoSuchItemException: no such tag: 65
ExceptionId:btpool0-23514://zimbra.domain.fr/home/user@domain.fr/?fmt=tgz:1302531953222:08c6943c68f1187b
Code:mail.NO_SUCH_TAG Arg:(itemId, IID, "65")
Actually, there is no tag defined for this mailbox (verified by "zmmailbox -z -m user@domain.fr gat").
I've also removed all shares (both done by the user and accepted by the user).

However, even after removing everything, I'm still getting the error.

Any idea to fix this?
Or to find the "bad" item (the one with tag 65) in order to remove it?
Reply With Quote
  #2 (permalink)  
Old 09-09-2011, 07:39 AM
Loyal Member
 
Posts: 96
Default

Did you ever find out what was causing this or how to work around it? I'm seeing this error too while trying to export a (much smaller) mailbox. We've done lots of exports before and never seen this one.

Running on ZCS 7.1.1 GA.
Reply With Quote
  #3 (permalink)  
Old 09-09-2011, 08:24 AM
Loyal Member
 
Posts: 96
Default

Just an FYI. After creating *more* tags I was able to make sure the user had a tag ID 70 and then the export worked.

$ zmmailbox -z -m username@domain.com gat
Id Unread Color Name
---------- ---------- ---------- ----------
*snip*
70 0 blue test
Reply With Quote
  #4 (permalink)  
Old 09-09-2011, 08:49 AM
Moderator
 
Posts: 2,207
Default

Nice workarround!

We did not found the item and were not able to export.
Maybe we'l try again with that workarround.
Reply With Quote
  #5 (permalink)  
Old 04-14-2012, 08:56 PM
Starter Member
 
Posts: 2
Default

Hello,

I also encountered this error. I checked the tag ID and it exist using this command:
$ zmmailbox -z -m username@domain.com gat
Id Unread Color Name
---------- ---------- ---------- ----------
68 0 blue folder1

Next, I tried to delete that tag then use export but it still failed. I recreated that tag with the same name and color it acquired the same ID which is 68.

Are there other solutions that we can try to export/backup the local folders successfuly? thanks


Here's the error message:
Error on zdesktop.log
2012-04-14 10:01:33,417 WARN [btpool0-2] [mid=1;] misc - Archive Formatter warning: com.zimbra.common.service.ServiceException: system failure: archive error
ExceptionId:btpool0-2:1334368893417:5f8843640c595527
Code:service.FAILURE: java.io.IOException: data error: java.io.IOException: tag error: com.zimbra.cs.mailbox.MailServiceException$NoSuchI temException: no such tag: 68
ExceptionId:btpool0-2:1334368893417:5f8843640c595527
Code:mail.NO_SUCH_TAG ArgitemId, IID, "68")
java.io.IOException: data error: java.io.IOException: tag error: com.zimbra.cs.mailbox.MailServiceException$NoSuchI temException: no such tag: 68
ExceptionId:btpool0-2:1334368893417:5f8843640c595527
Code:mail.NO_SUCH_TAG ArgitemId, IID, "68")
at com.zimbra.cs.service.util.ItemData.<init>(ItemDat a.java:53)
at com.zimbra.cs.service.formatter.ArchiveFormatter.s aveItem(ArchiveFormatter.java:516)
at com.zimbra.cs.service.formatter.ArchiveFormatter.f ormatCallback(ArchiveFormatter.java:311)
at com.zimbra.cs.service.formatter.Formatter.format(F ormatter.java:128)
at com.zimbra.cs.service.UserServlet.doAuthGet(UserSe rvlet.java:469)
at com.zimbra.cs.service.UserServlet.doGet(UserServle t.java:274)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:705)
at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:208)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:814)
at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:390)
at org.mortbay.jetty.security.SecurityHandler.handle( SecurityHandler.java:218)
at org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebA ppContext.java:422)
at org.mortbay.jetty.handler.ContextHandlerCollection .handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle (HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152)
at org.mortbay.jetty.handler.rewrite.RewriteHandler.h andle(RewriteHandler.java:230)
at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(Htt pConnection.java:543)
at org.mortbay.jetty.HttpConnection$RequestHandler.he aderComplete(HttpConnection.java:929)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:549)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpPa rser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnec tion.java:405)
at org.mortbay.io.nio.SelectChannelEndPoint.run(Selec tChannelEndPoint.java:410)
at org.mortbay.thread.BoundedThreadPool$PoolThread.ru n(BoundedThreadPool.java:451)
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.