Calendar synchronization issue

Hello.

I followed the procedure to import my Apple Calendar. At the end of the last synchronization step, I get the message « An error occurred during synchronization. Check the status of the CalDAV server and restart the auto-configuration. » and only one calendar (the first in a list of 8 calendars) is actually synchronized. No matter how many times I Reset and Synchronize again, nothing works: there is still only one calendar synchronized (always the same one).

PS: I read the thread « CalDAV synchronization problem » by elfedagger but it concerns Google Calendar.

Update: in fact, the Gladys calendar includes the new events (those created after the Gladys calendar was created) but not the old ones (except for one calendar)!

Hi @micmac,

Weird, maybe an Apple-specific behavior, it’s the first time I’ve heard that, in any case :slight_smile:

That said, it might be a synchronization bug related to a peculiarity of Apple Calendar.

Can you check Gladys’ logs at the moment you perform the synchronization to see if there’s a specific crash?

docker logs gladys 

Regarding the logs, I’m happy to provide them, but you’d need to show me the procedure :smiling_face:. I managed to install Gladys on my Freebox Delta, but I’m quite a novice in this area :blush:.

You just need to run this command :slight_smile:

docker logs gladys 

Hello @pierre-gilles .

When I run your command, text scrolls continuously and I can’t read

1 Like

If you type:

docker logs --tail 200 gladys

You will see the last 200 lines of the logs.

If you type:

docker logs -f --tail 20 gladys

You will get the logs in real time :+1:

Thank you. I will try later.

1 Like

There you go, it’s done! Result on Smash: Smash .

Hi @micmac
I just had a look at your logs and the calendar integration is working fine on your side:

2026-03-12T13:20:32+0100 \u003cinfo\u003e calendar.syncUserCalendars.js:43 (CalDAVHandler.syncUserCalendars) CalDAV : Found 9 calendars.
2026-03-12T13:20:34+0100 \u003cinfo

I had done everything except sharing. I enabled all the calendars there and resynchronized, but it didn’t change anything.

In any case, there is a problem from the start because, as I mentioned, from the very first synchronization (Sharing and Synchronization are therefore empty), I get the message « An error occurred during synchronization. Check the status of the CalDAV server and restart the auto-configuration. »

@bertrandda I’m following up on this message here — do you think we could display the synchronization error in the CalDAV integration interface? It would make debugging much easier :slight_smile:

Yes, I’ll look into surfacing the errors directly in the interface.

1 Like

Here it is

2 Likes

Great @bertrandda !
Is there by any chance a button to easily copy the logs?
That would then make it easy to paste them into a new thread on the forum for non-expert users.

Great idea, it’s done

1 Like

@bertrandda Awesome, thanks!! This will help a lot of people :slight_smile:

From memory, the JS copy-paste API only works if the domain is localhost or served over `

Indeed it only works in a secure context (https or localhost) and since I tested in dev with localhost I didn’t encounter the problem. There is a possible alternative with execCommand but it is deprecated—I don’t think it’s worth implementing. Otherwise, if we’re not in a secure context I hide the button, it’s not perfect but it will prevent people from thinking it’s a bug.

2 Likes

Yes, that’s the only solution, I think

It’s done.

1 Like

Thanks, that’s great! It’s merged and will be included in the next Gladys release :slight_smile:

1 Like