# Pb synchronisation calendrier

**URL:** <https://community.gladysassistant.com/t/pb-synchronisation-calendrier/10114>\
**Category:** Configuration\
**Tags:** calendrier\
**Created:** [Mars 10, 2026, 7:13 UTC](https://community.gladysassistant.com/t/pb-synchronisation-calendrier/10114 "2026-03-10T07:13:18Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![micmac](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/m/ed8c4c/32.png) [@micmac](https://community.gladysassistant.com/u/micmac)\
**Post date:** [Mars 10, 2026, 7:13 UTC](https://community.gladysassistant.com/t/pb-synchronisation-calendrier/10114/1 "2026-03-10T07:13:18Z")

</div>

Bonjour.

J’ai suivi la procédure pour importer mon calendrier Apple. À la fin de la dernière étape de synchronisation, j’obtiens le message « Une erreur est survenue pendant la synchronisation. Vérifiez l’état du serveur CalDAV et relancez l’auto-configuration. » et il y a un seul calendrier (le premier sur une liste de 8 calendriers) d’effectivement synchronisé. J’ai beau Remettre à zéro et Synchroniser à nouveau, rien n’y fait : il n’y a toujours qu’un calendrier de synchronisé (toujours le même).

PS : J’ai lu le sujet « [Problème synchronisation caldav](https://community.gladysassistant.com/t/probleme-synchronisation-caldav/7592) » de **[elfedagger](https://community.gladysassistant.com/u/elfedagger)** mais il concerne Google Agenda.

Ajout : en fait, le calendrier de Gladys intègre les nouveaux événements (ceux créés après la création du calendrier de Gladys) mais pas les anciens (sauf pour un calendrier) !

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Mars 10, 2026, 7:08 UTC](https://community.gladysassistant.com/t/pb-synchronisation-calendrier/10114/2 "2026-03-10T19:08:02Z")

</div>

Salut @micmac,

Bizarre, peut-être un fonctionnement propre à Apple, c’est la première fois que j’entends ça, en tout cas 🙂

Ceci dit, c’est peut-être un bug de synchronisation lié à une spécificité d’Apple Calendar.

Est-ce que tu peux regarder les logs de Gladys au moment où tu fais la synchronisation pour voir s’il y a un crash spécifique ?

```auto
docker logs gladys 

```

---

<div class="post-metadata">

**Author:** ![micmac](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/m/ed8c4c/32.png) [@micmac](https://community.gladysassistant.com/u/micmac)\
**Post date:** [Mars 10, 2026, 7:34 UTC](https://community.gladysassistant.com/t/pb-synchronisation-calendrier/10114/3 "2026-03-10T19:34:59Z")

</div>

Pour les logs, je veux bien mais il faudrait m’indiquer la procédure ☺. J’ai réussi à installer Gladys sur ma Freebox Delta, mais je suis plutôt béotien en la matière 😊.

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Mars 10, 2026, 7:50 UTC](https://community.gladysassistant.com/t/pb-synchronisation-calendrier/10114/4 "2026-03-10T19:50:11Z")

</div>

Il faut juste exécuter cette commande 🙂

```auto
docker logs gladys 

```

---

<div class="post-metadata">

**Author:** ![micmac](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/m/ed8c4c/32.png) [@micmac](https://community.gladysassistant.com/u/micmac)\
**Post date:** [Mars 11, 2026, 6:51 UTC](https://community.gladysassistant.com/t/pb-synchronisation-calendrier/10114/5 "2026-03-11T06:51:45Z")

</div>

Hello @pierre-gilles .

Quand je lance ta commande, du texte défile sans discontinuer et il m’est impossible de lire ce qui est écrit ! Ce n’est pas grave; comme j’ai remarqué que tout événement ajouté ou tout événement modifié dans le calendrier d’Apple apparaît sur Gladys, ça me suffit 😊.

---

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [Mars 11, 2026, 1:34 UTC](https://community.gladysassistant.com/t/pb-synchronisation-calendrier/10114/6 "2026-03-11T13:34:58Z")

</div>

Si tu tapes :

`docker logs --tail 200 gladys`

Tu verras les 200 dernières lignes des logs.

Si tu tapes :

`docker logs -f --tail 20 gladys`

Tu auras les logs en temps réel 👍

---

<div class="post-metadata">

**Author:** ![micmac](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/m/ed8c4c/32.png) [@micmac](https://community.gladysassistant.com/u/micmac)\
**Post date:** [Mars 11, 2026, 5:13 UTC](https://community.gladysassistant.com/t/pb-synchronisation-calendrier/10114/7 "2026-03-11T17:13:50Z")

</div>

Merci. J’essayerai plus tard.

---

<div class="post-metadata">

**Author:** ![micmac](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/m/ed8c4c/32.png) [@micmac](https://community.gladysassistant.com/u/micmac)\
**Post date:** [Mars 12, 2026, 12:27 UTC](https://community.gladysassistant.com/t/pb-synchronisation-calendrier/10114/8 "2026-03-12T12:27:30Z")

</div>

> [@guim31](#):
>
> Tu verras les 200 dernières lignes des logs.

Voilà, c’est fait ! Résultat chez Smash : [Smash](https://fromsmash.com/xvAgTwkPs3-ct) .

---

<div class="post-metadata">

**Author:** ![mutmut](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mutmut/32/14064_2.png) [@mutmut](https://community.gladysassistant.com/u/mutmut)\
**Post date:** [Mars 12, 2026, 5:50 UTC](https://community.gladysassistant.com/t/pb-synchronisation-calendrier/10114/9 "2026-03-12T17:50:24Z")

</div>

salut @micmac  
je viens de jeter un oeil sur tes logs et l’intégration calendrier fonctionne très bien chez toi :

```log
2026-03-12T13:20:32+0100 <info> calendar.syncUserCalendars.js:43 (CalDAVHandler.syncUserCalendars) CalDAV : Found 9 calendars.
2026-03-12T13:20:34+0100 <info> calendar.syncUserCalendars.js:153 (Promise.map.concurrency) CalDAV : 1 events updated for calendar Family.
2026-03-12T13:20:35+0100 <info> calendar.syncUserCalendars.js:153 (Promise.map.concurrency) CalDAV : 1 events updated for calendar Personnel.
2026-03-12T13:20:37+0100 <info> calendar.syncUserCalendars.js:153 (Promise.map.concurrency) CalDAV : 3 events updated for calendar Évènements.
2026-03-12T13:20:37+0100 <info> calendar.syncUserWebcals.js:16 (CalDAVHandler.syncUserWebcals) Webcal : Found 0 calendars.

```

Est-ce que tu as bien activé tes calendriers dans l’intégration ?  
La synchro du calendrier doit être cochée :

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/a/b/abc3edc45f7eb231a1701286a38e80c9cc8974be.png)  
Et le partage doit l’être aussi pour s’afficher dans l’onglet `Calendrier`de Gladys :  
 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/c/5/c587cac1e32091a150340c8834098c7ea4d34988.png)

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/e/1/e10809e93e7c16103ef66cd19cd6a393d16d6e51.png)  
 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/4/e/4ef36ef78a0ac83b0f0446bec9ed3abff660488a.png)

---

<div class="post-metadata">

**Author:** ![micmac](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/m/ed8c4c/32.png) [@micmac](https://community.gladysassistant.com/u/micmac)\
**Post date:** [Mars 12, 2026, 8:13 UTC](https://community.gladysassistant.com/t/pb-synchronisation-calendrier/10114/10 "2026-03-12T20:13:08Z")

</div>

J’avais bien tout fait sauf le partage. J’y ai activé tous les calendriers et j’ai resynchronisé, mais ça n’a rien changé.

De toute manière, il y a un problème dès le départ puisque, comme je l’avais indiqué, dès la toute première synchronisation (Partage et Synchronisation sont donc vides), j’ai le message « Une erreur est survenue pendant la synchronisation. Vérifiez l’état du serveur CalDAV et relancez l’auto-configuration. »

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Mars 13, 2026, 8:22 UTC](https://community.gladysassistant.com/t/pb-synchronisation-calendrier/10114/11 "2026-03-13T08:22:32Z")

</div>

@bertrandda je rebondis sur ce message ici, tu pense qu’on pourrait afficher l’erreur de synchronisation dans l’interface de l’intégration Caldav ? Ça simplifierait énormément le debug 🙂

---

<div class="post-metadata">

**Author:** ![bertrandda](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/bertrandda/32/5929_2.png) [@bertrandda](https://community.gladysassistant.com/u/bertrandda)\
**Post date:** [Mars 18, 2026, 9:18 UTC](https://community.gladysassistant.com/t/pb-synchronisation-calendrier/10114/12 "2026-03-18T21:18:36Z")

</div>

Oui je vais voir pour remonter les erreurs directement dans l’interface

---

<div class="post-metadata">

**Author:** ![bertrandda](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/bertrandda/32/5929_2.png) [@bertrandda](https://community.gladysassistant.com/u/bertrandda)\
**Post date:** [Mars 21, 2026, 10:39 UTC](https://community.gladysassistant.com/t/pb-synchronisation-calendrier/10114/13 "2026-03-21T10:39:04Z")

</div>

Voilà

> <https://github.com/GladysAssistant/Gladys/pull/2498>
>
> \### Pull Request check-list
> 
> To ensure your Pull Request can be accepted as fa…st as possible, make sure to review and check all of these items:
> 
> \- \[x\] If your changes affect the code, did you write the tests?
> \- \[x\] Are tests passing? (\`npm test\` on both front/server)
> \- \[x\] Is the linter passing? (\`npm run eslint\` on both front/server)
> \- \[x\] Did you run prettier? (\`npm run prettier\` on both front/server)
> \- \[x\] If you are adding a new feature/service, did you run the integration comparator? (\`npm run compare-translations\` on front)
> \- \[x\] Did you test this pull request in real life? With real devices? If this development is a big feature or a new service, we recommend that you provide a Docker image to the community (\[forum\](https://community.gladysassistant.com/)) for testing before merging.
> 
> NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.
> 
> \### Description of change
> 
> I added caldav config/sync errors logs in service configuration
> 
> https://community.gladysassistant.com/t/pb-synchronisation-calendrier/10114/11
> 
> 
> \## Summary by CodeRabbit
> 
> \* \*\*New Features\*\*
> \* Collapsible, toggleable CalDAV diagnostic log added to the account UI with localized labels ("Log"/"Protokoll"/"Journal").
> 
> \* \*\*Bug Fixes\*\*
> \* CalDAV errors now carry structured messages and logs; logs are displayed when present and cleared on save/sync/cleanup actions.
> 
> \* \*\*Tests\*\*
> \* CalDAV tests updated to validate the new structured error payload format.

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/e/e/ee525c93afc701386b544463fd21a9e4b1956959.png)

---

<div class="post-metadata">

**Author:** ![mutmut](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mutmut/32/14064_2.png) [@mutmut](https://community.gladysassistant.com/u/mutmut)\
**Post date:** [Mars 21, 2026, 5:17 UTC](https://community.gladysassistant.com/t/pb-synchronisation-calendrier/10114/14 "2026-03-21T17:17:52Z")

</div>

Top @bertrandda !  
Est-ce que par hasard il y a un bouton pour copier les logs simplement ?  
Ça permettrait ensuite de les coller dans un nouveau sujet sur le forum facilement pour les utilisateurs non-experts.

---

<div class="post-metadata">

**Author:** ![bertrandda](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/bertrandda/32/5929_2.png) [@bertrandda](https://community.gladysassistant.com/u/bertrandda)\
**Post date:** [Mars 21, 2026, 8:52 UTC](https://community.gladysassistant.com/t/pb-synchronisation-calendrier/10114/15 "2026-03-21T20:52:49Z")

</div>

Très bonne idée, c’est fait

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/a/a/aac8854389272f58defcb7e448f64edca3f54267.png)

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Mars 22, 2026, 2:10 UTC](https://community.gladysassistant.com/t/pb-synchronisation-calendrier/10114/16 "2026-03-22T14:10:46Z")

</div>

@bertrandda Top, merci !! Ça va aider beaucoup de monde ça 🙂

> [@mutmut](#):
>
> Est-ce que par hasard il y a un bouton pour copier les logs simplement ?

De mémoire, l’API de copier coller JS ne fonctionne que si le domaine est `localhost` ou en `https`.

Donc le bouton que tu as créé ne fonctionnera que sur Gladys Plus ! Tu as testé en réel @bertrandda sur une IP locale ? pas sûr que ça marche

---

<div class="post-metadata">

**Author:** ![bertrandda](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/bertrandda/32/5929_2.png) [@bertrandda](https://community.gladysassistant.com/u/bertrandda)\
**Post date:** [Mars 22, 2026, 6:03 UTC](https://community.gladysassistant.com/t/pb-synchronisation-calendrier/10114/17 "2026-03-22T18:03:03Z")

</div>

> [@pierre-gilles](#):
>
> Donc le bouton que tu as créé ne fonctionnera que sur Gladys Plus ! Tu as testé en réel @bertrandda sur une IP locale ? pas sûr que ça marche

En effet ça ne fonctionne que dans contexte sécurisé https ou localhost et vu que j’ai testé en dev avec localhost je n’ai pas rencontré le problème. Il y a une alternative possible avec `execCommand` mais elle est dépréciée je ne pense pas que ça vaille le coup de l’implémenter. Sinon si on n’est pas dans un contexte sécurisé je cache le bouton, c’est pas parfait mais ça évitera de penser que c’est un bug.

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Mars 23, 2026, 11:06 UTC](https://community.gladysassistant.com/t/pb-synchronisation-calendrier/10114/18 "2026-03-23T11:06:04Z")

</div>

> [@bertrandda](#):
>
> Sinon si on n’est pas dans un contexte sécurisé je cache le bouton, c’est pas parfait mais ça évitera de penser que c’est un bug.

Oui c’est la seule solution je pense

---

<div class="post-metadata">

**Author:** ![bertrandda](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/bertrandda/32/5929_2.png) [@bertrandda](https://community.gladysassistant.com/u/bertrandda)\
**Post date:** [Mars 23, 2026, 7:26 UTC](https://community.gladysassistant.com/t/pb-synchronisation-calendrier/10114/19 "2026-03-23T19:26:37Z")

</div>

C’est fait

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [Mars 24, 2026, 7:40 UTC](https://community.gladysassistant.com/t/pb-synchronisation-calendrier/10114/20 "2026-03-24T19:40:23Z")

</div>

Merci, c’est top ! C’est mergé et ça partira dans la prochaine version de Gladys 🙂

[Page suivante](https://community.gladysassistant.com/t/pb-synchronisation-calendrier/10114.md?page=2)
