Results 1 to 4 of 4

Thread: REST ICS Import

  1. #1
    fultonj is offline Senior Member
    Join Date
    Feb 2008
    Location
    Easton PA
    Posts
    63
    Rep Power
    7

    Default REST ICS Import

    Would someone tell me how to see logs from the REST service, not just http logs.

    I'm trying to use REST to import an ICS file from my Google Calendar as per:

    User Migration - Zimbra :: Wiki

    From the wiki I gather I can do this:

    curl -v -u fultonj:$passwd --data-binary @/home/fultonj/work/zimbra/data/fultonj.ics http://zimbra.lafayette.edu/service/...lendar?fmt=ics

    which returns normally and I can even see a Set-Cookie. I can also see that my request went through by looking at my logs with:

    tail -f /opt/zimbra/tomcat/logs/access_log.2008-02-01

    which produces:

    139.147.160.232 - - [01/Feb/2008:18:29:19 -0500] "POST /service/home/fultonj/Calendar?fmt=ics HTTP/1.1" 200 - "-" "curl/7.16.4 (x86_64-pc-linux-gnu) libcurl/7.16.4 OpenSSL/0.9.8e zlib/1.2.3.3 libidn/1.0"

    However, my calendar is not getting updated. I imagine that Tomcat is getting the binary data that I'm posting since it's taking what seems like the appropriate amount of time for a 500k ICS file. However it's not getting processed and I'd like to know where it's failing.

  2. #2
    dkarp is offline Zimbra Employee
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    11

    Default

    Is there anything of note in mailbox.log?
    Bugzilla - Wiki - Downloads - Before posting... Search!

  3. #3
    fultonj is offline Senior Member
    Join Date
    Feb 2008
    Location
    Easton PA
    Posts
    63
    Rep Power
    7

    Default

    Yes, I do see some mention of the event in mailbox.log (below). However, it's not very telling. It would be great to know that my ICS file didn't parse because of a certain line. I see authentication failures (not in this event) offer a java trace in mailbox.log. Can I conclude that REST believes it had no errors when processing my ICS file if there's nothing in mailbox.log?

    /opt/zimbra/log/mailbox.log.2008-02-01

    2008-02-01 18:29:09,537 INFO [ImapServer-12097] [] ProtocolHandler - Handler exiting normally
    2008-02-01 18:29:18,895 INFO [http-80-Processor100] [name=fultonj@zimbra.lafaye
    tte.edu;mid=3;ip=139.147.160.232;] mailbox - UserServlet (POST): http://zimbra.lafayette.edu/service/...ltonj/Calendar
    2008-02-01 18:30:07,653 INFO [ImapServer-12098] [] imap - [139.147.6.13] connected
    2008-02-01 18:30:08,180 INFO [ImapServer-12098] [] ProtocolHandler - Handler exiting normally

  4. #4
    p24t is offline Moderator
    Join Date
    Mar 2007
    Location
    Austin
    Posts
    441
    Rep Power
    8

    Default

    I'm trying to get .ics files to import via CLI as well. Firstly, I'd like to be able to import these without having the user's password, maybe just use the admin, but that doesn't seem to work. There may not be a workaround for that one. Secondly, the import fails. I have just exported the .ics from my calendar, and am trying to import it into a new test user. I'm also trying to import CSV's, and having issues

    edit: removed the errors. Looks like I was fatfingering something. Moving over to import address book failure where the CSV errors are being discussed.
    Last edited by p24t; 04-11-2008 at 08:56 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. import Sun Calendar into ics error
    By morgan in forum Migration
    Replies: 6
    Last Post: 04-10-2009, 06:10 PM
  2. Importing VCF and ICS without shell access
    By cesarcardoso in forum Migration
    Replies: 3
    Last Post: 02-01-2008, 04:41 PM
  3. ical4j.data.ParserException
    By amit_saini54 in forum Migration
    Replies: 0
    Last Post: 12-06-2007, 07:45 AM
  4. Issues with Outlook Calendar Migration - ics
    By soxfan in forum Migration
    Replies: 2
    Last Post: 02-28-2007, 06:50 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
  •