Caldav on Owncloud 9
Hi there,
there are a lot of answered and half-answered questions about caldav on owncloud an syncing with Jolla, but here is my one:
After having totally messed up my Raspbian/nginx/Owncloud 8.??-System I installed everything brand new, so im running now a Raspbian-Jessie distro on my Raspberry Pi with a Owncloud 9.0.3 on a nginx-server with a Sqlite-db. After some difficulties I managed to restore my old database (stored on an external SD-Drive), and after having deleted the calendar-db on my Jolla and created a new caldav-account (this is the trick, btw) on my Jolla the syncing works quite well. That means dates created on the Jolla or for example on my laptop with Evolution are synced to the Owncloud-server and vice versa, but dates created on the web-interface of owncloud are only synced to Evolution and NOT to my Jolla.
I dont understand this behavior. I tried with several default nginx-config-files and ended with the recommended one from the official owncloud website, but since the syncing with other clients is working this seems to be a fault of Jolla (?).
Does someone have a solution? Thanx
Well, try checking the error and access log of the nginx webserver. Jolla should poll regularly for new stuff. Maybe the php backend running OwnCloud logs an error in its log files.
gnuheidix ( 2016-07-05 21:09:49 +0200 )editI'm experiencing also problems with the most latest owncloud and some versions before (I don't remember exactly when it started) and made an own thread here.
Some events just don't show up in my Jolla. But for me it doesn't matter where I import them, sometimes I import in the Web-Interface, sometimes I import in Evolution. I also tried Thunderbird which also shows the events.
Chris Adams already had a look at my log files and found some errors in transferring the events but he didn't manage to do further investigation yet.
Maybe your problem is related to mine, but as you tagged this thread with 'caldav' I'm sure Chris Adams will have a look at it.
mdosch ( 2016-07-05 21:14:18 +0200 )editThanks for the report. I haven't yet had a chance to investigate @mdosch's issue, unfortunately. Your issue may be related to his, or it may be separate.
If you're able to get detailed log files from the device, I can investigate your issue further (requires developer-mode to be enabled):
1) edit /etc/systemd/journald.conf and set RateLimitInterval=5s and RateLimitBurst=5000 and then reboot the device
2) ssh in, and restart sync daemon with extra debugging enabled:
3) leave that running, and open a new ssh terminal to collect logs:
4) trigger a sync cycle via Settings / Accounts -> Longpress CalDAV -> Sync.
After maybe 30 seconds, the sync should have completed. Please copy the logs from the second (journalctl) terminal, redact any personal information, and send it to chris dot adams at jolla dot com.
Thanks very much!
p.s. what version of the CalDAV sync plugin is installed?
chris.adams ( 2016-07-06 10:35:01 +0200 )editdevel-su pkcon get-details buteo-sync-plugin-caldav
should have a version+build (like "0.1.34-1.41.3" which is version 0.1.34).I've created https://bugs.merproject.org/show_bug.cgi?id=1623 to track the issue @mdosch saw, and am hoping to investigate thoroughly this week... I know I've been saying that for a while now :-( Sorry and thank you for your patience.
chris.adams ( 2016-07-12 14:13:10 +0200 )editChris, I also have a problem with OwnCloud intergration with the built-in client. My problem is the following: I can add the account and contacts sync without any problem (OC 9.1.0, other versions from 7...8 fail) and also the syncing of calendars _seems_ like it is working (I see the calendars in the account settings and the log while syncing looks fine). However, the calendars are not created in the sqlite3 database /home/nemo/.local/share/system/privileged/Calendar/mkcal/db (it only shows the Default one and my Google calendar after adding a Google account). This behaviour for the calendars is consistent for all OwnCloud versions starting with 7 (I upgraded the OC server and went through all versions to check whether it would help). I would like to insert the notebooks for the calendars myself into the database, but don't know how the sync client could be made to realize which is which (ie, how to create a matching UID). I noticed the issue after the last OS upgrade (2.0.2.51), but it also happens with 2.0.2.49 (I also tried downgrading the OS). Everything works smoothly if I do a factory reset on the tablet though (can't remember the version number). This issue is exactly the same both on my phone and on my tablet. Any help would be greatly appreciated. The plugin version is buteo-sync-plugin-caldav-0.1.34-1.20.1.i486. Thanks!
jkkoski ( 2016-09-01 18:20:18 +0200 )edit