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

Jolla owncloud or debian linux sync

asked 2015-05-06 23:46:32 +0300

prometeus gravatar image

updated 2015-05-08 02:11:48 +0300

Hello

I'm searching a way to synchronize addressbooks and calendar entry between my computer debian 7 OS PC and jolla phone (sailfish OS 1.1.4.29)

  1. I have a Owncloud ownCloud 8.0.3 (stable) on http://192.168.1.39/owncloud/etc.. on a debian 7 OS PC
  2. I used both on jolla syncevolution and the jolla webdav account to do ownCloud sync : no success
  3. I tried jolla communicator_1.0.6-1_all.deb but the entire addressbook did not appear only my name
  4. Exporting files with K addressbook works but takes time...and is not automatic

Is there any tutorial or way to do such a synchronization ?

edit retag flag offensive close delete

Comments

Does adding a "Generic CalDAV / CardDAV account" via Settings | Accounts not work? You can probably use an IP address as the server url, if it doesn't change. To manually sync the account, longpress on it in the accounts list view, and select sync.

To get logs from CardDAV, you can do:

$ systemctl --user stop msyncd
$ killall msyncd
$ MSYNCD_LOGGING_LEVEL=8 devel-su -p msyncd

then different terminal:

$ devel-su journalctl -af | grep carddav

You should then get some decent debugging from it. Note that currently, self-signed SSL certs are NOT supported in CardDAV (that bug was fixed recently and will be released in an upcoming update) which might cause issues for you at the moment.

Cheers, Chris.

chris.adams ( 2015-05-07 05:01:32 +0300 )edit
1

CardDAV: Unfortunately broken. Might be a fix in this thread https://together.jolla.com/question/60493/new-carddavcaldav-support-got-to-it-working-with-owncloud/ but I have not tried it myself.

CalDAV: Works, but there is an bug (summer time related) that messes up your calendar if you add/edit an entry from your phone. See this thread https://together.jolla.com/question/60486/all-dates-shifted-by-one-hour-in-calendar-after-updating-to-11038/ , also I had to set the events time 1 hour earlier for them to appear correctly.

Webdav/Files: Use the app from Jolla store (automatic photo upload plugin is available in Warehouse).

joakknut ( 2015-05-07 09:21:00 +0300 )edit

Generic CalDAV and CardDAV work fine for me with this update. I have owncloud installed to server.tld/owncloud, I made server.tld/.well-known/carddav and server.tld/.well-known/caldav to redirect to server.tld/owncloud/remote.php/carddav and server.tld/owncloud/remote.php/caldav respectively, and entered only server address in account creation as server.tld (or maybe http://server.tld). Didn't try https, however.

trminator ( 2015-05-07 21:29:23 +0300 )edit

You're server use the ip 192.168.1.39, right? If so, you know that you can with this ip adress only access the server in the internal network. So you can only use it if you use the wlan at your home.

heubergen ( 2015-05-08 16:58:25 +0300 )edit

3 Answers

Sort by » oldest newest most voted
1

answered 2015-05-08 15:33:22 +0300

Sailor gravatar image

updated 2015-05-08 15:37:49 +0300

I am running Owncloud 8.0.3 and carddav and caldav is working.

You need to add the accounts in the following way:

user: Username
pass: Password
server address: https://your.owncloud.tld/
calendar path: <empty> and that is very important as the / after .tld is

It's then discovering carddav and caldav via .well-known which should be included in your owncloud vhost to match the right locations.

Requests of Jolla are looking like this after successfully setting up the account:

xxx.xxx.xxx.xxx - - [07/May/2015:12:16:50 +0200] "PROPFIND /.well-known/carddav HTTP/1.1" 302 160 "-" "Mozilla/5.0"
xxx.xxx.xxx.xxx - - [07/May/2015:12:16:50 +0200] "PROPFIND /owncloud/remote.php/carddav/ HTTP/1.1" 401 304 "-" "Mozilla/5.0"
xxx.xxx.xxx.xxx - <user> [07/May/2015:12:16:51 +0200] "PROPFIND /owncloud/remote.php/carddav/ HTTP/1.1" 207 443 "-" "Mozilla/5.0"
edit flag offensive delete publish link more
0

answered 2015-05-07 15:17:10 +0300

Eierkopp gravatar image

updated 2015-05-07 15:20:34 +0300

I'm using syncevo-http-server on my Debian(sid) box and the syncevolution app on my Jolla to keep various clients (Jolla, N900, Evolution on multiple hosts) in sync. For Contacts (contacts) and Calendar(events) it just works.

For me this tutorial was sufficient.

edit flag offensive delete publish link more
0

answered 2015-05-08 13:53:00 +0300

bennypr0fane gravatar image

The best thing to do for now is to stay away from the SailfishOS calendar and WebDAV basde syncing altogether. CalDAV and CardDAV implementation in Sailfish OS is still officially experimental as of 1.1.4 (upgrade 13) and cannot be expected to work reliably. I decided to stay away from the Jolla calendar altogether, when it just lost some important appointments. Keep in mind that the SYSTEM BACKUP UTILITY STILL DOESN'T INCLUDE THE CALENDAR, apparently because it's difficult :-P Until that is proclaimed stable, and then some - because other features announced as "stable/safe" have proven to fail, I recommend to keep hands off.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
5 followers

Stats

Asked: 2015-05-06 23:46:32 +0300

Seen: 1,149 times

Last updated: May 08 '15