Double birthdays event appear in calendar
Expected behaviour
For each day, there should be only one birthday event
Actual behaviour
For every birthday saved in the contacts, two events appear on the day of the occurrence.
Calendar app
Calendar app version: 2.1.3
CalDAV-clients used: MacOS Big Sur Calendar (the problem, nevertheless, is independent from the client)
Client configuration
Browser: Firefox 85.0.2
Operating system: MacOS 11.2.1
Server configuration
Operating system: Linux 5.8.0-41-generic x86_64 (Docker container running in Ubuntu 20.04)
Web server: Nginx
Database: PostgreSQL 12.5 on x86_64-pc-linux-musl, compiled by gcc (Alpine 10.2.1_pre1) 10.2.1 20201203, 64-bit
PHP version: 7.4.14
*Nextcloud Version: 20.0.6
Updated from an older installed version or fresh install: fresh install
List of activated apps:
Accessibility 1.6.0
Activities for shared file downloads 1.9.0
Activity 2.13.4
AppOrder 0.11.0
Auditing / Logging 1.10.0
Brute-force settings 2.0.1
Camera RAW Previews 0.7.10
Checksum 1.0.1
Collaborative tags 1.10.0
Comments 1.10.0
Contacts 3.4.3
Contacts Interaction 1.1.0
Custom CSS 1.8.0
Deleted files 1.10.1
Draw.io 0.9.8
External sites 3.7.2
External storage support 1.11.1
Extract 1.3.0
Federation 1.10.1
File sharing 1.12.2
Files automated tagging 1.10.1
First run wizard 2.9.0
Full text search 20.0.0
Full text search - Elasticsearch Platform 20.0.0
Full text search - Files 20.0.0
Full text search - Files - Tesseract OCR 20.0.1
HEIC/HEIF Image Converter 1.3.1
Hide sidebars 1.0.7
HSTS Header 0.7.0
Impersonate 1.7.0
Keeweb 0.6.4
Log Reader 2.5.0
Monitoring 1.10.0
Nextcloud announcements 1.9.0
Notes 3.5.1
Notifications 2.8.0
ONLYOFFICE 6.2.0
Password policy 1.10.1
PDF viewer 2.0.1
Photos 1.2.3
Plain text editor 2.14.0
Polls 1.7.5
Preview Generator 3.1.1
Privacy 1.4.0
Quota warning 1.9.1
Ransomware protection 1.8.0
Recommendations 0.8.0
Right click 0.17.0
Scanner 0.2.0
Share by mail 1.10.0
Sharing Path 0.3.0
Support 1.3.0
Tasks 0.13.6
Temporary files lock 20.0.0
Text 3.1.0
Theming 1.11.0
Update notification 1.10.0
Usage survey 1.8.0
User account deletion 1.0.2
User status 1.0.1
Versions 1.13.0
Video converter 1.0.0
Video player 1.9.0
Weather status 1.0.0
Nextcloud configuration:
Dockerized Nextcloud
Logs
Web server error log (e.g. /var/log/apache)
#
Log file (data/nextcloud.log)
#
Browser log
Problem is unrelated to the browser
Does executing occ dav:sync-birthday-calendar fixes the issue? https://docs.nextcloud.com/server/20/admin_manual/configuration_server/occ_command.html#dav-label
Does executing
occ dav:sync-birthday-calendarfixes the issue? https://docs.nextcloud.com/server/20/admin_manual/configuration_server/occ_command.html#dav-label
Sorry for the delay. Nope. It fixes nothing, unfortunately.
Do you have the contacts in double maybe? Can you double check the associated contact as well as the numbr of addressbooks you have enabled/disabled on your contacts app?
Do you have the contacts in double maybe?
This is the first thing I checked. Nope. All of the birthdays appear as double and none of the contacts they belong to is double.
Can you double check the associated contact as well as the numbr of addressbooks you have enabled/disabled on your contacts app?
Done. Some screenshots follow.
Contact groups (only a pretty big list and nothing else, as it should be):

Calendars (Note: all of the birthdays appear in blue, no birthday appears in other colors, so I am completely sure that the birthdays come from the same, contact-generated calendar):

Thank you for your help!
T
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.
Actually, the issue is still relevant, and I think I provided the needed info. @skjnldsv do you need more?
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.
The issue is still relevant!
Any ideas or updates?
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.
The issue is still relevant
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.
I had the same problem. I imported my contacts using the import function from a vcf file where some contacts were corrupted. Then I deleted all the contacts and uploaded the same, then repaired, vcf file again. Now I had the same problem that all the contacts that I had successfully uploaded the first time had duplicate birthdays, even though the contacts were only there once. I fixed the problem by deleting all the contacts and then running occ dav:sync-birthday-calendar. After that I added the same vcf file and now everything works fine.
I have this same issue, followed @Jerry1098's advice and it cleared it. However now the double birthdays are back without any further contact modification.
Same issue here with Nextcloud 22.2.6. Some more information from my part:
- I imported new contacts via file into a new (empty) address book. The import completed without error.
- After correcting some issues with the contacts, I deleted deleted the address book, re-created it with the same name and re-imported the same contacts. (this is probably where it all went wrong...)
- After checking all the contact's details, I deleted the address book again and re-created the address book with the final name.
- I imported the contacts for the final time into the new address book.
Result: I now have 3 occurrences of events in the birthday calendar, I already ran occ dav:sync-birthday-calendar [user] several times with no change.
ok, after some trial and error, this workaround got my birthday calendar back to "normal":
- Open your calendar app, open "Settings" (lower left corner) and disable the birthday calendar option.
- Double check, that the birthday calendar is gone (refresh calendar app in browser by hitting F5 or "refresh").
- Re-enable the "birthday calendar" setting in the calendar app (lower left corner)
- Wait for the magic to happen
- All birthday calendar entries should be back to normal 😅
In my opinion, this bug should be fixed -- my expectation would be that the occ dav:sync-birthday-calendar function does the same as deleting/recreating the birthday calendar...
Hi, please update to at least 23.0.12 and report back if it fixes the issue. Thank you!
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.
The issue is still relevant in Nextcloud 25.0.2!
Hi! Unfortunately the issue keeps happening, and I would really like to help debugging it… Could you tell me how can I do it?
It is quite itchy…
Hello, I am continuing to experience this bug in Nextcloud 29, too!
It would be very useful if you could update the label so that this does not appear as a bug related to old versions. It is still very relevant!