We have moved to a new Sailfish OS Forum. Please start new discussions there.
54

CalDAV/CardDAV testing volunteers requested

asked 2017-03-20 05:39:57 +0300

chris.adams gravatar image

updated 2017-12-18 08:32:26 +0300

Hello! (new update: 18th December 2017)

Damien has done some more great work and has a variety of fixes for some issues in CalDAV.

Please find the updated caldav package at:

 http://9.1.tst.merproject.org/index.php/s/NOV899WpTEBoHpa

with sha1sum:

 $ sha1sum buteo-sync-plugin-caldav-0.1.44-1.armv7hl.rpm 
 990f9cb4adf6644818e2e3ad6fb4ddb70f632787  buteo-sync-plugin-caldav-0.1.44-1.armv7hl.rpm

with dependency libsailfishkeyprovider (if you don't already have this or a higher version installed):

 http://9.1.tst.merproject.org/index.php/s/8O9goi2EzWPwJaP

which has sha1sum:

 $ sha1sum libsailfishkeyprovider-0.0.14-1.armv7hl.rpm 
 bfa12e8995e9c34df406b154a5d1a82c66838d50  libsailfishkeyprovider-0.0.14-1.armv7hl.rpm

Note that there is also an updated kcalcore (calendar backend API) package however it's too large to be uploaded to that OwnCloud instance. I've asked one of our Infra guys to help raise the upload limit so that this one can be provided also; I will update this post when that one becomes available.

If anyone is able to help test these packages, I would greatly appreciate it. A few people have sent me emails over the last week or so with issues they have found with the previous caldav package - please try again with this new package as it should resolve a couple of those issues.

Best regards,

Chris.


Hello again! (new update: 10th October 2017)

Damien has been investigating a variety of issues in the CalDAV sync plugin, and has produced patches for quite a few things. Huge thanks to him for his hard work!

This new CalDAV plugin package should fix a variety of issues, notably some calendar duplication issues as well as the offline-availability issue, but before we ship it in a release, I'd like to ask volunteers to test the package thoroughly. As always, the usual caveats apply (this is pre-production code, which hasn't had full QA run on it, so please only test this against a test server or with data which you have securely backed up).

The package can be downloaded from (updated 8th November, valid until 30th November):

 http://9.1.tst.merproject.org/index.php/s/YAolxPTtqumP8ed

it is hosted on an insecure server, so please double check that the sha1sum matches as follows:

 $ sha1sum buteo-sync-plugin-caldav-0.1.43-1.armv7hl.rpm 
 629debd1d7221b3cd3c8bd2cbb8377013e1a0985  buteo-sync-plugin-caldav-0.1.43-1.armv7hl.rpm

You may also need to install this dependency package (updated 8th November, valid until 30th November):

 http://9.1.tst.merproject.org/index.php/s/JdBghPnJXA1Kfvo

which has the following sha1sum:

 $ sha1sum libsailfishkeyprovider-0.0.14-1.armv7hl.rpm 
 bfa12e8995e9c34df406b154a5d1a82c66838d50  libsailfishkeyprovider-0.0.14-1.armv7hl.rpm

These can be installed via "devel-su rpm -Uvh --force libsailfishkeyprovider-0.0.14-1.armv7hl.rpm buteo-sync-plugin-caldav-0.1.43-1.armv7hl.rpm" on the device.

As always, if you observe any problems, please collect sync logs via the instructions from https://sailfishos.org/wiki/CalDAV_and_CardDAV_Community_Contributions#Sync_Logs and email me or contact me on IRC :-)

Best regards,

Chris.


older post:

Hi!

New edit: 29 June 2017

We're asking for volunteers to help test again. I think I have resolved the calendar duplication issue now, but need many testers to try, to make sure.

The CalDAV plugin is the main one which has been updated, the other packages are provided also but haven't changed as far as I can remember. Details follow. Please check the sha1sum as shown, to be sure that the packages haven't been tampered with, as the server is not secure.

The CalDAV plugin:

http://9.1.tst.merproject.org/index.php/s/7bIjbZuYt6TIwOz
$ sha1sum buteo-sync-plugin-caldav-0.1.41-1.armv7hl.rpm 
8f323adc7c2b5238001a3b54c0e5c1c37c73e8b5  buteo-sync-plugin-caldav-0.1.41-1.armv7hl.rpm

The CardDAV plugin:

http://9.1.tst.merproject.org/index.php/s/mnSdUmueKrH1Efn
$ sha1sum buteo-sync-plugin-carddav-0.0.28-1.armv7hl.rpm 
9e40ac235736b767598e16d3bf6211b59a2a181d  buteo-sync-plugin-carddav-0.0.28-1.armv7hl.rpm

And the libsailfishkeyprovider package which is required by both of the above packages:

http://9.1.tst.merproject.org/index.php/s/L3tT1VPbKu2gSaJ
$ sha1sum libsailfishkeyprovider-0.0.14-1.armv7hl.rpm 
a567814c14defd5a7555862aed1ee978cb1d3ba5  libsailfishkeyprovider-0.0.14-1.armv7hl.rpm

If you still see calendar duplication, please send me an email with a sync log collected as shown in https://sailfishos.org/wiki/CalDAV_and_CardDAV_Community_Contributions#Sync_Logs - thanks!

Best regards, Chris.

older edit -----------------------

Hi Everyone,

Once again, if anyone is able to provide help testing it would be appreciated!

The caldav plugin can be found at:

 http://9.1.tst.merproject.org/index.php/s/OJOTrHd460BiNjw

where

 $ sha1sum buteo-sync-plugin-caldav-0.1.41-1.armv7hl.rpm 
 85e42249228aec2642d09749f271871cbed50ff4  buteo-sync-plugin-caldav-0.1.41-1.armv7hl.rpm

and the carddav plugin can be found at:

 http://9.1.tst.merproject.org/index.php/s/uKMkaKv2SOZK57y

where

 $ sha1sum buteo-sync-plugin-carddav-0.0.27-1.armv7hl.rpm 
 9177bb9c79f86fd10a139de1148670956a263c1b  buteo-sync-plugin-carddav-0.0.27-1.armv7hl.rpm

Also they have a dependency, libsailfishkeyprovider, which is available from:

 http://9.1.tst.merproject.org/index.php/s/ciGVZYu2BaFEBdv

where

 $ sha1sum libsailfishkeyprovider-0.0.14-1.armv7hl.rpm 
 a567814c14defd5a7555862aed1ee978cb1d3ba5  libsailfishkeyprovider-0.0.14-1.armv7hl.rpm

Please do check the sha1sum matches as the server is not secure.

Once you have downloaded and verified the sha1sum is correct, please scp them to the device, and install the plugins via:

 rpm -Uvh --force *rpm

and then reboot the device.

Test that synchronisation works for you, and if you encounter any issues, please collect a sync log following the instructions from https://sailfishos.org/wiki/CalDAV_and_CardDAV_Community_Contributions#Sync_Logs and send the log to chris dot adams at jolla dot com so that I can investigate.

Thanks!

Chris.

---- original post below:

Hi,

During the most recent CalDAV/CardDAV Contributors Meeting (see summary of meeting at https://sailfishos.org/wiki/CalDAV_and_CardDAV_Community_Contributions#13.2F03.2F2017_Meeting) we decided that one particular patch to our CalDAV plugin might need extra testing due to the potential for regressions. It would be great if some members of the community would be willing to help test a package with this patch included (requires developer-mode), to help us identify any regressions (note that this particular patch is currently aimed for the 2.1.1 release, so we have time to fix issues which are noted).

Some important points:

1) The CalDAV and CardDAV plugins are still considered experimental; this particular package should be considered very much experimental and with that in mind, should only be tested by experienced users with non-critical data / accounts.

2) Please take backups (both of local device data and of server data) prior to testing, especially if you are using your own server or account for the testing.

3) If you are using one of the test accounts listed here, please ensure that no personal information is upsynced (e.g. please use fake calendar events etc to avoid leaking private information to those public servers).

4) Any issues found can be reported directly to me via email at chris dot adams at jolla dot com or via the Mer Project bugtracker at https://bugs.merproject.org

I have built an rpm package with the patch for MER#1646 included, and it is available for download for the next couple of weeks from here

Please note that this is hosted on an insecure server, so before installing it on your device, please check that the sha1sum of the rpm file matches the following:

$ sha1sum buteo-sync-plugin-caldav-0.1.40-1.armv7hl.rpm 
98861dc509ef0d3ce791d4eb91ceb27b7dfbaa45  buteo-sync-plugin-caldav-0.1.40-1.armv7hl.rpm

Alternatively, build the caldav plugin package yourself from git, by checking out master and then cherry-picking the change from this MR on top.

EDIT: I had forgotten that this now has a new dependency, so please also install the updated libsailfishkeyprovider package from here or build it from git here

$ sha1sum libsailfishkeyprovider-0.0.14-1.armv7hl.rpm 
0e07f7625a2e8afd093d951b85270e9a02aa7c99  libsailfishkeyprovider-0.0.14-1.armv7hl.rpm

Once you have the rpms, scp them to your device and install them via rpm -Uvh --force buteo-sync-plugin-caldav-0.1.40-1.armv7hl.rpm libsailfishkeyprovider-0.0.14-1.armv7hl.rpm and then reboot the device.

Sync logs of failing cases can be be gathered following the instructions from here - thanks.

I did a basic smoke test and verified that very basic local and remote changes are synchronised between the device and the remote server successfully, however I only tested a couple of very basic changes. Any help to perform more manual testing would be greatly appreciated!

Best regards,

Chris.

edit retag flag offensive close delete

Comments

Fails to sync or access the local database when connecting to my Nextcloud 11.0.2 instance (the default in 2.1.0.9 works). Sent an email about it.

Manatus ( 2017-03-21 16:50:04 +0300 )edit
1

Oops - I forgot that it has a new dependency on an updated libsailfishkeyprovider. I've edited my original post to include a download link to that one also, now. Sorry for the confusion!

chris.adams ( 2017-03-22 04:47:29 +0300 )edit
1
  1. installation without issues
  2. caldav was changed to "manually", set back to "15 min"
  3. calendar app shows caldav calendar (did not since 2.1.0.9), yay!
  4. Sent some meetings from outlook, recieved them on the phone, imported them into the calendar
  5. all meetings where automatically synced to my caldav calendar.
Moo-Crumpus ( 2017-03-22 15:30:04 +0300 )edit
1

What is about the new SailfishOS 2.1.0.10 EA ? They also updated the package to fix the CalDav issues, but the version is lower than yours. Is it the same update, but with different version-numbers?

ExPLIT ( 2017-03-24 02:13:43 +0300 )edit

@ExPLIT: It shouldn't. Taking the presented information from chris.adams here into account, that doesn't make sense :)
2.1.0.9 therefore uses the old CalDav implementation and received extra fixes in 2.1.0.10, 2.1.1.x will probably contain the here mentioned new boteo-plugin.

hoschi ( 2017-03-24 08:02:53 +0300 )edit

@hoschi that's exact. The CalDAV corrections in 2.1.0.10 include corrections for MER1625 and MER1712.

Damien Caliste ( 2017-03-24 09:54:40 +0300 )edit

Nextcloud 11.0.2:

The last releases (including todays 2.1.0.10) didn't work for me as my calendars showed up in the settings but not in the calendar app. Even by deleting and recreating dav accounts the calendars were discovered but didn't show up in calendar app. This is fixed now with the testing release you provided here. :)

I opened an ics file from an email attachment and imported it to my calendar and it was synced to my nextcloud. So this carddav version works well for me so far. I only experienced that one of my calendars doesn't get synced from my nextcloud. Probably it's because it is not a calendar created by me but an external calendar imported into my nextcloud (new feature): http://i.cal.to/ical/116/redbullmuenchen/spielplan/c15985ec.0e3f21aa-82bc21ab.ics

If you want to test this new feature I can provide you a test account at my installation. Actually you already have this account but I can reset your password or create a new account if you don't remember your credentials.

mdosch ( 2017-03-24 14:23:18 +0300 )edit
1

So far Nextcloud 11.0.2 with buteo-sync-plugin-caldav-0.1.40-1 has worked for me without any problems after the initial dependency problem was resolved.

In addition to my normal personal calendar usage (which I have to admit isn't that crowded), I tried to create some trickier scenarios by setting recurring several day events and editing single instances of them, and it still worked fine. This is kind of stuff that usually breaks quite easily with activesync.

Our company's Zimbra server had upload issues with events with alarms created on SFOS calendar, but I already reported that to OP.

Manatus ( 2017-03-26 14:05:07 +0300 )edit

Works against Nextcloud 11.0.2 (as the 2.1.0.10 patch did). No amok running caldav service till now.

cy8aer ( 2017-03-26 18:31:22 +0300 )edit
4

Thanks to everyone for your efforts in testing!

A couple of potential issues were identified and I'll try to investigate those further over the coming couple of weeks. It seems to me that those issues are probably already existent in the plugin (e.g., one was related to all-day events spanning multiple days, and one was related to upsync of alarm details; neither of those are related to codepaths changed by the MER#1646 fix) so at this stage I'm happy to include this fix in the 2.1.1.x codeline.

The download links for those packages will probably expire in the next few days. If it turns out we need another testing round, I'll create new packages and new links. Thanks again to everyone for helping!

chris.adams ( 2017-03-29 09:07:03 +0300 )edit

Hello @chris.adams regarding that you have some setup in house about ddifferent cloud solutions.
Soon the cozy team will pull a v3 of cozy out, with a contact and calendar clients (as i understand) reviewed .
Would it be possible that you'll be ready for it, if there is still interest on your side?
Should happened this summer, end of june or july.
https://blog.cozycloud.cc/post/2017/04/13/Release-Cozy-V3-Alpha?lang=en

cemoi71 ( 2017-05-24 10:57:56 +0300 )edit

If you follow the instructions from https://sailfishos.org/wiki/CalDAV_and_CardDAV_Community_Contributions#Adding_A_New_Service we can look to get the new cozy instance into the Mer test services. I can't spend much time on that personally, so we'd be relying on community contributions to get it working up to the point where we can turn it on in the infra instance.

chris.adams ( 2017-05-25 03:41:43 +0300 )edit

@chris.adams I haven't encountered any problems with the latest set, at least yet. This is with Nextcloud 12.0.0.

Everything synced fine, so I put some 40 minutes into creating, editing and deleting contacts and calendar events on both Sailfish and server end. I didn't have any problems. I'll use this now and report back in case of problems.

Manatus ( 2017-05-25 16:09:59 +0300 )edit

@chris.adams that a clear answer, and i understand it. that just sad that i can't really participate on it. i'd just need a test device. and currently finance are just so short that i can't invest on it... :-(
But i find really great what you do until today . cool :-)
Have good continuation

cemoi71 ( 2017-05-25 22:59:25 +0300 )edit

@cemoi71 No problem, I understand, and thank you for your kind words.

@Manatus thank you very much for testing! Please do let me know if you encounter issues with these.

More testers would also be appreciated! Thanks!

chris.adams ( 2017-05-26 06:54:42 +0300 )edit

So far no issues, only a bug with single quote: everytime I have it on my mailbox.org account it gets encoded in '

magullo ( 2017-06-04 11:19:28 +0300 )edit

@chris.adams Ok, now I got some kind of issue. I have a specific event in the past and Nextcloud 12.0.0 reports that the event keeps updated several times a day. Probably every time my calendar syncs.

I'll see what the logs say later today...

Manatus ( 2017-06-06 09:16:24 +0300 )edit

@magullo, may you describe the issue in more details ? You may ask a new question about this, so we can keep track of it there.

Damien Caliste ( 2017-06-06 11:11:56 +0300 )edit
1

for me, this new version does not introduce any improvements. Instead, I get even more random calendar duplication and syncing errors. Thus I set up a test user on my personal baikal 0.4.6 server, did some experiments also in combination with another client (Thunderbird Lightning) and sent a whole bunch of corresponding journalctl logs alongside device and server-database snapshots to @chris.adams. Hope this helps with fixing :-) Unfortunately, I was not yet able to reproduce the calendar duplication! But I could reproduce losing changes made to single occurences of recurring events by another client because the Jolla phone seems to have ignored the server-side.

NobodyInPerson ( 2017-06-08 15:58:58 +0300 )edit

How does one reset the caldav plugin back to the repository version? I'm not so experienced with rpm package management.

NobodyInPerson ( 2017-06-27 19:19:05 +0300 )edit

Normally, pkcon install buteo-sync-plugin-caldav should be enough. With devel-su also...

Damien Caliste ( 2017-06-27 22:23:10 +0300 )edit

I have installed the newest version shortly after published, and got no duplications so far with my "usual methods". The issue seems to be fixed! :)

William ( 2017-06-29 18:52:49 +0300 )edit

@chris.adams Thank you for your ongoing work on this subject. If I stay with this platform, I guess I have to abandon EAS, so I have to give your DAV plugins a thorough test anyway. I wiped the EAS account, installed your 29 Jun 2017 versions of the plugins and created two new accounts (IMAP, *DAV) connecting to the mailbox.org service. For the *DAV account, I only had to enter the root address of the DAV server, every other setting/service was auto discovered via the .well-known mechanism. Well done so far :-)

I will test two-way sync of calendar and contact entries and have an eye on the duplication issue. I'll report if I encounter any unexpected behaviour.

Maus ( 2017-06-29 18:55:23 +0300 )edit

@chris.adams Version uploaded in 29 Jun didn't help with the events that keep updating at every sync.

Manatus ( 2017-06-30 09:08:40 +0300 )edit

@chris.adams nice to get new testing stuff on 29th June 17. (my sfos 2.1.0.11)

  1. I tested a little on the 9.1.tst owncloud, created a calendar named "jolladiho" and synced with my JP-1301 and thunderbird lightning. I only recognised, that the owncloud event editor did not use a event serie from the jollaphone as a serie. It seems to be a single event. But thunderbird did it right.

  2. I also tested against my radicale 0.10 caldav and carddav (home server). Creating and deleting works. I had no duplicated events or contacts today. Deleting an official holiday serie, that was duplicated with earlier versions, worked too.

All together, on todays test: No problems found. Maybe fixed ;-)

jolladiho ( 2017-07-01 17:57:14 +0300 )edit

Is it correct, that on the update from the 29th june the version of carddav has changed, but the caldav version is still the same as the test release before?

Fellfrosch ( 2017-07-01 18:57:30 +0300 )edit

@Fellfrosch: chris.adams wrote: "The CalDAV plugin is the main one which has been updated, the other packages are provided also but haven't changed as far as I can remember.". So indeed, CardDAV didn't change.

Maus ( 2017-07-01 21:47:21 +0300 )edit

@Maus: So why has the version number of carddav changed but the caldav version number is still the same??????

Fellfrosch ( 2017-07-03 20:14:31 +0300 )edit

@chris.adams: I still had duplication of calendars. Now I deleted the database an until now I got no duplication. I hope it stay like this. What is still broken: If my owncloud calendar isn't reachable, the calendars get lost. Ive sent you logs for this problem long time ago. Do you need further lgs for this?

Fellfrosch ( 2017-07-03 20:19:35 +0300 )edit

@Fellfrosch: you are probably right. Iijoki seems to have come with carddav-0.0.25-1/caldav-0.1.38.1-1. Both have changed, and I updated both with the versions offered here. I believe what was meant was that the carddav plugin didn't change between Mar 20 and Jun 29 2017.

Maus ( 2017-07-04 13:11:23 +0300 )edit

@chris.adams: Well it worked for nearly two days flawlessly. But now I unfortunately still have duplications of calendars. Even worse now the calendars got synced, so I could see all of the 6 times. But the events were not shown in the calendars. After a restart of the phone. The calendars are now just duplicated (2 times) and the events are here again...

I will have a look if I can make some deeper tests on weekend. If so, I will send you the logs.

Fellfrosch ( 2017-07-04 15:36:19 +0300 )edit
1

If you are still seeing duplications with this particular package, yes I'd be very interested in seeing those logs. The logs you gave me previously were used in my initial analysis (and I was also able to test the updates against an account which was provided by another community member), however of course every server will potentially produce different output which might trigger a duplication bug in same cases.

Which is to say: while the package includes some patches which definitely fixed at least one duplication bug I'm aware of, if you can still repro a duplication with these packages then the logs will help me to identify the possible cause of other duplication bugs.

Thanks for your patience with this - I know it's frustrating.

chris.adams ( 2017-07-05 08:49:58 +0300 )edit

After the last test files I did not have duplicates of calendars anymore. Just installed the new files, if something goes wrong, I will give you a note.

poddl ( 2017-07-05 13:08:49 +0300 )edit

@chris.adams: I did some tests on the weekend. For having clean conditions, I've deleted the database and my sync account (and updated my nextcloud server). Than I renewed the account. So far I got no duplications. So no log files for this. But last time it also took 2 days so we have to wait if it is really fixed for my environment. BUT what I still can report is, that the calendars get lost after a while when the phone has no contact to the syncserver. Do you need logs for that? Do others also have this problem? I have this problem on two Phones - My servers go to sleep at night, so nearly every morning the Calendars are lost and reappear as soon as the syncserver is online again.

Fellfrosch ( 2017-07-10 10:52:17 +0300 )edit

@Fellfrosch: I also see the events disappearing if no sync is possible (my work calendar can only sync if I am in my company's network). I did not yet install the patches provided here.

Flaury ( 2017-07-10 11:39:07 +0300 )edit

@Flaury: In my opinion this bug is much more serious than the duplication thing. The way it works at your company was the way, I did it in the past in my home network. I never wanted to open my network to the www. But with this bug I was forced to.

In the past it was just a simple owncloud installation. Never had to think about security issues, so it was just http and quite outdated. Nowadays I have to be always up to date and have to think about things i've never been engaged in before.

Fellfrosch ( 2017-07-10 16:54:16 +0300 )edit
1

@chris.adams: It took some days but I still have duplications. The Problem is, I don't know how to log this, because it only appears every now and then and randomly. I think it has to do with the problem, that calendars get lost when the sync server isn't available. Why? Well, i have two calendar servers which i sync to. The one at my company (egroupware) and my own at home (nextcloud). With the new files i never got again duplication of events in my company's calendar. So yes it seems like you fixed that part. But i still get them with my private calendars at home. Three times so far, and I always recognized it in the morning after my server were down at night. If you want, I probably can send you a log where my calendars get lost, because that happens quite steadily. But it's quite unlikely that i can send you a log for the duplication problem.

Fellfrosch ( 2017-07-16 10:02:54 +0300 )edit

@chris.adams: Unfortunately, I experience similar effects as Fellfrosch. Two days ago, many recurring events spontaneously multiplied. I had a busy day, and I ended up with some thirty entries, some showing up twice, others up to six times.

Another problem I noticed is past events that get their flag for being "acknowledged" cleared, apparently by the SFOS client. Once, I booted my phone and soon after, my desktop calendar notified me about some due events from two weeks ago. I could only get rid of these notifications by not using the SFOS connection or deleting those entries. I ended up with deleting those entries.

Maus ( 2017-07-23 23:15:57 +0300 )edit
1

Jämsänjoki (2.1.1) seems to have worsened the situation: after installation of 2.1.1.23, removal and re-adding of *DAV accounts, all calendar entries immediately showed up nine-fold. This happens with a Open-Xchange server.

On the other hand, I somehow doubt that this has to do with Jämsänjoki. More likely, this is just coincidence and another loop of removing the *DAV account and re-adding it will yield a different factor. This is very frustrating. I have to dismiss my calendar notifications nine times :-(

Maus ( 2017-07-26 10:05:19 +0300 )edit

@chris.adams: I just noticed that the calendar app, when offering me to select a target calendar for a new appointment, shows my CalDAV calendar nine times. Thus, not the events are duplicating in 2.1.1, but the calendar itself. I hope this helps in some way.

Maus ( 2017-07-27 09:53:42 +0300 )edit

@Fellfrosch@chris.adams I can also confirm that the calendars disappear when the sync server is unavailable (jämsänjoki -> nextcloud box). this is a showstopper for me and the only getaround is to manually sync (although, does it work now?). also had the duplication errors, but did not erase the caldav after the jämsänjoki update. pardon me if the jämsänjoki update does not contain the latest caldav plugin discussed above. however, as @Fellfrosch also mentioned, at least the disappearing calendars is a serious issue imho.

edgar ( 2017-08-02 08:27:41 +0300 )edit

@edgar and @Fellfrosch : I also set up a Radical server on my local network for CalDAV sync between my devices, but up to now I cannot reproduce the disappearance of calendars (once a first valid sync have been obtained) when not being at home. I would like to debug your issue anyway. Can we switch to this TJC question to further investigate ? I'm requesting some debug info there if you don't mind.

Damien Caliste ( 2017-08-24 12:53:19 +0300 )edit

@chris.adams: The MD5 sum of all packages released on 10 Oct 2017 do not match those given above. For the caldav plugin, it is 98a9c83e619ef2f6b4f9fc41e2feef5a. Please confirm or update the question.

Maus ( 2017-10-10 13:33:10 +0300 )edit

@Maus, it's a sha1sum, not a md5sum !

Damien Caliste ( 2017-10-10 13:47:57 +0300 )edit
1

@Damien Caliste: thanks it clearly reads sha1sum above so I blame my age and the small screen of my JP1301, should think about an F5251, but that looks huge :-/

But this gives me the opportunity to thank you, M Caliste, and @chris.adams, for your continued effort to make *DAV usable on SFOS.

Maus ( 2017-10-10 14:18:46 +0300 )edit
2

Most of the thanks goes to dcaliste recently, as most of my time has been taken up with other company priorities! Huge thanks to dcaliste, and of course the other community members who have been contributing (testing packages, reporting bugs and providing sync logs, triaging TJC issues and reporting findings in the contributors meetings, etc).

chris.adams ( 2017-10-11 04:08:42 +0300 )edit

@chris.adams Looks like I'm not having constant update issue with events in Nextcloud anymore. But then I didn't see it immediately after the last OS update either so I'll keep checking it for a week or so.

Manatus ( 2017-10-11 18:19:05 +0300 )edit

Just a notice: The Oct 2017 packages don't fix the undead reminders bug, but they didn't address this problem specifically, anyway.

Maus ( 2017-10-15 21:23:24 +0300 )edit
1

Thank you all for testing, sorry I haven't been too active on TJC to respond to feedback personally. I will review the MRs which Damien has created (including the one to address the undead reminders issue!) within the next week.

chris.adams ( 2017-10-25 04:33:01 +0300 )edit
1

I've been using the test packages since approximately two weeks and have not seen any duplication since then.

birefringence ( 2017-11-01 21:39:03 +0300 )edit

I updated to kyminjoki and changed caldav sync from manual to twice a day, resulting in duplicate calendars. ( i had it on manual symc to avoid calendar duplication).

edgar ( 2017-11-01 22:03:22 +0300 )edit
1

@edgar, version 2.1.3 doesn't contain the patchrs discussed here yet. So duplications may indeed appear in this version.

Damien Caliste ( 2017-11-01 22:56:43 +0300 )edit
1

@chris.adams@Damien Caliste I'd really love to test the packages, but they're not available anymore under the links mentioned above, these only lead to an Owncload "file not found" page.

schmittlauch ( 2017-11-02 09:04:07 +0300 )edit

I've re-shared those now, the links will expire at the end of this month.

chris.adams ( 2017-11-08 03:02:36 +0300 )edit
1

I get strange effect syncing my calendars (to be honest, the problem may be with presentation rather than synchronization): Unicode characters are replaced with numeric entities (in form ☾ for example) both in on-device calendar and notification screen (screenshots: https://www.lingua-it.pl/dl/?t=6f34ec8558958a7b7c711bf592f6fc8c and https://www.lingua-it.pl/dl/?t=4b97bbb7807fca0a7116e721151d9bb5 ).

Funny thing is, as far as I can tell, server gives raw UTF8 instead of entities, with charset given in headers: "Content-Type: text/calendar; charset=utf8" (tested with cadaver and wget), so conversion probably happens on device...

Events created on the phone are shown OK on phone, server and other clients.

Setup:

  • phone: Xperia X
  • OS: Sailfish X (official), 2.1.3.5
  • server: SOGo 2.3

Tested with default libraries and updated ones from the original post -- no difference.

briest ( 2017-11-10 00:33:25 +0300 )edit

11 Answers

Sort by » oldest newest most voted
0

answered 2018-01-04 01:02:02 +0300

SaimenSays gravatar image

updated 2018-01-04 01:28:39 +0300

There were three duplicate calenders, for each of the synced calendars in my CalDav account, so I have 9 calenders visible. To fix this issue, I installed latest update from 18th December on SailfishX running with 2.1.3.7.

  1. When I disable the CalDav account, all the calendars are still visible in Calendar app. This bug is still present in same way as discribed for Disabled email account is still receiving.

  2. Even disabling individual calenders in CalDav account, the corresponding calendar(s) are still visible in calendar app.

  3. Why are the duplicates still there after installing the new packages (Even after restart). How can I get rid of them? Do I really need to recreate the account?

edit flag offensive delete publish link more

Comments

I always recreate the account, especially after updating caldav version.

William ( 2018-01-04 14:23:48 +0300 )edit
2

To get rid of those ghost files, do the following:

  1. Delete your whole CalDAV/CardDAV-account
  2. Run this script as root via sh script.sh in terminal:

    #!/bin/bash

    CONTACTDIR=/home/nemo/.local/share/system/Contacts/qtcontacts-sqlite/ PRIVCALDIR=/home/nemo/.local/share/system/privileged/Calendar/mkcal/ PRIVCONDIR=/home/nemo/.local/share/system/privileged/Contacts/qtcontacts-sqlite/

    echo "Deleting previous CardDAV and CalDAV databases in /Contacts..."

    rm -f $CONTDIR/contacts.db rm -f $CONTDIR/contacts.db-shm rm -f $CONTDIR/contacts.db-wal

    echo "Deleting previous CalDAV databases in /privileged..."

    rm -f $PRIVCALDIR/db rm -f $PRIVCALDIR/db.changed

    echo "Deleting previous CardDAV databases in /privileged..."

    rm -f $PRIVCONDIR/calendar.stamp rm -f $PRIVCONDIR/contacts.db rm -f $PRIVCONDIR/contacts.db-shm rm -f $PRIVCONDIR/contacts.db-wal

    echo "************" echo "LOCAL CONTACT/CALENDAR-DATABASES CLEARED" echo "************"

  3. In the end, recreate your CalDAV/CardDAV-account again and everything works fine!

Picanha ( 2018-01-04 18:32:43 +0300 )edit

@Picanha as far as I can see your sript doesn't remove notifications for calendar events. Last time I deleted my calendar database it took ages until all notifications expired. It was quite annoying.

Do you hava a clue how to deactivate the stale notifications ?

jollajo ( 2018-01-06 12:25:04 +0300 )edit

The event notifications are probably stored in /home/nemo/.timed/events.data

If there's some bug in the way those are handled (e.g., not cleaned up properly on account deletion) we should fix that. Any help in figuring out a simple repro case would be appreciated.

chris.adams ( 2018-01-18 04:09:27 +0300 )edit
Login/Signup to Answer

Question tools

Follow
31 followers

Stats

Asked: 2017-03-20 05:39:57 +0300

Seen: 4,914 times

Last updated: Aug 30 '18