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

Added calendar entries disappear #427

Closed
mejo- opened this issue Apr 9, 2018 · 31 comments
Closed

Added calendar entries disappear #427

mejo- opened this issue Apr 9, 2018 · 31 comments
Labels

Comments

@mejo-
Copy link

mejo- commented Apr 9, 2018

Since a few days (probably since the update from 3.3.x to 3.4.1), all calendar entries I add through Simple Calendar magically disappear after a few minutes. First, the new added entry appears in the calendar, then after a few minutes it vanishes.

My current wild guess is that new entries aren't added to the remote CalDAV calender and a background synchronization task overwrites the local calendar, removing the local-only calendar entry that had been created before. But that's totally uneducated, I didn't look into debugging this yet.

I'm running Simple Calendar 3.4.1 from F-Droid on a LineageOS 14.1 device and I use CalDAV calendars from a Nextcloud instance (synchronized via DAVdroid) as backend.

I didn't change anything in my setup recently, neither in the Calendar settings, nor in the DAVdroid settings. CalDAV synchronization is enabled in the Simple Calendar settings.

I'm happy to provide additional information it you give me further advice.

@mejo-
Copy link
Author

mejo- commented Apr 9, 2018

I just verified hat manually invoking Update CalDAV calendar (or whatever the exact english wording is) from the App menu makes the entries disappear.

@tibbi tibbi added the bug label Apr 9, 2018
@tibbi
Copy link
Contributor

tibbi commented Apr 12, 2018

I cannot reproduce it that easily. Are you online or offline when invoking the manual refresh and creating the event?

@mejo-
Copy link
Author

mejo- commented Apr 13, 2018

Mh, for me that happens every single time I enter a date in Simple Calendar. I'm always online, both when creating and when refreshing.

@tibbi
Copy link
Contributor

tibbi commented Apr 13, 2018

Okay thanks, Ill try reproducing it with DavDroid and Nextcloud. I was trying only with Google Calendars, guess they handle it better.

@mejo-
Copy link
Author

mejo- commented Apr 13, 2018

If you want to, I can give you a Nextcloud account for testing purposes. Just email me at jonas at freesources dot org.

@tibbi
Copy link
Contributor

tibbi commented Apr 13, 2018

I can create some trial account there, already created a couple ;)

@tibbi
Copy link
Contributor

tibbi commented May 2, 2018

tried reproducing it with DAVDroid and Nextcloud but it always works properly :/ How about creating a new event and instead of pressing Refresh CalDAV Calendar you run a manual DAVDroid refresh? Do events get deleted?

@AeliusSaionji
Copy link

Update 4.0 has caused many of my caldav entries to vanish, past and future.

@AeliusSaionji
Copy link

AeliusSaionji commented May 14, 2018

Nevermind, this was a configuration issue with davdroid.

When "past event time limit" is 0, it apparently removes future events from the current day.

They still exist on the caldav server, just ignored from sync until that setting is changed.

@tibbi
Copy link
Contributor

tibbi commented May 14, 2018

so it works properly, or is there something on my side that i can improve?

@AeliusSaionji
Copy link

As far as I can tell Simple Calendar is working perfectly. Past versions must not have triggered sync properly, so I only bumped into this just now.

Thanks!

@tibbi
Copy link
Contributor

tibbi commented May 14, 2018

ye there were many caldav related fixes in version 4.0, so Ill close this one. Thanks

@tibbi tibbi closed this as completed May 14, 2018
@mejo-
Copy link
Author

mejo- commented May 15, 2018

Unfortunately, I still have the same problem with version 4.0. I now did the following::

  1. Create a calendar event in Simple Calendar. It's visible locally but not in the remote CalDAV calendar.
  2. Ran a manual CalDAV sync in DAVdroid. Still the same: event is visible in Simple Calendar but not in the remote CalDAV calendar.
  3. Waited a bit (~30m) in the hope that Simple Calendar pushed the event to the remote CalDAV calendar, without success.
  4. Ran manual CalCAV calendar sync in Smple Calendar. Event disappeared from Simple Calendar and still not visible on remote CalDAV calendar.

I have "CalDAV synchronization" activated in Simple Calendar and the calendar is selected for CalDAV sync in DAVdroid. Also, other clients (Thunderbird) write successfully to the very same calendar with the same credentials, so I don't believe it's an issue with the CalDAV server (Nextcloud 13.0.2).

Do you have further suggestions on how to debug? Maybe try to catch a debug log using adb? I'd love to squash this bug as it currently renders Simple Calendar mostly unusable for me.

@tibbi
Copy link
Contributor

tibbi commented Jun 13, 2018

retry with 4.1.0 please, some related things have been improved

@tibbi tibbi closed this as completed Jun 13, 2018
@tibbi tibbi reopened this Jun 13, 2018
@mejo-
Copy link
Author

mejo- commented Jun 18, 2018

Hey @tibbi. Thanks for your great work on Simple Calendar. I upgraded to 4.1.0 now (since it hit F-Droid). Unfortunately the issue is still there.

@mejo-
Copy link
Author

mejo- commented Jun 23, 2018

Hey again. Today I finally tried another calendar app (Etar). This calendar doesn't suffer from the issue at all. Calendar entries are sucessfully synchronized to the remote CalDAV calendar and don't disappear even refreshing the CalDAV calendar.

Then I decided to go with a fresh reinstallation of your Simple Calendar app. I uninstalled it from my Smartphone and reinstalled it immediately afterwards. Great news: the issue disappeared. When I now enter a new calendar entry in Simple Calendar it as well gets synchronized to the remote CalDAV calendar, I can see it in all other CalDAV clients, and it doesn't disappear anymore after refreshing the CalDAV synchronization.

So I'm finally closing this bugreport. I'm still convinced that the issue is in Simple Calendar, but maybe some strange cornercase with an outdated internal database or whatever. For me, the issue is resolved after reinstallation.

@mejo- mejo- closed this as completed Jun 23, 2018
@tibbi
Copy link
Contributor

tibbi commented Jun 23, 2018

Alright, not sure what could have gone wrong there :) Etar is the old stock calendar created by Google with a few minor tweaks, so it should be reliable indeed.

@NicoHood
Copy link
Contributor

NicoHood commented Mar 2, 2019

Hi,
I recently also have the problem that random entries disappear. I restored a backup yesterday but today other meetings are lost again. That is supar annoying, especially because you do not exactly know which entries get deleted, you can only guess from what you remember.

I am using davx5 to syncronize with my radicale caldav server. The weird thing is, that none of all three components got any update within the last weeks.

Any ideas how to debug this? Can we somewhere check why an entry got deleted because of synchronization?

@tibbi
Copy link
Contributor

tibbi commented Mar 2, 2019

what app version do you have?

@NicoHood
Copy link
Contributor

NicoHood commented Mar 2, 2019

6.3.1 from the playstore on the latest android 9 on an android one smartphone. Last update on 23.2.2019, maybe that introduced those issues? Could make sense.

@tibbi
Copy link
Contributor

tibbi commented Mar 3, 2019

not sure, does it work well via other android app calendars? Im not familiar with radicale server, so far nobody mentioned it

@AeliusSaionji
Copy link

I use DavDroid (now DAVx5) to sync calendars and tasks hosted on Radicale. Everything seems to be fine with me.

@NicoHood
Copy link
Contributor

NicoHood commented Mar 6, 2019

Well I did not try any other app. But what would it help? The entries are gone and synced back to the server. I dont know if its a failure on your side, davdroid or radicale. But I have backups and everything is in place again. I will come back if it happens again, but its possibly not even a problem of the calendar app.

@tibbi
Copy link
Contributor

tibbi commented Mar 6, 2019

the important part might be that who created the events. Is it Simple Calendar, some other app, or you create it on your PC or elsewhere? Thats what I would focus on at reproducing it.

@tibbi tibbi reopened this Mar 6, 2019
@NicoHood
Copy link
Contributor

NicoHood commented Mar 7, 2019

I create all events with your app. Also my phone is the only client that syncs against the server. I mainly use it as an automated backup in case I loose my phone, so I have all calendar entries on my pc.

@7ocb
Copy link

7ocb commented Sep 22, 2019

Also saw this recently a couple of times. I'm also using DAVx5 to synchronize.

@tibbi
Copy link
Contributor

tibbi commented Feb 6, 2020

someone retry with the latest 6.8.3 please, many things changed since the issue has been created.

@tibbi tibbi closed this as completed Feb 23, 2021
@NicoHood
Copy link
Contributor

I had no problems the last year, so I guess it is fixed now.

@titibandit
Copy link

Hey, that problem is happening right now on my (non-technicaly inclined) friend's phone.
I haven't tried to reinstall the app yet, maybe to give us a chance to figure out the problem's cause.
It's also when adding events to a calendar that's syncronized over caldav with the DAVx5 app.
The caldav server is whatever purelymail.com use for his caldav servers, but it seems that it's not related to the caldav server, looking at the history of this issue.
The app version is 6.23.1

@NuLL3rr0r
Copy link

@titibandit I'm having the same issue with PurelyMail and the same setup. However, I have no idea how one can diagnose the root cause.

@titibandit
Copy link

It's purelymail causing the problem. See ScottPeterJohnson/purelymail-issues#222

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants