General discussion on installation and configuration of SOGo

Text archives Help


[SOGo] Problem when uploading (PUT) an ICS file to Sogo via CalDAV


Chronological Thread 
  • From: "Rodrigo Mello Mattos Habib Gregori" ( ) < >
  • To: < >
  • Subject: [SOGo] Problem when uploading (PUT) an ICS file to Sogo via CalDAV
  • Date: Wed, 30 Mar 2016 17:16:15 -0300
  • Dmarc-filter: OpenDMARC Filter v1.2.0 mail.inverse.ca 7D331CC2EC4

Title: Problem when uploading (PUT) an ICS file to Sogo via CalDAV

Hello,

 

    I'm trying to migrate calendar data from Zarafa to Sogo. After a few issues I was able to export the data, but I can only upload part of it to Sogo. Most of the data cannot be sent and I receive a 404 Error when sending the PUT command. I am a bit lost on how to debug it (a few of the events (something like 15 out of 500) I was able to upload. Could anyone, please, point me some directions?

 

Thanks in advance,

Rodrigo

 

I tried, for example send a file via cURL:

 

curl -vX PUT --user user:password --header "Content-Type: text/calendar; charset=utf-8" --data "@./ " http://sogoserver/SOGo/dav/u40482/Calendar/personal/

 

The output is:

 

* About to connect() to sogo.joinville.sc.gov.br port 80 (#0)
*   Trying 187.5.129.81...
* connected
* Connected to sogo.joinville.sc.gov.br (187.5.129.81) port 80 (#0)
* Server auth using Basic with user 'user'
> PUT /SOGo/dav/u40482/Calendar/personal/ HTTP/1.1
> Authorization: Basic xyzv
> User-Agent: curl/7.26.0
> Host: sogoserver
> Accept: */*
> Content-Type: text/calendar; charset=utf-8
> Content-Length: 1440
> Expect: 100-continue
>
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 100 Continue
* additional stuff not fine transfer.c:1037: 0 0
* additional stuff not fine transfer.c:1037: 0 0
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 404 Not Found
< Date: Wed, 30 Mar 2016 19:52:52 GMT
< Sogo-Request-Duration: 0.094247
< Content-Length: 208
< Content-Type: text/html; charset="iso-8859-1"
< Vary: Accept-Encoding
* HTTP error before end of send, stop sending
<
<?xml version="1.0" encoding="ISO-8859-1"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<body><h3>An error occurred during object publishing</h3><p>the requested object could not be found!</p></body>
</html>
* Closing connection #0

 

The log on sogo server gives me:

Mar 30 16:52:52 sogod [9937]: [WARN] <0x0x7f7fa69aa650[SOGoWebDAVAclManager]> entry '{DAV:}write' already exists in DAV permissions table
Mar 30 16:52:52 sogod [9937]: [WARN] <0x0x7f7fa69aa650[SOGoWebDAVAclManager]> entry '{DAV:}write-properties' already exists in DAV permissions table
Mar 30 16:52:52 sogod [9937]: [WARN] <0x0x7f7fa69aa650[SOGoWebDAVAclManager]> entry '{DAV:}write-content' already exists in DAV permissions table
Mar 30 16:52:52 sogod [9937]: |SOGo| request took 0.094247 seconds to execute
Mar 30 16:52:52 sogod [9937]: 187.5.129.81 "PUT /SOGo/dav/u40482/Calendar/personal/ HTTP/1.1" 404 208/1440 0.096 - - 3M
 

 

The file I'm trying to upload contains:

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Zarafa//7.1.11-45653//EN
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
STATUS:CONFIRMED
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=Name 1:mailto:mail1@address
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=Name 2:mailto:mail2@address
X-MOZ-SEND-INVITATIONS:TRUE
ORGANIZER;CN=Gabinete Administração;SENT-BY="mailto:
  ":mailto:
TRANSP:OPAQUE
X-MICROSOFT-CDO-INTENDEDSTATUS:TENTATIVE
CREATED:20141015T172410Z
DTSTAMP:20141015T171236Z
LAST-MODIFIED:20141015T172134Z
DTSTART:20141022T120000Z
DTEND:20141022T130000Z
SUMMARY:Reuniã - Sec. Roque Mattei\, Dir. Filipe\, Ger. Edson
LOCATION:Gab. SAP
DESCRIPTION:Pauta: Apresentação do projeto wifi -
 Educação.\nVisualize o seu evento em https:
 //www.google.com/calendar/event?action="VIEW&eid=ZmRhdTNjcGluZmxxZXJsbGlqY2 lqYW4xZTAgZWRzb24ubG9wZXNAam9pbnZpbGxlLnNjLmdvdi5icg&tok=MzEjYXJlYWRlYXBva
 W9hb2dhYmluZXRlQGdtYWlsLmNvbTY0MWMyMjVlZGNiYjA0OWRmY2VmZjY2ZjExZjJkZmZlM2F
 mZDJhNDE&ctz=America/Sao_Paulo&hl=pt_BR.
CLASS:PUBLIC
UID:
SEQUENCE:1
X-MICROSOFT-CDO-OWNER-CRITICAL-CHANGE:20141015T171236Z
X-MICROSOFT-CDO-ATTENDEE-CRITICAL-CHANGE:20141015T171236Z
X-MICROSOFT-CDO-APPT-SEQUENCE:1
X-MICROSOFT-CDO-OWNERAPPTID:-1
X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
END:VEVENT
END:VCALENDAR
 


 



  • [SOGo] Problem when uploading (PUT) an ICS file to Sogo via CalDAV, Rodrigo Mello Mattos Habib Gregori, 03/30/2016

Archive powered by MHonArc 2.6.18.

Top of page