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

ownCloud sync does not work

asked 2016-03-30 00:25:21 +0300

Sawyer_T gravatar image

updated 2018-12-03 23:07:56 +0300

Tanghus gravatar image

Hi there, I am new to Jolla, got my phone today, migrating from Android, and am trying to set things up.

My contacts and calendars are on a ownCloud server, which uses a Let's Encrypt certificate.

When I try to add a new CardDav/CalDav account, I simply receive the error "Oops, cannot create account". So I installed DavDroid through the F-Droid market, and added my accounts there. That worked fine, but I don't see how I can link contacts and calendar to DavDroid.

Any help on how I can sync my contacts and calendars would be much appreciated. Thank you!

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
2

answered 2016-03-30 10:36:08 +0300

Sawyer_T gravatar image

updated 2016-03-30 19:04:09 +0300

Got it. The URLs need trailing slashes, it needs to look like this:

Server address: https://server.com/

CardDav: /remote.php/carddav/addressbooks/user/contacts/

CalDav: /remote.php/calddav/calendars/user/

Then it seems to work.

edit flag offensive delete publish link more

Comments

Normally you shouldn't need to enter the CardDav and CalDav URLs, it should find them out after you enter the Server address - at least it does for my owncloud 8.x and now 9.0 server.

duesselschorsch ( 2016-03-30 14:12:32 +0300 )edit

Where can I see the actual setup? There is no info about server address on an existing accout? Does somebody know where I can find configfile in console?

SaimenSays ( 2016-03-30 18:43:05 +0300 )edit
1

devel-su pkcon install libaccounts-glib-tools then ag-tool list-accounts and ag-tool list-settings ACCOUNTID should list them.

chris.adams ( 2016-03-31 09:31:01 +0300 )edit

In my case carddav' sincyng with owncloud stopped working after updating to the 9.0 version. This is what I can read in the logs:

Apr 01 15:33:55 Jolla carddav-client[24493]: [W] CardDav::addressbooksInformationResponse:518 - void CardDav::addressbooksInformationResponse() error: 203 ( 404 ) Apr 01 15:33:55 Jolla carddav-client[24493]: [W] Syncer::cardDavError:284 - CardDAV sync finished with error: 404 purging state data for account: 37 Apr 01 15:33:55 Jolla carddav-client[24493]: [C] CardDavClient::syncFinished:142 - CardDAV sync failed: 401 ""

chalupa ( 2016-04-01 16:38:15 +0300 )edit

@chalupa What version of the CardDAV plugin are you using? devel-su pkcon search name buteo-sync-plugin-carddav should tell you.

Can you provide me logs of the entire sync process?

1) ensure that /etc/systemd/journald.conf has RateLimitBurst=5000 and RateLimitInterval=10s and then reboot the device if you had to change those.

2) restart the sync scheduler with extra debugging enabled:

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

3) leave that running, and open a new ssh terminal to collect logs from the carddav sync process:

devel-su journalctl -af | grep carddav > carddav.log

4) trigger sync via Settings -> Accounts -> Long-press CardDAV account -> Sync

5) wait a couple of minutes, then the carddav.log should have all of the info. Please redact any personal information from that log, and send it to chris dot adams at jolla dot com and I will investigate.

Thanks!

chris.adams ( 2016-04-11 10:45:27 +0300 )edit
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2016-03-30 00:25:21 +0300

Seen: 658 times

Last updated: Mar 30 '16