# Fresh install CardDAV Update Works but Add Fails

**URL:** <https://help.egroupware.org/t/fresh-install-carddav-update-works-but-add-fails/79358>\
**Category:** English\
**Created:** [November 1, 2025, 10:45am UTC](https://help.egroupware.org/t/fresh-install-carddav-update-works-but-add-fails/79358 "2025-11-01T10:45:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![redhat](https://help.egroupware.org/letter_avatar_proxy/v4/letter/r/ba9def/32.png) [@redhat](https://help.egroupware.org/u/redhat)\
**Post date:** [November 1, 2025, 10:45am UTC](https://help.egroupware.org/t/fresh-install-carddav-update-works-but-add-fails/79358/1 "2025-11-01T10:45:46Z")

</div>

this is my fist post.  
i’m migrating from Horde framework.

i.m running in a problem with syncing carddav i can alter a existing contact but not wite a new contact.  
in apache i get a error at the put command.  
“PUT /egroupware/groupdav.phpuser/addressbook/594a49c8-bdfc-4e8d-9f79-7b71eb64018a.vcf HTTP/1.1” 403 498 “-” “DAVx5/3.3.7-beta2-gplay (2020/11/23; dav4jvm; okhttp/4.9.0) Android/5.1”

im running the latest Docker groupware in a vm environment and configured to use openLdap voor autorisation and carddav on ubuntu 24.4.

thou the groupware interface i can ad and delete contact no problem but syncing fails if i switch back to Mysql bracked contact syncing works but from mysql.  
but my contact are in Ldap.  
my test system Ldap i got read an write to all so no acces problems.

I see this problem is been spoken of earlier but there is no solution given in the form.  
is there a solution or a configuration problem that i missed.  
hope some one can help.

greetings Jasper  
from the Netherlands

---

<div class="post-metadata">

**Author:** ![RalfBecker](https://help.egroupware.org/user_avatar/help.egroupware.org/ralfbecker/32/1307_2.png) [@RalfBecker](https://help.egroupware.org/u/RalfBecker)\
**Post date:** [November 2, 2025, 7:16am UTC](https://help.egroupware.org/t/fresh-install-carddav-update-works-but-add-fails/79358/2 "2025-11-02T07:16:51Z")

</div>

Hmm, we use the LDAP backend mostly to access (and update) accounts, thought adressbooks in LDAP should work. The difference between DB backend and LDAP is: in LDAP the user authenticated must have LDAP rights to update the contact. Maybe that is your problem …

I wrote a README for that some time ago: [egroupware/doc/ldap/README.contacts at master · EGroupware/egroupware · GitHub](https://github.com/EGroupware/egroupware/blob/master/doc/ldap/README.contacts)

Otherwise it makes sense to check your PHP logs (`/etc/egroupware-docker/egroupware-logs.sh`) while the error happens and also check the CalDAV/CardDAV logs. I believe there’s a HowTo here in the forum on how to enable them, in short: Avatar menu \> Preferences \> CalDAV/CardDAV Sync \> Logging / debugging \> Enable logging: Requests and full responses to files directory  
After the logging is enabled and you send your failed request, you need to re-open the preferences and under “Show log of the following device” a popup with the log will open.

Ralf

---

<div class="post-metadata">

**Author:** ![StefanU](https://help.egroupware.org/user_avatar/help.egroupware.org/stefanu/32/11_2.png) [@StefanU](https://help.egroupware.org/u/StefanU)\
**Post date:** [November 2, 2025, 9:30am UTC](https://help.egroupware.org/t/fresh-install-carddav-update-works-but-add-fails/79358/3 "2025-11-02T09:30:42Z")

</div>

> [@RalfBecker](#):
>
> I believe there’s a HowTo here in the forum

[https://help.egroupware.org/t/access-to-egroupware-via-webdav-caldav-carddav/74198#protokollfehlersuche](https://help.egroupware.org/t/access-to-egroupware-via-webdav-caldav-carddav/74198#protokollfehlersuche)

Summary for all logs:

[https://help.egroupware.org/t/error-logs/78295](https://help.egroupware.org/t/error-logs/78295)

Stefan

---

<div class="post-metadata">

**Author:** ![redhat](https://help.egroupware.org/letter_avatar_proxy/v4/letter/r/ba9def/32.png) [@redhat](https://help.egroupware.org/u/redhat)\
**Post date:** [November 2, 2025, 11:28am UTC](https://help.egroupware.org/t/fresh-install-carddav-update-works-but-add-fails/79358/4 "2025-11-02T11:28:03Z")

</div>

thank you all for replying,

i made some pictures of my settings the ldap rights are read and write for everyone wide open.

 ![ldap acces](https://help.egroupware.org/uploads/default/original/2X/9/95a8ef3bbdcc5440b9144623b9b92019123b087e.jpg)

here are some pictures of my settings and ldap.

 ![ldap tree](https://help.egroupware.org/uploads/default/original/2X/6/67bdad5266e280b0d16e76aba975a39199dcb99e.jpg)  
 ![groupware setup](https://help.egroupware.org/uploads/default/original/2X/9/98b28e064fa3959c7dd1c6107dc2918253dd0d63.jpg)  
 ![carddav run rights](https://help.egroupware.org/uploads/default/original/2X/d/d75799b35f032c6f8ae8212701355ad9deb80056.jpg)  
 ![adresbook config](https://help.egroupware.org/uploads/default/original/2X/f/f45a29c419793963deb4903ec840317db2e1c979.jpg)

the only error reports that i found are in /var/lib/egroupware/default/files/groupdav//.log  
i use portainer and no log a made during the synchronization.  
this are the errors i found the log is much lager but i wil only post the errors hope you can see the problem.  
if i look at the error i don’t know were to begin.

\<?xml version="1.0" encoding="utf-8"?\>

\<D:multistatus xmlns:D=“DAV:”\>  
\<D:response xmlns:ns0=“urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/” xmlns:ns2=“[Calendar and Contacts Server](http://calendarserver.org/ns/)” xmlns:ns3=“urn:ietf:params:xml:ns:carddav”\>  
\<D:href\>/egroupware/groupdav.php/jasper/addressbook/\</D:href\>  
\<D:propstat\>  
\<D:prop\>  
\<D:supported-report-set\>\<D:supported-report\>\<D:report\>\<ns3:addressbook-query /\>\</D:report\>\</D:supported-report\>\<D:supported-report\>\<D:report\>\<ns3:addressbook-multiget /\>\</D:report\>\</D:supported-report\>\<D:supported-report\>\<D:report\>\<D:sync-collection /\>\</D:report\>\</D:supported-report\>\</D:supported-report-set\>  
ns2:getctag1762079089\</ns2:getctag\>  
\<D:sync-token\>[http://172.21.0.41/egroupware/groupdav.php/jasper/addressbook/1762079089](http://172.21.0.41/egroupware/groupdav.php/jasper/addressbook/1762079089)\</D:sync-token\>  
\</D:prop\>  
\<D:status\>HTTP/1.1 200 OK\</D:status\>  
\</D:propstat\>  
\<D:propstat\>  
\<D:prop\>  
ns3:supported-address-data/  
\</D:prop\>  
\<D:status\>HTTP/1.1 404 Not Found\</D:status\>  
\</D:propstat\>  
\</D:response\>  
\</D:multistatus\>  
\*\*\* PROPFIND /jasper/addressbook/ → “207 Multi-Status” took 0.176 s

\*\*\* 172.18.0.1 2025-11-02T10:28:12+00:00  
PUT /egroupware/groupdav.php/jasper/addressbook/85602f41-281c-4ff4-81ea-79e3a51be68b.vcf HTTP/1.1  
Connection: Keep-Alive  
Content-Length: 234  
X-Forwarded-Server: 127.0.0.1  
X-Forwarded-Host: 172.21.0.41  
X-Forwarded-For: 172.21.0.28  
Authorization: Basic \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
Accept-Language: nl-NL, nl;q=0.7, \*;q=0.5  
User-Agent: DAVx5/3.3.7-beta2-gplay (2020/11/23; dav4jvm; okhttp/4.9.0) Android/5.1  
Content-Type: text/vcard;charset=utf-8  
Accept-Encoding: br,gzip  
If-None-Match: \*  
Host: 172.21.0.41  
Content-Length: 234  
Content-Type: text/vcard;charset=utf-8

BEGIN:VCARD  
VERSION:3.0  
PRODID:+//IDN bitfire.at//DAVx5/3.3.7-beta2-gplay ez-vcard/0.11.2  
UID:85602f41-281c-4ff4-81ea-79e3a51be68b  
FN:Ikkggf4 Hvfgb  
N:Hvfgb;Ikkggf4  
TEL;TYPE=cell:0965 368556  
REV:2025-11-02T10:28:11Z  
END:VCARD

HTTP/1.1 403 Forbidden  
Date: Sun, 02 Nov 2025 10:28:12 GMT  
Server: nginx/1.28.0  
Expires: Thu, 19 Nov 1981 08:52:00 GMT  
Cache-Control: no-store, no-cache, must-revalidate  
Pragma: no-cache  
X-Dav-Powered-By: EGroupware 23.1.011 CalDAV/CardDAV/GroupDAV server  
X-WebDAV-Status: 403 Forbidden

### PUT /jasper/addressbook/85602f41-281c-4ff4-81ea-79e3a51be68b.vcf → “403 Forbidden” took 0.175 s

greetings Jasper

---

<div class="post-metadata">

**Author:** ![redhat](https://help.egroupware.org/letter_avatar_proxy/v4/letter/r/ba9def/32.png) [@redhat](https://help.egroupware.org/u/redhat)\
**Post date:** [December 11, 2025, 2:48pm UTC](https://help.egroupware.org/t/fresh-install-carddav-update-works-but-add-fails/79358/5 "2025-12-11T14:48:40Z")

</div>

i’m hamering on this for weeks now but i’m unable to get it to work.

If some one got it to work please share your configuration.  
Openldap is whrite acces to everybody this cannot be the problem.  
I kan make a entry throw the web interface but not delete the entry.  
this is mij only error:  
“PUT /egroupware/groupdav.phpuser/addressbook/594a49c8-bdfc-4e8d-9f79-7b71eb64018a.vcf HTTP/1.1” 403 498 “-” “DAVx5/3.3.7-beta2-gplay (2020/11/23; dav4jvm; okhttp/4.9.0) Android/5.1”

If i login as a user in phpldapadmin i can read and white everyting.

i have been through my debug log of openldap without success.  
its a clean install of ubuntu 24.4 fully updated including the Docker files.

If gone through the tips that are given so far.  
any help is appreciated.

greetings Jasper
