Results 1 to 10 of 11

Thread: Admin can't import tasks to user accounts?

Hybrid View

  1. #1
    Join Date
    May 2007
    Location
    San Diego
    Posts
    53
    Rep Power
    8

    Default Admin can't import tasks to user accounts?

    I'm in the process of converting and migrating user data from our Oracle Calendar system, and one of the things we'll need to convert are To-Do lists (i.e., tasks.) I'm having trouble pushing the task ICS files into zimbra via the REST interface as the admin user. Using the individual user credentials seems to work, but is impractical for large-scale migrations (550+ users).

    I'm using the following command to push the data to Zimbra:

    Code:
    curl -u admin@mydomain.tld --data-binary @username_tasklist.ics 'https://zimbraserver.mydomain.tld/service/home/username/tasks?fmt=ics'
    This is taken from the User Migration page on the Zimbra Wiki.

    It works fine if I use the user's credentials, but admin gets a HTTP 403.

    It works fine for pushing actual calendars, like:

    Code:
    curl -u admin@mydomain.tld --data-binary @username_calendar.ics 'https://zimbraserver.mydomain.tld/service/home/username/calendar?fmt=ics'
    Have I run into a bug?

    The error message returned to me is:

    HTTP ERROR: 403

    permission denied: you do not have sufficient permissions

    RequestURI=/service/home/gruizade/tasks

    Powered by Jetty://
    I couldn't find anything relevant in the logs (/opt/zimbra/log), but I'm not sure what I should be looking for...
    Gregory K. Ruiz-Ade
    Sr. Systems Administrator
    Computer Science and Engineering
    University of California, San Diego

  2. #2
    Join Date
    Nov 2005
    Posts
    518
    Rep Power
    10

    Default

    It's probably easier to use "zmmailbox postRestURL". Also, are you running the icalmig utility on the exports from OCS?

    zmmailbox -z -m user@domain.com pru /some-tasks-folder user-export.ics

  3. #3
    Join Date
    May 2007
    Location
    San Diego
    Posts
    53
    Rep Power
    8

    Default

    Quote Originally Posted by bobby View Post
    It's probably easier to use "zmmailbox postRestURL". Also, are you running the icalmig utility on the exports from OCS?

    zmmailbox -z -m user@domain.com pru /some-tasks-folder user-export.ics
    Actually, I hadn't known about icalmig. Where is this documented? The User Migration notes on the Zimbra Wiki never mentioned it.

    For the most part, we've been able to simply upload ical files via the REST URLs with curl (or similar).
    Gregory K. Ruiz-Ade
    Sr. Systems Administrator
    Computer Science and Engineering
    University of California, San Diego

  4. #4
    Join Date
    Feb 2010
    Location
    Rennes, France
    Posts
    14
    Rep Power
    5

    Default

    Hi Gregory !

    I am in the same process than you 3 years ago.

    My trouble is not with Zimbra (importing with zmmailbox rune fine and i don't believe that icalmig is really needed for tasks as usually there are not repetitive) but with Oracle Calendar Suite.

    Except by writing a program using the SDK or asking each user to export his tasks, i have not found any easy way to retieve the tasks opf each user.

    Have you any information about this topic ?
    If you have written such an export tool, would you like to share it with me ?

    Strangely, the OCS CLI "uniical" odes not export VTODO (tasks), only EVENTS.

    Thanks in advance

    Bertrand

  5. #5
    Join Date
    Feb 2010
    Location
    Rennes, France
    Posts
    14
    Rep Power
    5

    Default

    Another question about the almost same trouble : how a zimbra user can import his/hers tasks by himself ?

    The "import" page in the preferences tab of the web interface does not import tasks ! Only calendar events.

    Have I missed a point ?

    Thanks for any reply.

    Bertrand

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by BDY35 View Post
    Another question about the almost same trouble : how a zimbra user can import his/hers tasks by himself ?

    The "import" page in the preferences tab of the web interface does not import tasks !
    Oh yes it does. Browse to the file you wish to import, select it and then you'll see the Advanced checkbox and when you click on it you'll see the option to import tasks.Attachment 3658
    Attached Images Attached Images
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    The Import/Export function is to allow the user to backup and restore their own data and not import other formats. If you think that's something that should be added then you need to file an RFE in Bugzilla Main Page - Zimbra.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    Join Date
    May 2010
    Posts
    5
    Rep Power
    5

    Default

    Bill


    After trying further, I have successfully imported an Outlook .pst file to Zimbra Tasks, using the Zimbra CS Importer.

    I also figured out the discrepancy between your screenshot and my screenshot. I was originally using the web client, which only has Advanced options for Export. I have since installed the desktop client, which has advanced options for both import and export.

    regards
    Jeff

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 09:06 AM
  2. [SOLVED] Zimbra logwatch.
    By nishith in forum Administrators
    Replies: 5
    Last Post: 06-10-2009, 04:42 PM
  3. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 10:38 AM
  4. Getting problems in FC4 while instalation
    By kitty_bhoo in forum Installation
    Replies: 13
    Last Post: 09-12-2006, 10:34 PM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 06:38 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
  •