Results 1 to 5 of 5

Thread: NO_SUCH_TAG while exporting

Hybrid View

  1. #1
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,322
    Rep Power
    13

    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?

  2. #2
    Join Date
    Jul 2009
    Posts
    107
    Rep Power
    6

    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.

  3. #3
    Join Date
    Jul 2009
    Posts
    107
    Rep Power
    6

    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

  4. #4
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,322
    Rep Power
    13

    Default

    Nice workarround!

    We did not found the item and were not able to export.
    Maybe we'l try again with that workarround.

  5. #5
    Join Date
    Apr 2012
    Posts
    2
    Rep Power
    3

    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)

Similar Threads

  1. Exporting Accounts
    By JAldu in forum Administrators
    Replies: 2
    Last Post: 02-18-2011, 11:26 AM
  2. Exporting Zimbra Contacts and Email into Yahoo Account
    By FlamingoBear in forum General Questions
    Replies: 1
    Last Post: 11-12-2010, 05:08 PM
  3. Exporting Sub-calendar ics files
    By andylockran in forum Administrators
    Replies: 2
    Last Post: 03-19-2008, 01:03 PM
  4. Replies: 2
    Last Post: 06-29-2007, 11:32 AM
  5. Exporting contacts fails (Running on port 8080)
    By hikenboots in forum Administrators
    Replies: 1
    Last Post: 01-18-2006, 05:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •