Closed vgeannin closed 9 years ago
below the z-push log :
15/09/2015 15:42:32 [20169] [DEBUG] [mgean] -------- Start
15/09/2015 15:42:32 [20169] [ INFO] [mgean] Version='SVN-trunk-r1981' method='POST' from='2.12.49.185' cmd='FolderSync' getUser='mgean' devId='kesui6t2e97kt148e4m44phha4' devType='iPhone'
15/09/2015 15:42:32 [20169] [DEBUG] [mgean] Used timezone 'Europe/Paris'
15/09/2015 15:42:32 [20169] [DEBUG] [mgean] Including backend file: '/usr/share/z-push/backend/caldav/caldav.php'
15/09/2015 15:42:32 [20169] [DEBUG] [mgean] Request::ProcessHeaders() ASVersion: 14.0
15/09/2015 15:42:32 [20169] [DEBUG] [mgean] ZPush::CommandNeedsProvisioning(9): true
15/09/2015 15:42:32 [20169] [DEBUG] [mgean] FileStateMachine->GetState() on file: '/var/lib/z-push/4/a/kesui6t2e97kt148e4m44phha4-devicedata'
15/09/2015 15:42:32 [20169] [DEBUG] [mgean] ASDevice data loaded for user: 'mgean'
15/09/2015 15:42:32 [20169] [DEBUG] [mgean] TopCollector(): Initialized mutexid Resource id #19 and memid Resource id #20.
15/09/2015 15:42:32 [20169] [DEBUG] [mgean] LoopDetection(): Initialized mutexid Resource id #22 and memid Resource id #23.
15/09/2015 15:42:32 [20169] [DEBUG] [mgean] ZPush::HierarchyCommand(9): true
15/09/2015 15:42:32 [20169] [DEBUG] [mgean] DeviceManager->ProvisioningRequired('226349297') saved device key '226349297': false
15/09/2015 15:42:32 [20169] [DEBUG] [mgean] ZPush::CommandNeedsAuthentication(9): true
15/09/2015 15:42:34 [20169] [DEBUG] [mgean] BackendCalDAV->Logon(): User 'mgean' is authenticated on CalDAV 'http://commsuite.ucspreview.com:8080/davserver/dav/home/mgean/'
15/09/2015 15:42:34 [20169] [DEBUG] [mgean] ZPush::CommandNeedsPlainInput(9): false
15/09/2015 15:42:34 [20169] [DEBUG] [mgean] StringStreamWrapper::Open(): len = 0
15/09/2015 15:42:34 [20169] [DEBUG] [mgean] StringStreamWrapper::Open(): Using php://temp
15/09/2015 15:42:34 [20169] [DEBUG] [mgean] StringStreamWrapper::Open(): len = 0
15/09/2015 15:42:34 [20169] [DEBUG] [mgean] StringStreamWrapper::Open(): Using php://temp
15/09/2015 15:42:34 [20169] [WBXML] [mgean] I FolderHierarchy:FolderSync
15/09/2015 15:42:34 [20169] [WBXML] [mgean] I FolderHierarchy:SyncKey
15/09/2015 15:42:34 [20169] [WBXML] [mgean] I {307f937a-7f36-4a98-8762-c97262923e60}2
15/09/2015 15:42:34 [20169] [WBXML] [mgean] I /FolderHierarchy:SyncKey
15/09/2015 15:42:34 [20169] [DEBUG] [mgean] StateManager->loadHierarchyCache(): 'kesui6t2e97kt148e4m44phha4-307f937a-7f36-4a98-8762-c97262923e60-hc-2'
15/09/2015 15:42:34 [20169] [DEBUG] [mgean] FileStateMachine->GetState() on file: '/var/lib/z-push/4/a/kesui6t2e97kt148e4m44phha4-307f937a-7f36-4a98-8762-c97262923e60-hc-2'
15/09/2015 15:42:34 [20169] [DEBUG] [mgean] FileStateMachine->GetState() on file: '/var/lib/z-push/4/a/kesui6t2e97kt148e4m44phha4-307f937a-7f36-4a98-8762-c97262923e60-2'
15/09/2015 15:42:34 [20169] [DEBUG] [mgean] ASDevice->GetHierarchyCache(): HierarchyCache is up - Cached objects: 2
15/09/2015 15:42:34 [20169] [WBXML] [mgean] I /FolderHierarchy:FolderSync
15/09/2015 15:42:34 [20169] [DEBUG] [mgean] WBXMLEncoder->startWBXML() type: vnd.ms-sync.wbxml
15/09/2015 15:42:34 [20169] [DEBUG] [mgean] Initializing folder diff engine
15/09/2015 15:42:34 [20169] [DEBUG] [mgean] ExportChangesDiff->InitializeExporter(): Initializing folder diff engine
15/09/2015 15:42:34 [20169] [DEBUG] [mgean] BackendCalDAV->GetFolderList(): Getting all folders.
15/09/2015 15:42:34 [20169] [DEBUG] [mgean] xmltags[DAV::principal] or xmltags[DAV::principal][0] is not set.
15/09/2015 15:42:34 [20169] [DEBUG] [mgean] BackendCalDAV->StatFolder('Ccalendar')
15/09/2015 15:42:34 [20169] [DEBUG] [mgean] BackendCalDAV->GetFolder('Ccalendar')
15/09/2015 15:42:34 [20169] [DEBUG] [mgean] BackendCalDAV->StatFolder('Tcalendar')
15/09/2015 15:42:34 [20169] [DEBUG] [mgean] BackendCalDAV->GetFolder('Tcalendar')
15/09/2015 15:42:34 [20169] [ INFO] [mgean] ExportChangesDiff->InitializeExporter(): Found '0' changes for 'hierarchy'
15/09/2015 15:42:34 [20169] [WBXML] [mgean] O FolderHierarchy:FolderSync
15/09/2015 15:42:34 [20169] [WBXML] [mgean] O FolderHierarchy:Status
15/09/2015 15:42:34 [20169] [WBXML] [mgean] O 1
15/09/2015 15:42:34 [20169] [WBXML] [mgean] O /FolderHierarchy:Status
15/09/2015 15:42:34 [20169] [WBXML] [mgean] O FolderHierarchy:SyncKey
15/09/2015 15:42:34 [20169] [WBXML] [mgean] O {307f937a-7f36-4a98-8762-c97262923e60}2
15/09/2015 15:42:34 [20169] [WBXML] [mgean] O /FolderHierarchy:SyncKey
15/09/2015 15:42:34 [20169] [WBXML] [mgean] O FolderHierarchy:Changes
15/09/2015 15:42:34 [20169] [WBXML] [mgean] O FolderHierarchy:Count
15/09/2015 15:42:34 [20169] [WBXML] [mgean] O 0
15/09/2015 15:42:34 [20169] [WBXML] [mgean] O /FolderHierarchy:Count
15/09/2015 15:42:34 [20169] [WBXML] [mgean] O /FolderHierarchy:Changes
15/09/2015 15:42:34 [20169] [WBXML] [mgean] O /FolderHierarchy:FolderSync
15/09/2015 15:42:34 [20169] [DEBUG] [mgean] WBXMLEncoder->endTag() WBXML output completed
15/09/2015 15:42:34 [20169] [WBXML] [mgean] WBXML-OUT: AwFqAAAHVkwDMQABUgN7MzA3ZjkzN2EtN2YzNi00YTk4LTg3NjItYzk3MjYyOTIzZTYwfTIAAU5XAzAAAQEB
15/09/2015 15:42:34 [20169] [WBXML] [mgean] WBXML-IN : AwFqAAc=
15/09/2015 15:42:34 [20169] [DEBUG] [mgean] Flushing 63, headers already sent? no
15/09/2015 15:42:34 [20169] [DEBUG] [mgean] BackendCalDAV->Logoff(): disconnected from CALDAV server
15/09/2015 15:42:34 [20169] [DEBUG] [mgean] LoopDetection->ProcessLoopDetectionTerminate()
15/09/2015 15:42:34 [20169] [DEBUG] [mgean] Memory usage information: 3762400/4194304 - Execution time: 2.0000 - HTTP responde code: 200
15/09/2015 15:42:34 [20169] [DEBUG] [mgean] -------- End
15/09/2015 15:42:35 [20170] [DEBUG] [mgean] -------- Start
15/09/2015 15:42:35 [20170] [ INFO] [mgean] Version='SVN-trunk-r1981' method='POST' from='2.12.49.185' cmd='Sync' getUser='mgean' devId='kesui6t2e97kt148e4m44phha4' devType='iPhone'
15/09/2015 15:42:35 [20170] [DEBUG] [mgean] Used timezone 'Europe/Paris'
15/09/2015 15:42:35 [20170] [DEBUG] [mgean] Including backend file: '/usr/share/z-push/backend/caldav/caldav.php'
15/09/2015 15:42:35 [20170] [DEBUG] [mgean] Request::ProcessHeaders() ASVersion: 14.0
15/09/2015 15:42:35 [20170] [DEBUG] [mgean] ZPush::CommandNeedsProvisioning(0): true
15/09/2015 15:42:35 [20170] [DEBUG] [mgean] FileStateMachine->GetState() on file: '/var/lib/z-push/4/a/kesui6t2e97kt148e4m44phha4-devicedata'
15/09/2015 15:42:35 [20170] [DEBUG] [mgean] ASDevice data loaded for user: 'mgean'
15/09/2015 15:42:35 [20170] [DEBUG] [mgean] TopCollector(): Initialized mutexid Resource id #19 and memid Resource id #20.
15/09/2015 15:42:35 [20170] [DEBUG] [mgean] LoopDetection(): Initialized mutexid Resource id #22 and memid Resource id #23.
15/09/2015 15:42:35 [20170] [DEBUG] [mgean] ZPush::HierarchyCommand(0): false
15/09/2015 15:42:35 [20170] [DEBUG] [mgean] DeviceManager->ProvisioningRequired('226349297') saved device key '226349297': false
15/09/2015 15:42:35 [20170] [DEBUG] [mgean] ZPush::CommandNeedsAuthentication(0): true
15/09/2015 15:42:35 [20170] [DEBUG] [mgean] BackendCalDAV->Logon(): User 'mgean' is authenticated on CalDAV 'http://commsuite.ucspreview.com:8080/davserver/dav/home/mgean/'
15/09/2015 15:42:35 [20170] [DEBUG] [mgean] ZPush::CommandNeedsPlainInput(0): false
15/09/2015 15:42:35 [20170] [DEBUG] [mgean] StringStreamWrapper::Open(): len = 0
15/09/2015 15:42:35 [20170] [DEBUG] [mgean] StringStreamWrapper::Open(): Using php://temp
15/09/2015 15:42:35 [20170] [DEBUG] [mgean] StringStreamWrapper::Open(): len = 0
15/09/2015 15:42:35 [20170] [DEBUG] [mgean] StringStreamWrapper::Open(): Using php://temp
15/09/2015 15:42:35 [20170] [WBXML] [mgean] I
Ok I find the error, the caldav server only allow the 10 year of synchronization and the caldav backend want to synchronize more than 23 year. can you add a parameter in the conf file to set the finish time instead of use the hardcode value "2147483647"
Vincent
Hi @vgeannin That should do the trick. Thanks!!
Hi all,
I'm trying to configure the caldav backend with Oracle Communication Suite caldav server. I can create a new entry from my device to the caldav server but I can't synchronise the event that are present in the caldav server to my device (when I create the entry from my device, it'll disappear after the synchronization).
My server is a centos 6.7,with php 5.3.3 testing-caldav.php give me that : [root@moblabdmzp001 z-push]# php testing/testing-caldav.php Connected 1 Array ( [ACL] => 0 [DELETE] => 1 [GET] => 2 [HEAD] => 3 [MKCALENDAR] => 4 [MKCOL] => 5 [MOVE] => 6 [OPTIONS] => 7 [PROPFIND] => 8 [PROPPATCH] => 9 [PUT] => 10 [REPORT] => 11 ) PHP Notice: Use of undefined constant LOGFILE - assumed 'LOGFILE' in /usr/share/z-push/lib/core/zlog.php on line 120 Array ( [0] => CalendarInfo Object ( [url] => /davserver/dav/home/mgean@ucspreview.com/calendar/ [displayname] => M gean [getctag] => "1442320404000.8" [id] => calendar )
) CalendarInfo Object ( [url] => /davserver/dav/home/msepre/calendar/ [displayname] => M gean [getctag] => "1442320404000.8" [id] => /davserver/dav/home/mgean/calendar ) Array ( [0] => Array ( [href] => calendar )
) Array ( [0] => Array ( [href] => 20150914T142609Z-906e468a3aefa9e6442cb74019d4e58c.ics [etag] => 1442240777000.1 [getlastmodified] => Mon, 14 Sep 2015 14:26:17 GMT )
) Array ( [0] => Array ( [href] => 20150914T142609Z-906e468a3aefa9e6442cb74019d4e58c.ics [etag] => 1442240777000.1 [getlastmodified] => Mon, 14 Sep 2015 14:26:17 GMT )
) Any idea