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

[Bug] SFOS and Owncloud from v8.2.x - Syncronisation of Calendar, Addressbook, Tasks and Notes

asked 2016-02-14 19:07:22 +0200

megalith gravatar image

updated 2016-10-26 22:46:08 +0200

Topic: SFOS and Owncloud from v8.2.x - Syncronisation of Calendar, Addressbook, Tasks and Notes

Hello everybody,

with this post I would like to ask you for helping me out on the Owncloud and Sailfish OS DAV synchronization issue.

Software:

  • Owncloud with 8.2.x (self signed certificate; https)
  • MySQL
  • Apache2
  • PHP5
  • Sailfish OS v2.0.1.7 (and maybe later)

What does work:

  • Owncloud Items can be synced with Windows, Android and Linux (Kontact)
  • Owncloud (beta) client from Jolla Shop is able to sync files from and to the phone (But only one by one!)
  • The identification process (login) from Phone into the Owncloud server is working fine.
  • The calendar view where you can select the calendars is showing the owncloud calendars
  • A newly created Calendar Item gets synced to the Owncloud if I choose the Owncloud Calendar (this worked only once)

What does not work:

  • Syncing Calendar Addressbook Task and Notes
    • Syncing calendar items which have been created on the phone (new once nor old once) syncing a item worked only once and this was a newly created item.
    • Deleting a calendar on Owncloud does not delete it on the phone. Calendar stays visible in Calendar chooser
    • Calendars from Owncloud are visible; the calendar entries from owncloud calendar are not visible on the phone
    • Addressbook does not show anything working at all. No addresses move to or from the phone
    • Tasks are showing the same behavior and I also did not found a option in order to sync them on the phone
    • Notes; the application OwnNotes is not anymore developed and the install package have been removed from openrepros
    • Carddav logs could not be created, seems that Carddav is not working at all

Additional Information: - Syncing with SyncEvolution installed from OpenRepros does have problems on the Verification with the Owncloud Server.


What has been done by me:

  • I have so far I can say did I read all information on this topic I tried several hours to figure out a working solution. This has been done by using the given gui's.
  • I have looked for a consistent step by step description on the topic but could only find a view (2 or 3 maybe) which where related to older Sailfish OS Versions and older Owncloud versions mostly using a different DB. All of this manuals did not help me having a working synchronization.
  • Logs have been created for Caldav and sent over to jolla for further investigation

What has not been done yet by me:

  • I have not yet tried to get it working on the console via ssh on the phone.

What are my expectations:

  • Getting a working solution
  • Having a step by step documentation for everyone

I would like to get or even create together a working solution. Which means in my opinion having a good documented step by step description which will enable everybody with the newest updates installed to sync at least Calendar, Addressbooks and then additional Tasks and Notes.

If there is as I figured until now no working solution then please lets create one. Actually I wonder a little bit why this is not already properly implemented in the Sailfish OS (But this is not the matter of this post!)

Myself I would not call me a developer but I'm a handy with software and I have wrote before some lines of code but not that much. I guess that I see myself more as a tester and or coordinator with this topic.

As if you feel yourself a need or if you feel you want to help with this topic please support me and drop your houghts (related to the topic) here.

I hope we will get to a solution really quick as this is already that long a topic and seems to have no obvious and easy solution.

Thank you in advanced to all of you willing to help.

I'm looking forward to your input.

Kind regards,

megalith

edit retag flag offensive close delete

Comments

3

contacts and calendars work without a problem via account in settings. file upload via cargo dock. viewing files and photo sync via owncloud app. currently trying out way to write / sync notes.

Also I'm planning on writing a documentation on using owncloud on jolla in comming weeks. (will share more information on this next week)

muppeth ( 2016-02-14 22:20:09 +0200 )edit

Hello muppeth,

Thank you. For me as you see it does not work yet! Could you pls. provide me with the steps what you have already?

Thank you so much.

Kind regards, megalith

megalith ( 2016-02-14 22:23:37 +0200 )edit

maybe thats related to selfsign cert you have. maybe try out letsencrypt? also what url do you type in to setup calendars? https://your.owncloud.url/remote.php/caldav/calendars/ ?

muppeth ( 2016-02-14 22:30:31 +0200 )edit

Hello muppeth Have you read my whole post? There is written, that I can see the calendars! They are not syncing back and forth, thats part of the problem ;). Thank you. Kind regards, megalith

megalith ( 2016-02-14 22:41:04 +0200 )edit
1

I have. SOrry if asking the obvious, but just wanted to eliminate those first. Maybe trying to disable temporary https to see if its ssl certificate fault would be something to try out.

Also removing/moving calendar db at /home/nemo/.local/share/system/privileged/Calendar could help.

I guess you are using normal login method on owncloud and your user has not special characters in it. I used to have username@domain on my previous instance and that was causing a lot of problems syncing etc.

muppeth ( 2016-02-14 22:54:30 +0200 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2016-03-14 20:29:17 +0200

fchris gravatar image

updated 2016-10-26 22:43:00 +0200

megalith gravatar image

Hello everybody,

The entry of fchis iis not confirmed and the user wich wrote the answer is not active. I'm not sure if this has been tested thorowly.

Kind regards, megalith

P.s.: Anybody any news on the Owncloud integration?

Hello,

I upgraded to owncloud 9 today and everything seems to be working fine with the new URL scheme.

One account for both, CalDAV and CardDav, no further paths set for calendar or contacts, ignoring all SSL errors

So far all syncs seem to work OK - in both directions.

edit flag offensive delete publish link more

Comments

With Owncloud 8.2.2 there is THIS Bug (and other bugs linked on the github page) which also partially breaks the syncronisation for the Android Apps in some cases. I am also experiencing partial syncing issues with an Android app (oCloud for Owncloud), so some files will be uploaded and some are failing.

It seems that this bug is/will be only fixed in OwnCloud 9, so your answer confirms that the root of this bug report (atleast for some of your bullet points) is a bug inside OwnCloud and not SFOS.

Alex ( 2016-03-14 21:08:00 +0200 )edit

@Alex, thank for your input but I think that your input does not help any furhter here. It might even let people think, that this issue here would be a Owncloud issue. What in this case is not. Also the mentioned bug of you has absolutely nothing todo with the issue mentioned here.

megalith ( 2016-03-25 17:13:43 +0200 )edit

@fchris Does it still working for you? I tried the same and the calendars works as expected but I have a problem with my contacts. I'm able to edit contacts in owncloud and then after a sync they are also on my phone but I do not get new contacts. Thats really strange because edit is working but no new entries. Any idea?

PS: All other clients are working (android and thunderbird)

Salzi ( 2016-04-13 21:11:17 +0200 )edit

@Salzi, which version of OC are you using? Thank you,

megalith ( 2016-04-20 13:26:38 +0200 )edit

@megalith: ownCloud 9.0.1 (stable)

Salzi ( 2016-04-20 14:49:06 +0200 )edit
Login/Signup to Answer

Question tools

Follow
15 followers

Stats

Asked: 2016-02-14 19:07:22 +0200

Seen: 7,572 times

Last updated: Oct 26 '16