Can't create/update contacts in Evolution | kdav (git) with Core 8.7.82
-
@irreleph4nt yes, I read through your post and was quite hopeful, but alas, nothing yet. I also looked at a post that talked about VCard 3 support vs. VCard 4 support, and commented out VC4 for now as a test; same results.
-
I should also mention that I’m running the official release version for openSUSE Leap 15.1: Kopano packages 8.6.0.0-lp151.2.5; I’m trying to stay pure to the release, but if you advise I move to the latest release, I’m happy to try that. KDAV is the latest available from git.
-
Hi @ersaxp,
I moved your posts to this topic as it seems to be the same issue.
I didn’t have time yet to debug this more intensively, but it’s on my task list. I’ll post here if I have more questions or in case I’ll find something.
Manfred
-
@Manfred Thank you!
-
@Manfred
Have you had the chance yet to look at this? -
Hi,
I was not able to reproduce it on the systems I’ve tested. Those were debian-based systems though. It worked fine using apache as well as nginx with php-fpm. I’ve tested with KC 8.7.0 and 8.7.5.
Manfred
-
@Manfred
So I’ll have to re-test with 8.7 then? Hm … okay.Edit:
if it helps at all, I can upload my configs somewhere or even get you access to the machine. It’s just a Dev box so nothing sensitive stored on it. I am happy to support debugging this in whichever way is helpful to you. -
Hi @irreleph4nt,
did you to configure another carddav client except evolution? Maybe configure a carddav account on your mobile device? So that we have a better idea if editing contacts fails in kdav or if it’s related to evolution only.
Manfred
-
Hi,
the blow is the kdav log for when I am trying to set up CardDav-Sync Free on Android, connect it to Kdav and try creating a user. My phone reports asuccessfailure but the new contact does not show up in Kopano (tested in Webapp and Evolution) and the end of the log clearly shows the same stop behavior as the previous attempts with Evolution.25.09.2019 02:22:54 [30004] [DEBUG] main httpcode='207' memory='1.13 MiB/2.00 MiB' time='0.02s' 25.09.2019 02:22:54 [30004] [DEBUG] main ------------------ End 25.09.2019 02:22:54 [30002] [DEBUG] main ------------------ Start 25.09.2019 02:22:54 [30002] [DEBUG] main PUT /addressbooks/robert/Contacts/290d8a4b-922c-43c5-8192-1bd65b51c90e.vcf 25.09.2019 02:22:54 [30002] [DEBUG] main KDAV version GIT 25.09.2019 02:22:54 [30002] [DEBUG] main SabreDAV version 3.2.2 25.09.2019 02:22:54 [30002] [TRACE] dav KopanoSyncState->__construct(): Using db 'mysql:dbname=sabredav;host=127.0.0.1', 'sabredb', 'dbpw' 25.09.2019 02:22:54 [30002] [DEBUG] main KLogger->LogIncoming(): INPUT PUT /addressbooks/robert/Contacts/290d8a4b-922c-43c5-8192-1bd65b51c90e.vcf HTTP/1.1^M Authorization: Basic REDACTED^M User-Agent: CardDAV-Sync free/0.4.21 (Google; walleye; Android 9; de_DE; org.dmfs.carddav.sync/143)^M Connection: Keep-Alive^M Host: dav.maerzlab.de^M Content-Length: 186^M If-None-Match: *^M Content-Type: text/vcard; charset=utf-8^M BEGIN:VCARD^M VERSION:3.0^M N:Georgi;Hans Peter;;;^M FN:Hans Peter Georgi^M PRODID:-//dmfs.org//mimedir.vcard//EN^M REV:20190925T002254Z^M UID:290d8a4b-922c-43c5-8192-1bd65b51c90e^M END:VCARD^M 25.09.2019 02:22:54 [30002] [TRACE] dav KopanoDavBackend->Logon(): robert / password 25.09.2019 02:22:54 [30002] [DEBUG] dav KopanoDavBackend->Logon(): Auth: OK - user robert - session Resource id #11 25.09.2019 02:22:54 [30002] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [30002] [TRACE] dav KopanoDavBackend->GetUser(): robert 25.09.2019 02:22:54 [30002] [TRACE] card KopanoCardDavBackend->getAddressBooksForUser(): principalUri: principals/robert 25.09.2019 02:22:54 [30002] [TRACE] dav KopanoDavBackend->GetFolders(): principal 'principals/robert', classes 'Array ( [0] => IPF.Contact ) ' 25.09.2019 02:22:54 [30002] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [30002] [TRACE] dav KopanoDavBackend->GetFolders(): found 2 folders: Array ( [0] => Array ( [id] => principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000 [uri] => Contacts [principaluri] => principals/robert [{http://sabredav.org/ns}sync-token] => 0000000000 [{DAV:}displayname] => Contacts [{http://calendarserver.org/ns/}getctag] => 1568328253 ) [1] => Array ( [id] => principals/robert:47d389a2cd714abf838ac0383a8aea867e0000000000 [uri] => Suggested Contacts [principaluri] => principals/robert [{http://sabredav.org/ns}sync-token] => 0000000000 [{DAV:}displayname] => Suggested Contacts [{http://calendarserver.org/ns/}getctag] => 0000000000 ) ) 25.09.2019 02:22:54 [30002] [TRACE] card KopanoCardDavBackend->getCard(): addressBookId: principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000 - cardUri: 290d8a4b-922c-43c5-8192-1bd65b51c90e.vcf 25.09.2019 02:22:54 [30002] [TRACE] dav KopanoDavBackend->GetMapiFolder(): Id: principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000 25.09.2019 02:22:54 [30002] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [30002] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [30002] [TRACE] dav KopanoDavBackend->GetMapiMessageForId(): Searching for '290d8a4b-922c-43c5-8192-1bd65b51c90e' in 'principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000' (Resource id #16) 25.09.2019 02:22:54 [30002] [TRACE] dav KopanoDavBackend->GetMapiMessageForId(): Try APPTTSREF 290d8a4b-922c-43c5-8192-1bd65b51c90e 25.09.2019 02:22:54 [30002] [TRACE] dav KopanoDavBackend->GetCustomProperties(): Fetching properties id:principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000 25.09.2019 02:22:54 [30002] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [30002] [DEBUG] dav KopanoDavBackend->GetMapiMessageForId(): Nothing found for 290d8a4b-922c-43c5-8192-1bd65b51c90e 25.09.2019 02:22:54 [30002] [DEBUG] card KopanoCardDavBackend->getCard(): Object NOT FOUND 25.09.2019 02:22:54 [30002] [TRACE] card KopanoCardDavBackend->getCard(): addressBookId: principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000 - cardUri: 290d8a4b-922c-43c5-8192-1bd65b51c90e.vcf 25.09.2019 02:22:54 [30002] [TRACE] dav KopanoDavBackend->GetMapiFolder(): Id: principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000 25.09.2019 02:22:54 [30002] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [30002] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [30002] [TRACE] dav KopanoDavBackend->GetMapiMessageForId(): Searching for '290d8a4b-922c-43c5-8192-1bd65b51c90e' in 'principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000' (Resource id #18) 25.09.2019 02:22:54 [30002] [TRACE] dav KopanoDavBackend->GetMapiMessageForId(): Try APPTTSREF 290d8a4b-922c-43c5-8192-1bd65b51c90e 25.09.2019 02:22:54 [30002] [DEBUG] dav KopanoDavBackend->GetMapiMessageForId(): Nothing found for 290d8a4b-922c-43c5-8192-1bd65b51c90e 25.09.2019 02:22:54 [30002] [DEBUG] card KopanoCardDavBackend->getCard(): Object NOT FOUND 25.09.2019 02:22:54 [30002] [TRACE] card KopanoCardDavBackend->getCard(): addressBookId: principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000 - cardUri: 290d8a4b-922c-43c5-8192-1bd65b51c90e.vcf 25.09.2019 02:22:54 [30002] [TRACE] dav KopanoDavBackend->GetMapiFolder(): Id: principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000 25.09.2019 02:22:54 [30002] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [30002] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [30002] [TRACE] dav KopanoDavBackend->GetMapiMessageForId(): Searching for '290d8a4b-922c-43c5-8192-1bd65b51c90e' in 'principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000' (Resource id #20) 25.09.2019 02:22:54 [30002] [TRACE] dav KopanoDavBackend->GetMapiMessageForId(): Try APPTTSREF 290d8a4b-922c-43c5-8192-1bd65b51c90e 25.09.2019 02:22:54 [30002] [DEBUG] dav KopanoDavBackend->GetMapiMessageForId(): Nothing found for 290d8a4b-922c-43c5-8192-1bd65b51c90e 25.09.2019 02:22:54 [30002] [DEBUG] card KopanoCardDavBackend->getCard(): Object NOT FOUND 25.09.2019 02:22:54 [30002] [TRACE] card KopanoCardDavBackend->createCard(): addressBookId: principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000 - cardUri: 290d8a4b-922c-43c5-8192-1bd65b51c90e.vcf - cardData: BEGIN:VCARD^M VERSION:3.0^M N:Georgi;Hans Peter;;;^M FN:Hans Peter Georgi^M PRODID:-//dmfs.org//mimedir.vcard//EN^M REV:20190925T002254Z^M UID:290d8a4b-922c-43c5-8192-1bd65b51c90e^M END:VCARD^M 25.09.2019 02:22:54 [30002] [TRACE] dav KopanoDavBackend->GetMapiFolder(): Id: principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000 25.09.2019 02:22:54 [30002] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [30002] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [30002] [TRACE] card KopanoCardDavBackend->setData(): mapimessage: Resource id #25 - vcf: BEGIN:VCARD^M VERSION:3.0^M N:Georgi;Hans Peter;;;^M FN:Hans Peter Georgi^M PRODID:-//dmfs.org//mimedir.vcard//EN^M REV:20190925T002254Z^M UID:290d8a4b-922c-43c5-8192-1bd65b51c90e^M END:VCARD^M 25.09.2019 02:22:54 [30002] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [30000] [DEBUG] main ------------------ Start 25.09.2019 02:22:54 [30000] [DEBUG] main PUT /addressbooks/robert/Contacts/290d8a4b-922c-43c5-8192-1bd65b51c90e.vcf 25.09.2019 02:22:54 [30000] [DEBUG] main KDAV version GIT 25.09.2019 02:22:54 [30000] [DEBUG] main SabreDAV version 3.2.2 25.09.2019 02:22:54 [30000] [TRACE] dav KopanoSyncState->__construct(): Using db 'mysql:dbname=sabredav;host=127.0.0.1', 'sabredb', 'dbpw' 25.09.2019 02:22:54 [30000] [DEBUG] main KLogger->LogIncoming(): INPUT PUT /addressbooks/robert/Contacts/290d8a4b-922c-43c5-8192-1bd65b51c90e.vcf HTTP/1.1^M Authorization: Basic REDACTED^M User-Agent: CardDAV-Sync free/0.4.21 (Google; walleye; Android 9; de_DE; org.dmfs.carddav.sync/143)^M Connection: Keep-Alive^M Host: dav.maerzlab.de^M Content-Length: 186^M If-None-Match: *^M Content-Type: text/vcard; charset=utf-8^M BEGIN:VCARD^M VERSION:3.0^M N:Georgi;Hans Peter;;;^M FN:Hans Peter Georgi^M PRODID:-//dmfs.org//mimedir.vcard//EN^M REV:20190925T002254Z^M UID:290d8a4b-922c-43c5-8192-1bd65b51c90e^M END:VCARD^M 25.09.2019 02:22:54 [30000] [TRACE] dav KopanoDavBackend->Logon(): robert / password 25.09.2019 02:22:54 [30000] [DEBUG] dav KopanoDavBackend->Logon(): Auth: OK - user robert - session Resource id #11 25.09.2019 02:22:54 [30000] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [30000] [TRACE] dav KopanoDavBackend->GetUser(): robert 25.09.2019 02:22:54 [30000] [TRACE] card KopanoCardDavBackend->getAddressBooksForUser(): principalUri: principals/robert 25.09.2019 02:22:54 [30000] [TRACE] dav KopanoDavBackend->GetFolders(): principal 'principals/robert', classes 'Array ( [0] => IPF.Contact ) ' 25.09.2019 02:22:54 [30000] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [30000] [TRACE] dav KopanoDavBackend->GetFolders(): found 2 folders: Array ( [0] => Array ( [id] => principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000 [uri] => Contacts [principaluri] => principals/robert [{http://sabredav.org/ns}sync-token] => 0000000000 [{DAV:}displayname] => Contacts [{http://calendarserver.org/ns/}getctag] => 1568328253 ) [1] => Array ( [id] => principals/robert:47d389a2cd714abf838ac0383a8aea867e0000000000 [uri] => Suggested Contacts [principaluri] => principals/robert [{http://sabredav.org/ns}sync-token] => 0000000000 [{DAV:}displayname] => Suggested Contacts [{http://calendarserver.org/ns/}getctag] => 0000000000 ) ) 25.09.2019 02:22:54 [30000] [TRACE] card KopanoCardDavBackend->getCard(): addressBookId: principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000 - cardUri: 290d8a4b-922c-43c5-8192-1bd65b51c90e.vcf 25.09.2019 02:22:54 [30000] [TRACE] dav KopanoDavBackend->GetMapiFolder(): Id: principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000 25.09.2019 02:22:54 [30000] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [30000] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [30000] [TRACE] dav KopanoDavBackend->GetMapiMessageForId(): Searching for '290d8a4b-922c-43c5-8192-1bd65b51c90e' in 'principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000' (Resource id #20) 25.09.2019 02:22:54 [30000] [TRACE] dav KopanoDavBackend->GetMapiMessageForId(): Try APPTTSREF 290d8a4b-922c-43c5-8192-1bd65b51c90e 25.09.2019 02:22:54 [30000] [DEBUG] dav KopanoDavBackend->GetMapiMessageForId(): Nothing found for 290d8a4b-922c-43c5-8192-1bd65b51c90e 25.09.2019 02:22:54 [30000] [DEBUG] card KopanoCardDavBackend->getCard(): Object NOT FOUND 25.09.2019 02:22:54 [30000] [TRACE] card KopanoCardDavBackend->createCard(): addressBookId: principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000 - cardUri: 290d8a4b-922c-43c5-8192-1bd65b51c90e.vcf - cardData: BEGIN:VCARD^M VERSION:3.0^M N:Georgi;Hans Peter;;;^M FN:Hans Peter Georgi^M PRODID:-//dmfs.org//mimedir.vcard//EN^M REV:20190925T002254Z^M UID:290d8a4b-922c-43c5-8192-1bd65b51c90e^M END:VCARD^M 25.09.2019 02:22:54 [30000] [TRACE] dav KopanoDavBackend->GetMapiFolder(): Id: principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000 25.09.2019 02:22:54 [30000] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [30000] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [30000] [TRACE] card KopanoCardDavBackend->setData(): mapimessage: Resource id #25 - vcf: BEGIN:VCARD^M VERSION:3.0^M N:Georgi;Hans Peter;;;^M FN:Hans Peter Georgi^M PRODID:-//dmfs.org//mimedir.vcard//EN^M REV:20190925T002254Z^M UID:290d8a4b-922c-43c5-8192-1bd65b51c90e^M END:VCARD^M 25.09.2019 02:22:54 [30000] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [ 5041] [DEBUG] main ------------------ Start 25.09.2019 02:22:54 [ 5041] [DEBUG] main PUT /addressbooks/robert/Contacts/290d8a4b-922c-43c5-8192-1bd65b51c90e.vcf 25.09.2019 02:22:54 [ 5041] [DEBUG] main KDAV version GIT 25.09.2019 02:22:54 [ 5041] [DEBUG] main SabreDAV version 3.2.2 25.09.2019 02:22:54 [ 5041] [TRACE] dav KopanoSyncState->__construct(): Using db 'mysql:dbname=sabredav;host=127.0.0.1', 'sabredb', 'dbpw' 25.09.2019 02:22:54 [ 5041] [DEBUG] main KLogger->LogIncoming(): INPUT PUT /addressbooks/robert/Contacts/290d8a4b-922c-43c5-8192-1bd65b51c90e.vcf HTTP/1.1^M Authorization: Basic REDACTED^M User-Agent: CardDAV-Sync free/0.4.21 (Google; walleye; Android 9; de_DE; org.dmfs.carddav.sync/143)^M Connection: Keep-Alive^M Host: dav.maerzlab.de^M Content-Length: 186^M If-None-Match: *^M Content-Type: text/vcard; charset=utf-8^M BEGIN:VCARD^M VERSION:3.0^M N:Georgi;Hans Peter;;;^M FN:Hans Peter Georgi^M PRODID:-//dmfs.org//mimedir.vcard//EN^M REV:20190925T002254Z^M UID:290d8a4b-922c-43c5-8192-1bd65b51c90e^M END:VCARD^M 25.09.2019 02:22:54 [ 5041] [TRACE] dav KopanoDavBackend->Logon(): robert / password 25.09.2019 02:22:54 [ 5041] [DEBUG] dav KopanoDavBackend->Logon(): Auth: OK - user robert - session Resource id #11 25.09.2019 02:22:54 [ 5041] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [ 5041] [TRACE] dav KopanoDavBackend->GetUser(): robert 25.09.2019 02:22:54 [ 5041] [TRACE] card KopanoCardDavBackend->getAddressBooksForUser(): principalUri: principals/robert 25.09.2019 02:22:54 [ 5041] [TRACE] dav KopanoDavBackend->GetFolders(): principal 'principals/robert', classes 'Array ( [0] => IPF.Contact ) ' 25.09.2019 02:22:54 [ 5041] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [ 5041] [TRACE] dav KopanoDavBackend->GetFolders(): found 2 folders: Array ( [0] => Array ( [id] => principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000 [uri] => Contacts [principaluri] => principals/robert [{http://sabredav.org/ns}sync-token] => 0000000000 [{DAV:}displayname] => Contacts [{http://calendarserver.org/ns/}getctag] => 1568328253 ) [1] => Array ( [id] => principals/robert:47d389a2cd714abf838ac0383a8aea867e0000000000 [uri] => Suggested Contacts [principaluri] => principals/robert [{http://sabredav.org/ns}sync-token] => 0000000000 [{DAV:}displayname] => Suggested Contacts [{http://calendarserver.org/ns/}getctag] => 0000000000 ) ) 25.09.2019 02:22:54 [ 5041] [TRACE] card KopanoCardDavBackend->getCard(): addressBookId: principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000 - cardUri: 290d8a4b-922c-43c5-8192-1bd65b51c90e.vcf 25.09.2019 02:22:54 [ 5041] [TRACE] dav KopanoDavBackend->GetMapiFolder(): Id: principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000 25.09.2019 02:22:54 [ 5041] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [ 5041] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [ 5041] [TRACE] dav KopanoDavBackend->GetMapiMessageForId(): Searching for '290d8a4b-922c-43c5-8192-1bd65b51c90e' in 'principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000' (Resource id #16) 25.09.2019 02:22:54 [ 5041] [TRACE] dav KopanoDavBackend->GetMapiMessageForId(): Try APPTTSREF 290d8a4b-922c-43c5-8192-1bd65b51c90e 25.09.2019 02:22:54 [ 5041] [TRACE] dav KopanoDavBackend->GetCustomProperties(): Fetching properties id:principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000 25.09.2019 02:22:54 [ 5041] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [ 5041] [DEBUG] dav KopanoDavBackend->GetMapiMessageForId(): Nothing found for 290d8a4b-922c-43c5-8192-1bd65b51c90e 25.09.2019 02:22:54 [ 5041] [DEBUG] card KopanoCardDavBackend->getCard(): Object NOT FOUND 25.09.2019 02:22:54 [ 5041] [TRACE] card KopanoCardDavBackend->getCard(): addressBookId: principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000 - cardUri: 290d8a4b-922c-43c5-8192-1bd65b51c90e.vcf 25.09.2019 02:22:54 [ 5041] [TRACE] dav KopanoDavBackend->GetMapiFolder(): Id: principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000 25.09.2019 02:22:54 [ 5041] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [ 5041] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [ 5041] [TRACE] dav KopanoDavBackend->GetMapiMessageForId(): Searching for '290d8a4b-922c-43c5-8192-1bd65b51c90e' in 'principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000' (Resource id #18) 25.09.2019 02:22:54 [ 5041] [TRACE] dav KopanoDavBackend->GetMapiMessageForId(): Try APPTTSREF 290d8a4b-922c-43c5-8192-1bd65b51c90e 25.09.2019 02:22:54 [ 5041] [DEBUG] dav KopanoDavBackend->GetMapiMessageForId(): Nothing found for 290d8a4b-922c-43c5-8192-1bd65b51c90e 25.09.2019 02:22:54 [ 5041] [DEBUG] card KopanoCardDavBackend->getCard(): Object NOT FOUND 25.09.2019 02:22:54 [ 5041] [TRACE] card KopanoCardDavBackend->getCard(): addressBookId: principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000 - cardUri: 290d8a4b-922c-43c5-8192-1bd65b51c90e.vcf 25.09.2019 02:22:54 [ 5041] [TRACE] dav KopanoDavBackend->GetMapiFolder(): Id: principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000 25.09.2019 02:22:54 [ 5041] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [ 5041] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [ 5041] [TRACE] dav KopanoDavBackend->GetMapiMessageForId(): Searching for '290d8a4b-922c-43c5-8192-1bd65b51c90e' in 'principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000' (Resource id #20) 25.09.2019 02:22:54 [ 5041] [TRACE] dav KopanoDavBackend->GetMapiMessageForId(): Try APPTTSREF 290d8a4b-922c-43c5-8192-1bd65b51c90e 25.09.2019 02:22:54 [ 5041] [DEBUG] dav KopanoDavBackend->GetMapiMessageForId(): Nothing found for 290d8a4b-922c-43c5-8192-1bd65b51c90e 25.09.2019 02:22:54 [ 5041] [DEBUG] card KopanoCardDavBackend->getCard(): Object NOT FOUND 25.09.2019 02:22:54 [ 5041] [TRACE] card KopanoCardDavBackend->createCard(): addressBookId: principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000 - cardUri: 290d8a4b-922c-43c5-8192-1bd65b51c90e.vcf - cardData: BEGIN:VCARD^M VERSION:3.0^M N:Georgi;Hans Peter;;;^M FN:Hans Peter Georgi^M PRODID:-//dmfs.org//mimedir.vcard//EN^M REV:20190925T002254Z^M UID:290d8a4b-922c-43c5-8192-1bd65b51c90e^M END:VCARD^M 25.09.2019 02:22:54 [ 5041] [TRACE] dav KopanoDavBackend->GetMapiFolder(): Id: principals/robert:47d389a2cd714abf838ac0383a8aea86740000000000 25.09.2019 02:22:54 [ 5041] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [ 5041] [TRACE] dav KopanoDavBackend->GetStore(): storename robert 25.09.2019 02:22:54 [ 5041] [TRACE] card KopanoCardDavBackend->setData(): mapimessage: Resource id #25 - vcf: BEGIN:VCARD^M VERSION:3.0^M N:Georgi;Hans Peter;;;^M FN:Hans Peter Georgi^M PRODID:-//dmfs.org//mimedir.vcard//EN^M REV:20190925T002254Z^M UID:290d8a4b-922c-43c5-8192-1bd65b51c90e^M END:VCARD^M 25.09.2019 02:22:54 [ 5041] [TRACE] dav KopanoDavBackend->GetStore(): storename robert
Phone log:
java.lang.Exception: could not upload new resource org.dmfs.j.a.a(Unknown Source:280) org.dmfs.j.b.a(Unknown Source:27) org.dmfs.g.g.a(Unknown Source:9) org.dmfs.carddav.syncadapter.a.a(Unknown Source:1594) org.dmfs.h.a.onPerformSync(Unknown Source:989) android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:334) caused by: java.io.IOException: Error 504 during upload of BEGIN:VCARD VERSION:3.0 N:Georgi;Hans Peter;;; FN:Hans Peter Georgi PRODID:-//dmfs.org//mimedir.vcard//EN REV:20190925T002254Z UID:290d8a4b-922c-43c5-8192-1bd65b51c90e END:VCARD org.dmfs.dav.b.a(Unknown Source:180) org.dmfs.dav.b.a(Unknown Source:2) org.dmfs.j.a.a(Unknown Source:147) org.dmfs.j.b.a(Unknown Source:27) org.dmfs.g.g.a(Unknown Source:9) org.dmfs.carddav.syncadapter.a.a(Unknown Source:1594) org.dmfs.h.a.onPerformSync(Unknown Source:989) android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:334) App: org.dmfs.carddav.sync App version: 0.4.21 OS version: 28 OS Info: google/walleye/walleye:9/PQ3A.190801.002/5670241:user/release-keys Manufacturer: Google Date: Wed Sep 25 02:23:54 GMT+02:00 2019
-
Hi @irreleph4nt,
could please test the following: download the files attached to the issue https://jira.kopano.io/projects/KDAV/issues/KDAV-20. Edit $user and $pass of kdav-20.php to match a user on your system (also check if $server and $path are correct for your system).
Then run:
php kdav-20.php -f kdav20fail php kdav-20 php -f kdav20ok
and post the output.
Manfred
-
Hi. I made the changes and ran the commands as instructed. kdav20fail comes back with an error message right away, kdav20ok however hangs infinitely:
[root@mx2 kopano-kdav]# su nginx -s /bin/bash bash-4.2$ php kdav kdav20fail kdav20ok kdav-20.php bash-4.2$ php kdav-20.php -f kdav20fail mapi_vcftomapi failed with code: 0xFFFFFFFF8004011B bash-4.2$ php kdav-20.php -f kdav20ok
Last line is where I am not even getting a cursor back unless I ctrl+c.
Interestingly I see this in the journal throughout the period of time I left the kdav20ok command running as the nginx user:
Sep 25 23:50:47 mx2.domain.tld kopano-server[20172]: authenticate ok: from="file:///var/run/kopano/server.sock" user="robert" method="User supplied password" program="php" sid=0x7cb3b803b8f7e0d9 Sep 25 23:50:47 mx2.domain.tld kopano-server[20172]: authenticate ok: from="file:///var/run/kopano/server.sock" user="robert" method="User supplied password" program="php" sid=0xa75fe1fcc49d8abd Sep 25 23:50:55 mx2.domain.tld kopano-server[20172]: authenticate ok: from="file:///var/run/kopano/server.sock" user="robert" method="User supplied password" program="php" sid=0xd61a953a3477a7b2 Sep 25 23:50:55 mx2.domain.tld kopano-server[20172]: authenticate ok: from="file:///var/run/kopano/server.sock" user="robert" method="User supplied password" program="php" sid=0xa8306aece582626
vs output when running as root:
Sep 25 23:55:06 mx2.domain.tld kopano-server[20172]: authenticate ok: from="file:///var/run/kopano/server.sock" user="robert" method="Pipe socket" program="php" sid=0xdd18f36cd65a9b0d Sep 25 23:55:06 mx2.domain.tld kopano-server[20172]: authenticate ok: from="file:///var/run/kopano/server.sock" user="robert" method="Pipe socket" program="php" sid=0x27afd5701a189b31 Sep 25 23:55:11 mx2.domain.tld kopano-server[20172]: authenticate ok: from="file:///var/run/kopano/server.sock" user="robert" method="Pipe socket" program="php" sid=0xd25bbea952b2965a Sep 25 23:55:11 mx2.domain.tld kopano-server[20172]: authenticate ok: from="file:///var/run/kopano/server.sock" user="robert" method="Pipe socket" program="php" sid=0x26ca7c927b1badfb
I am not getting any output in the kdav logs when running these two tests.
-
@Manfred
Have you had any luck tracing down the source for this issue? -
Hi @irreleph4nt,
I suspect that there’s something wrong with mapi_vcftomapi on your system because
php kdav-20.php -f kdav20ok
doesn’t output anything. That would be something for someone from Kopano core team to look at, I’m not able to help you with that.Manfred
-
@Manfred
Hi. Thank you for all you have done so far! Is there any way you could let the relevant people know that this issue exists? Maybe raise a JIRA ticket or something? I’d be happy to provide any kind of data or access that you guys require. :) -
Hi @irreleph4nt,
there already is https://jira.kopano.io/browse/KC-1529 which is related to creating contacts in with mapi_vcftomapi via kdav. It’s possible that your issue and the one described there are related.
Manfred
-
@Manfred
Just commenting to let you know this error still exists in 8.7.84 on CentOS 8. The same behaviour as previously observed.