christian-putzke / Roundcube-CardDAV

Roundcube CardDAV Plugin
http://www.graviox.de
GNU Affero General Public License v3.0
119 stars 28 forks source link

No Contacts seen with Roundcube 1.0.3 #90

Open tbals opened 9 years ago

tbals commented 9 years ago

In the Roundcube logfile I see during contact the CardDAV-Server (davical 1.1.1 and bailkal 0.2.7)

[27-Nov-2014 16:00:55 +0100]: v0.5.1 | carddav_server_id: 3 | Starting CardDAV-Addressbook synchronization [27-Nov-2014 16:00:55 +0100]: v0.5.1 | carddav_server_id: 3 | Connected to the CardDAV-Server http://host.domain.tld/card.php/addressbooks/user/default/ [27-Nov-2014 16:00:55 +0100]: v0.5.1 | carddav_server_id: 3 | Couldn't add CardDAV-Contact to the local database with the vCard id 4FAEA101-594F-4C01-A335-D1C1A6E36AD8 [27-Nov-2014 16:00:55 +0100]: v0.5.1 | carddav_server_id: 3 | Couldn't add CardDAV-Contact to the local database with the vCard id C60F9E92-2CC0-0001-7638-7A0E33EDF310 [27-Nov-2014 16:00:55 +0100]: v0.5.1 | carddav_server_id: 3 | Couldn't add CardDAV-Contact to the local database with the vCard id C60FA20B-BF10-0001-494B-B6303EE01B19 [27-Nov-2014 16:00:55 +0100]: v0.5.1 | carddav_server_id: 3 | Couldn't add CardDAV-Contact to the local database with the vCard id C6103B8B-9680-0001-C655-1C95699C1455 [27-Nov-2014 16:00:55 +0100]: v0.5.1 | carddav_server_id: 3 | Couldn't add CardDAV-Contact to the local database with the vCard id C6103B97-5240-0001-CC5C-1C206A901FE2 [27-Nov-2014 16:00:56 +0100]: v0.5.1 | carddav_server_id: 3 | Couldn't add CardDAV-Contact to the local database with the vCard id 2F813BAB-48E9-4A43-A6E2-67072486E39C [27-Nov-2014 16:00:56 +0100]: v0.5.1 | carddav_server_id: 3 | Couldn't add CardDAV-Contact to the local database with the vCard id A057A062-E004-4313-9F9B-DDAA4B3906DA [27-Nov-2014 16:00:56 +0100]: v0.5.1 | carddav_server_id: 3 | Couldn't add CardDAV-Contact to the local database with the vCard id B60B3A9A-E4AD-41AD-980E-B4377B335140 [27-Nov-2014 16:00:56 +0100]: v0.5.1 | carddav_server_id: 3 | Couldn't add CardDAV-Contact to the local database with the vCard id 92DAB3C9-D63F-4E36-9669-419953FB6B48 [27-Nov-2014 16:00:56 +0100]: v0.5.1 | carddav_server_id: 3 | Couldn't add CardDAV-Contact to the local database with the vCard id 096919C3-AA2A-4E76-8315-0D6862CEF61D [27-Nov-2014 16:00:56 +0100]: v0.5.1 | carddav_server_id: 3 | Couldn't add CardDAV-Contact to the local database with the vCard id 4473235B-5B27-42B6-B844-F422B9731FD3 [27-Nov-2014 16:00:56 +0100]: v0.5.1 | carddav_server_id: 3 | Couldn't add CardDAV-Contact to the local database with the vCard id 649858FC-473E-44A0-93BA-8AE48AF0DBAE [27-Nov-2014 16:00:56 +0100]: v0.5.1 | carddav_server_id: 3 | Couldn't add CardDAV-Contact to the local database with the vCard id 4093AB85-9E98-465C-82CA-D97CE55405CE [27-Nov-2014 16:00:56 +0100]: v0.5.1 | carddav_server_id: 3 | Couldn't add CardDAV-Contact to the local database with the vCard id DF372911-5C0D-42D3-ADB7-0A502A4EB867 [27-Nov-2014 16:00:56 +0100]: v0.5.1 | carddav_server_id: 3 | Couldn't add CardDAV-Contact to the local database with the vCard id 022D8A2A-DD13-45CC-8D58-4214A47F0635 [27-Nov-2014 16:00:56 +0100]: v0.5.1 | carddav_server_id: 3 | Couldn't add CardDAV-Contact to the local database with the vCard id F6D8331F-BD66-4B3A-8252-7D07A5880463 [27-Nov-2014 16:00:57 +0100]: v0.5.1 | carddav_server_id: 3 | Couldn't add CardDAV-Contact to the local database with the vCard id D6ECC69E-6FA9-48E2-9F84-F854AB0A1FED [27-Nov-2014 16:00:57 +0100]: v0.5.1 | carddav_server_id: 3 | Couldn't add CardDAV-Contact to the local database with the vCard id 5E71B795-E3A8-417E-B133-3EA5DC514C0B [27-Nov-2014 16:00:57 +0100]: v0.5.1 | carddav_server_id: 3 | Couldn't add CardDAV-Contact to the local database with the vCard id E1A6B7E7-6992-4485-86B0-397CC0AC9AB8 [27-Nov-2014 16:00:57 +0100]: v0.5.1 | carddav_server_id: 3 | Couldn't add CardDAV-Contact to the local database with the vCard id 077AA406-3634-4852-8F04-41C4A82A569F [27-Nov-2014 16:00:57 +0100]: v0.5.1 | carddav_server_id: 3 | Couldn't add CardDAV-Contact to the local database with the vCard id 7B75D6BF-750A-4C0F-AFB5-BE3A1F3DF7C9 [27-Nov-2014 16:00:57 +0100]: v0.5.1 | carddav_server_id: 3 | Couldn't add CardDAV-Contact to the local database with the vCard id 72EE0E25-0000-43C0-BA26-40BACDA5AA76 [27-Nov-2014 16:00:57 +0100]: v0.5.1 | carddav_server_id: 3 | all CardDAV-Data are synchronous, nothing todo! [27-Nov-2014 16:00:57 +0100]: v0.5.1 | carddav_server_id: 3 | Syncronization complete!

But in the Roundcube GUI I see no contacts. The Adress Book says "No contacts found".

marienfressinaud commented 9 years ago

It looks like your contacts cannot be added to the database. I had the same problem because I had an old database schema. To fix that, I simply drop all the carddav tables and run again the plugins/carddav/SQL/mysql.sql script. It works for me now and I guess most of the "contacts are not synced" problems come from a bad database schema.

tbals commented 9 years ago

No sir, it does not help. Now I can see that all contacts are downloaded, but they are not shown in the Roundcube Adddressbook:

[19-Dec-2014 17:05:41 +0100]: v0.5.1 carddav_server_id: 1 Starting CardDAV-Addressbook synchronization [19-Dec-2014 17:05:41 +0100]: v0.5.1 carddav_server_id: 1 Connected to the CardDAV-Server https://host.domain.tld/card.php/addressbooks/user/default/ [19-Dec-2014 17:05:41 +0100]: v0.5.1 carddav_server_id: 1 Added CardDAV-Contact to the local database with the vCard id 4FAEA101-594F-4C01-A335-D1C1A6E36AD8 [19-Dec-2014 17:05:41 +0100]: v0.5.1 carddav_server_id: 1 Added CardDAV-Contact to the local database with the vCard id C60FA20B-BF10-0001-494B-B6303EE01B19 [19-Dec-2014 17:05:41 +0100]: v0.5.1 carddav_server_id: 1 Added CardDAV-Contact to the local database with the vCard id C6103B8B-9680-0001-C655-1C95699C1455
[19-Dec-2014 17:05:44 +0100]: v0.5.1 carddav_server_id: 1 Added CardDAV-Contact to the local database with the vCard id C665E60B-DCE0-0001-B589-1ED0582BDF70
[19-Dec-2014 17:05:44 +0100]: v0.5.1 carddav_server_id: 1 Added CardDAV-Contact to the local database with the vCard id C667C23D-B380-0001-EE18-558919A0184A
[19-Dec-2014 17:05:44 +0100]: v0.5.1 carddav_server_id: 1 Added CardDAV-Contact to the local database with the vCard id C667C288-6290-0001-17D8-1ADE83091D24
[19-Dec-2014 17:05:44 +0100]: v0.5.1 carddav_server_id: 1 Syncronization complete!
tbals commented 9 years ago

Now I have added a second carddav-Server (first is Baikal, the second is SOGo). But its the same, I dont see any contacts.

tbals commented 9 years ago

ok, I am moved to rcmcarddav, this is working fine.