Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double birthdays event appear in calendar #25643

Open
xplosionmind opened this issue Feb 12, 2021 · 20 comments
Open

Double birthdays event appear in calendar #25643

xplosionmind opened this issue Feb 12, 2021 · 20 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 25-feedback bug feature: caldav Related to CalDAV internals

Comments

@xplosionmind
Copy link

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
@tcitworld
Copy link
Member

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

@tcitworld tcitworld transferred this issue from nextcloud/calendar Feb 15, 2021
@xplosionmind
Copy link
Author

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

Sorry for the delay. Nope. It fixes nothing, unfortunately.

@skjnldsv
Copy link
Member

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?

@skjnldsv skjnldsv added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug needs info labels Mar 22, 2021
@xplosionmind
Copy link
Author

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):
Screenshot 2021-03-22 at 1 37 53 PM

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):
Screenshot 2021-03-22 at 1 38 03 PM

Thank you for your help!
T

@ghost

This comment was marked as resolved.

@ghost ghost added the stale Ticket or PR with no recent activity label Apr 21, 2021
@xplosionmind

This comment was marked as resolved.

@ghost ghost removed the stale Ticket or PR with no recent activity label Apr 21, 2021
@ghost

This comment was marked as resolved.

@ghost ghost added the stale Ticket or PR with no recent activity label May 21, 2021
@tcitworld tcitworld removed the stale Ticket or PR with no recent activity label May 21, 2021
@xplosionmind

This comment was marked as resolved.

@ghost

This comment was marked as resolved.

@ghost ghost added the stale Ticket or PR with no recent activity label Jun 20, 2021
@xplosionmind

This comment was marked as resolved.

@ghost ghost removed the stale Ticket or PR with no recent activity label Jun 20, 2021
@ghost

This comment was marked as resolved.

@ghost ghost added the stale Ticket or PR with no recent activity label Jul 20, 2021
@tcitworld tcitworld added 1. to develop Accepted and waiting to be taken care of and removed 0. Needs triage Pending check for reproducibility or if it fits our roadmap needs info stale Ticket or PR with no recent activity labels Jul 21, 2021
@Jerry1098
Copy link

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.

@MagicTrevor
Copy link

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.

@fuse314
Copy link

fuse314 commented Apr 23, 2022

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.

@fuse314
Copy link

fuse314 commented Apr 23, 2022

ok, after some trial and error, this workaround got my birthday calendar back to "normal":

  1. Open your calendar app, open "Settings" (lower left corner) and disable the birthday calendar option.
  2. Double check, that the birthday calendar is gone (refresh calendar app in browser by hitting F5 or "refresh").
  3. Re-enable the "birthday calendar" setting in the calendar app (lower left corner)
  4. Wait for the magic to happen
  5. 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...

@szaimen

This comment was marked as resolved.

@szaimen szaimen added needs info 0. Needs triage Pending check for reproducibility or if it fits our roadmap and removed 1. to develop Accepted and waiting to be taken care of labels Nov 26, 2022
@nextcloud-command

This comment was marked as resolved.

@nextcloud-command nextcloud-command added the stale Ticket or PR with no recent activity label Jan 11, 2023
@xplosionmind
Copy link
Author

The issue is still relevant in Nextcloud 25.0.2!

@szaimen szaimen added 25-feedback and removed needs info stale Ticket or PR with no recent activity 22-feedback labels Jan 21, 2023
@xplosionmind
Copy link
Author

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…

@joshtrichards joshtrichards added the feature: caldav Related to CalDAV internals label Aug 28, 2023
@xplosionmind
Copy link
Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 25-feedback bug feature: caldav Related to CalDAV internals
Projects
None yet
Development

No branches or pull requests

9 participants