Kolab 3.2 carddav issue

Christian Hügel christian.huegel at stonebyte.de
Thu Feb 20 23:40:46 CET 2014


yes, figured that out :) Thx.

I can now see the contacts in webmail. Two things:

1. when I sync a contact from my phone or thunderbird the entry doesn't 
show up. However I can see the new contact in the "Kontakte" imap 
folder. Is this some caching issue?

2. A addressbook Contacts is created every time I access the contacts 
page in webmail. Is there a way to permanent delete this addressbook?

Thank you.

Am 20.02.2014 23:07, schrieb Daniel Hoffend:
> you can ignore the warnings and notices. But when you change the path
> where you run the update script, maybe you want to adjust the path in
> the --dir argument as well. That's why I run it from the roundcube basedir.
>
> So it's either
> ./updatedb.sh --dir ../plugins/libkolab/SQL --package libkolab
> or
> bin/updatedb.sh --dir plugins/libkolab/SQL --package libkolab
> whatever you choose.
>
> regards
> Daniel
>
>
>
> ------ Originalnachricht ------
> Von: "Christian Hügel" <christian.huegel at stonebyte.de>
> An: "Daniel Hoffend" <dh at dotlan.net>
> Cc: "users at lists.kolab.org" <users at lists.kolab.org>
> Gesendet: 20.02.2014 22:05:17
> Betreff: Re: Kolab 3.2 carddav issue
>
>> I get following error when running the script:
>>
>> [root at kolab bin]# ./updatedb.sh --dir plugins/libkolab/SQL --package
>> libkolab
>> PHP Warning: Module 'kolabformat' already loaded in Unknown on line 0
>> PHP Notice: Constant swig_runtime_data_type_pointer already defined in
>> Unknown on line 0
>> PHP Notice: Constant swig_runtime_data_type_pointer already defined in
>> Unknown on line 0
>> PHP Notice: Constant swig_runtime_data_type_pointer already defined in
>> Unknown on line 0
>> PHP Notice: Constant swig_runtime_data_type_pointer already defined in
>> Unknown on line 0
>> ERROR: Specified database schema directory doesn't exist.
>>
>>
>>
>> Am 20.02.2014 21:41, schrieb Daniel Hoffend:
>>> There roundcubemail-plugins-kolab include an outdated mysql initial
>>> file.
>>>
>>> Please update your SQL schema manually then the kolab cache and also
>>> roundcube and irony will work. It's reported and fixed here:
>>>
>>> https://issues.kolab.org/show_bug.cgi?id=2867
>>>
>>> there's also an easy way via the cli to update the sql schemata
>>>
>>> cd /usr/share/roundcubemail/
>>> bin/updatedb.sh --dir plugins/libkolab/SQL --package libkolab
>>>
>>> --
>>> mfg
>>> Daniel Hoffend
>>> Von meinem iPhone gesendet
>>>
>>> Am 20.02.2014 um 21:20 schrieb Christian Hügel
>>> <christian.huegel at stonebyte.de <mailto:christian.huegel at stonebyte.de>>:
>>>
>>>> Hi,
>>>>
>>>> there seems to be an issue with carddav in kolab 3.2.
>>>>
>>>> I have changed the iRony uri in dav.inc.php to /sync/
>>>> $config['base_uri'] = '/sync/';
>>>>
>>>> then changed the http files to match the url:
>>>>
>>>>
>>>> alias /sync /usr/share/iRony/public_html
>>>>
>>>> <Directory "/usr/share/iRony/public_html/">
>>>>    AllowOverride All
>>>> SetEnv DAVBROWSER 1/
>>>>    <IfModule mod_authz_core.c>
>>>>        # Apache 2.4
>>>>        Require all granted
>>>>    </IfModule>
>>>>    <IfModule !mod_authz_core.c>
>>>>        # Apache 2.2
>>>>        Order Allow,Deny
>>>>        Allow from All
>>>>    </IfModule>
>>>>
>>>>    RewriteEngine On
>>>>    RewriteBase /sync/
>>>>    RewriteRule ^\.well-known/caldav / [R,L]
>>>>    RewriteRule ^\.well-known/carddav / [R,L]
>>>>
>>>>    RewriteCond %{REQUEST_FILENAME} !-f
>>>>    RewriteCond %{REQUEST_FILENAME} !-d
>>>>    RewriteRule (.*) index.php [qsappend,last]
>>>>
>>>> </Directory>
>>>>
>>>>
>>>> then changed following lines in /etc/roundcubemail/config.inc.php
>>>>
>>>> $config['calendar_caldav_url'] =
>>>> "https://mydomain.de/sync/calendars/%u/%i
>>>> <safelink(ccb9fa11-f371-4f8a-9161-c95b8cead5e4):https://mydomain.de/sync/calendars/%u/%i>";
>>>>
>>>> $config['kolab_addressbook_carddav_url'] =
>>>> 'https://mydomain/sync/addressbooks/%u/%i
>>>> <safelink(ccb9fa11-f371-4f8a-9161-c95b8cead5e4):https://mydomain/sync/addressbooks/%u/%i>';
>>>>
>>>>
>>>> Now, when I import some contacts these do not show up. neither when
>>>> browsing the dav directory
>>>> But in thunderbird folder Kontakte I can see all previously imported
>>>> contacts.
>>>>
>>>> Does anybody has a hint how to fix this?
>>>>
>>>> Thank you.
>>>>
>>>> Christian
>>>> _______________________________________________
>>>> users mailing list
>>>> users at lists.kolab.org <mailto:users at lists.kolab.org>
>>>> https://lists.kolab.org/mailman/listinfo/users


More information about the users mailing list