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

Support for CardDAV address books

asked 2013-12-24 21:34:15 +0200

Tanghus gravatar image

updated 2015-09-23 14:14:56 +0200

chemist gravatar image

As a supplement for the request for CalDAV calendars CardDAV address books is much needed. I need both for syncing with ownCloud though, not with the the Don't be Evil Empire ;)

EDIT: experimental CardDAV support in 1.1.1.27. Who has successfully tried it, with which provider? Post here if you have!

edit retag flag offensive close delete

Comments

20

Yup. MS-Exchange as the only sync ptrotocol in SfOS is almost a paradox. Yay for open standards!

bennypr0fane ( 2014-01-16 01:03:19 +0200 )edit
9

Bump. That's one of the three main features I need: Email, calendar, contacts. It's been almost a year now, about time it gets implemented! I'm hoping for update 9... (And NO, I don't want to use google. That's why I bought a Jolla in the first place :-)

Bimberle ( 2014-10-09 11:46:57 +0200 )edit
1

I'm glad I'm not alone on this. I really don't understand why such features as email and proper sync support are so low on the importance list. Currently e-mail sync is arbitrary at best and proper folder support is missing altogether (like you only get noticed of your inbox..). Also, no auto-bcc support and many other basic things like copypaste from emails. Caldav support came but does not work as only some items get synced and all-days are invisible. I mean come on! When these basics are running properly the phone can actually be used on a daily basis.

wilh0 ( 2014-10-09 11:57:33 +0200 )edit

Neither of you is alone on this, obviously, since this question has 227 votes. I can't wait for proper syncing all-around to be implemented either. If I didn't totally misunderstand Marc Dillon in most of his official interviews, the way to tell Jolla they ought to hurry up on this one is to get many people voting for it. I don't know if "bumping" helps on this platform though, since it doesn't work exactly like a forum (but it does get notifications out to people who already voted for it).

bennypr0fane ( 2014-10-09 16:21:05 +0200 )edit
1

I am excited about the jolla phone. Missing Carddav support is a dealbreaker to me. I will buy one once this is implemented... go for it! :-)

badger3 ( 2015-02-20 11:56:54 +0200 )edit

6 Answers

Sort by » oldest newest most voted
56

answered 2013-12-24 23:24:55 +0200

Aard gravatar image

Is on our TODO list, but has lower priority than the CalDAV at the moment. Just like CalDAV (and the other sync plugins) it will be done as open source within the Nemo project, so it is one of the items where a community coder could help in making it show up faster on the phone.

edit flag offensive delete publish link more

Comments

1

Isn't much of it going to be duplicating what's already in buteo-sync-plugin-caldav? I have a little CardDAV experience, so maybe I can contribute some coding there. My C++ skills are a bit rusty though ;)

Tanghus ( 2013-12-24 23:54:16 +0200 )edit

Quite possible. Feel free to look at the CalDAV plugin once it's published :)

Aard ( 2013-12-25 00:00:40 +0200 )edit
9

Has the development already started on that? Whome to get in contact with? I'm planning on looking into developing a sync plugin (currently looking at KDE implementation), starting development on the 25th of January (there my vacation starts and I'll have enough time to get it started).

STiAT ( 2014-01-16 17:31:56 +0200 )edit
8

Yes, to know whether/where to help would be nice to know. But I have to say I'm confused that CalDAV has a higher priority. Without CardDav there is no addressbook - and of what use is a phone without an addressbook? Calendar is nice to have, but an addressbook? (of course I'm talking about the sync of both)

codeboss ( 2014-02-04 14:52:54 +0200 )edit
16

CardDAV support would be (besides CalDAV support) an ESSENTIAL prerequisite for the Jolla phone being usable as business phone. It can only be recommended, that this part is not delayed too much, otherwise the business market cannot be reached by Jolla at all. After working with the phone for three weeks, it is still a major problem, how to import the 600 important addresses (out of 800) to the phone, because the import via single vcard files is extremely time-consuming.

thomas ( 2014-02-12 20:48:37 +0200 )edit
12

answered 2014-02-13 20:49:24 +0200

bwiedmann gravatar image

Until Jolla officially supports generic CardDAV/CalDAV sync, you may try this workaround.

edit flag offensive delete publish link more

Comments

It's a pretty nice "workaround": it worked flawlessly, thanks for sharing!

andreamtp ( 2014-10-22 09:30:45 +0200 )edit

Works nicely! I couldn't get Fastmail's CardDAV to work with 1.1.1.27 today using syncevolution. One thing to keep in mind is that syncevolution is now apparently available in warehouse, so it can be installed straight from there. CalDav works nicely with Jolla's own account sync, even though querying the .well-known (see RFC) does not seem to be implemented.

Jolly-Jo ( 2014-12-24 15:12:37 +0200 )edit
7

answered 2014-12-03 00:56:49 +0200

NicolasPetton gravatar image

Is there any update on this one? CardDAV support is the feature I miss the most.

edit flag offensive delete publish link more

Comments

yes, me too

tad ( 2014-12-03 01:02:26 +0200 )edit

Using the opt-in update 9, CardDAV works for me for an owncloud+nginx server.

sidv ( 2014-12-03 01:17:03 +0200 )edit

That's wonderful!

NicolasPetton ( 2014-12-03 01:18:53 +0200 )edit

I just tried, and while there is a new account type for carddav, the sync doesn't work for me. The phone keeps requesting the wrong url:

PROPFIND /owncloud/remote.php/carddav/

PROPFIND /owncloud/remote.php/carddav///owncloud/remote.php/carddav/principals/USERNAME

I configured the account as followed:

server address: https://example.com/owncloud/remote.php/carddav/

calendar path: addressbooks/USERNAME/contacts

I tried several variations of this settings, but the request keeps being wrong.

Any idea?

NicolasPetton ( 2014-12-03 03:17:38 +0200 )edit
3

answered 2014-12-21 10:39:49 +0200

Sören gravatar image

With 1.1.1.27 I was able to successfully sync my contacts. Only my contact pictures are missing. They are neither downloaded nor uploaded. Is the synchronization of pictures currently not supported or am I doing something wrong?

edit flag offensive delete publish link more

Comments

What are you syncing with?

Hanno ( 2014-12-22 13:25:23 +0200 )edit

I use Posteo.de. Sync works perfectly fine between Posteo.de, native iOS and Mac OS X address book apps, CardDAV-Sync app on Android, SOGO Connector for Thunderbird and my Jolla, now. Only photos are missing on my Jolla.

Sören ( 2014-12-22 17:14:48 +0200 )edit

How do you sync exactly on your Jolla? I also use posteo with the settings from https://together.jolla.com/question/60152/solved-carddav-contacts-sync-setup-mykolabposteo/

When adding the account this works fine and syncs in both directions. However changing/adding/deleting addresses on my Jolla or on posteo do not get synced any more, even if I perform a manual sync in the accounts settings.

ctrippe ( 2014-12-23 09:34:04 +0200 )edit
4

Ok, I did some further tests and some things don't work for me either. On my Jolla, I am only able to add new fields local to my phone. You can see a little phone symbol on the left instead of a globe if you add e.g. a telephone number to an existing account. These fields are not synced of course. Also, I was not able to change some fields on my Jolla. It doesn't even give you the option to change it. Like for one contact I had 3 telephone numbers, but I can only change the first which is "Mobile". I cannot change the "Business" and "Personal" one. I cannot even tip on it. For existing fields, where it shows the globe on the left and gives me the option the edit it it syncs the changes to Posteo, though. The changes come through Posteo to my iPad. I was also able to sync changes I did on my iPad back to the Jolla. What's also really bad, is that if I do a change on my Jolla I would expect that it instantly updates the server side. But, it doesn't. It waits for the next sync cycle. :-/ Also, for calendars. Very, very, very annoying. I would expect that changes get pushed directly to the server side ASAP.

Here my settings for the Posteo:

Two separate accounts, one for CalDAV and one for CardDAV. My CardDAV looks like this:

Username / Password: What I type to login to Posteo.de Server address: https://posteo.de:8843 Calendar path: /addressbooks/username/default

Watch out, for CardDAV the port is 8843, but for CaldDAV it is 8443.

But, I guess you had the same because it synced once. Did you try to add a new contact on your Jolla? Does it get synced?

Sören ( 2014-12-23 10:26:57 +0200 )edit

Thanks for your answer. I recreated my account and now it works with the limitations you mention. I don't know why it did not work for me when I first tested it.

ctrippe ( 2014-12-26 09:49:31 +0200 )edit
3

answered 2015-05-03 23:21:43 +0200

Andy Branson gravatar image

It's working with ownCloud as of 1.1.4, provided you don't have a self-signed certificate and your ownCloud is installed as the root of a web server (i.e. not in /owncloud/). These outstanding problems are being addressed.

See https://together.jolla.com/question/60493/new-carddavcaldav-support-got-to-it-working-with-owncloud/

edit flag offensive delete publish link more

Comments

CalDAV/CardDAV is working for my as of 1.1.6, with a self-signed certificate and my ownCloud instance is installed in /owncloud/.

Bladou ( 2015-07-31 11:24:08 +0200 )edit
2

answered 2015-09-27 12:04:32 +0200

Groucho gravatar image

As I'm still struggling with CardDav/OwnCloud I reopened this issue.

I'm on OwnCloud 8.1.3 and Sailfish 1.1.9.28.

CardDav and CalDav are on separate accounts. CalDav is working well, even this time is right now.

The CardDav setting is: Username: name Password: pass Server: https://example.org/owncloud/remote.php/ CardDav path: EMPTY (all as shown under https://together.jolla.com/question/60493/new-carddavcaldav-support-got-to-it-working-with-owncloud/

Still sync does not work. Here's the log from OwnCloud. Wish I knew what this means....

Debug caldav Exception: {"Message":"HTTP\/1.1 401 No basic authentication headers were found","Code":0,"Trace":"#0 \/usr\/share\/owncloud\/lib\/private\/connector\/sabre\/auth.php(149): Sabre\DAV\Auth\Backend\AbstractBasic->authenticate(Object(Sabre\DAV\Server), 'ownCloud')\n#1 \/usr\/share\/owncloud\/lib\/private\/connector\/sabre\/auth.php(122): OC\Connector\Sabre\Auth->auth(Object(Sabre\DAV\Server), 'ownCloud')\n#2 \/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Plugin.php(118): OC\Connector\Sabre\Auth->authenticate(Object(Sabre\DAV\Server), 'ownCloud')\n#3 [internal function]: Sabre\DAV\Auth\Plugin->beforeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#4 \/usr\/share\/owncloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#5 \/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(456): Sabre\Event\EventEmitter->emit('beforeMethod', Array)\n#6 \/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#7 \/usr\/share\/owncloud\/apps\/calendar\/appinfo\/remote.php(57): Sabre\DAV\Server->exec()\n#8 \/usr\/share\/owncloud\/remote.php(132): require_once('\/usr\/share\/ownc...')\n#9 {main}","File":"\/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Backend\/AbstractBasic.php","Line":70} 2015-09-27T08:59:49+00:00 Debug carddav Exception: {"Message":"HTTP\/1.1 401 No basic authentication headers were found","Code":0,"Trace":"#0 \/usr\/share\/owncloud\/lib\/private\/connector\/sabre\/auth.php(149): Sabre\DAV\Auth\Backend\AbstractBasic->authenticate(Object(Sabre\DAV\Server), 'ownCloud')\n#1 \/usr\/share\/owncloud\/lib\/private\/connector\/sabre\/auth.php(122): OC\Connector\Sabre\Auth->auth(Object(Sabre\DAV\Server), 'ownCloud')\n#2 \/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Plugin.php(118): OC\Connector\Sabre\Auth->authenticate(Object(Sabre\DAV\Server), 'ownCloud')\n#3 [internal function]: Sabre\DAV\Auth\Plugin->beforeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#4 \/usr\/share\/owncloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#5 \/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(456): Sabre\Event\EventEmitter->emit('beforeMethod', Array)\n#6 \/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#7 \/usr\/share\/owncloud\/apps\/contacts\/appinfo\/remote.php(84): Sabre\DAV\Server->exec()\n#8 \/usr\/share\/owncloud\/remote.php(132): require_once('\/usr\/share\/ownc...')\n#9 {main}","File":"\/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Backend\/AbstractBasic.php","Line":70} 2015-09-27T08:59:49+00:00 Debug caldav Exception: {"Message":"HTTP\/1.1 401 No basic authentication headers were found","Code":0,"Trace":"#0 \/usr\/share\/owncloud\/lib\/private\/connector\/sabre\/auth.php(149): Sabre\DAV\Auth\Backend\AbstractBasic->authenticate(Object(Sabre\DAV\Server), 'ownCloud')\n#1 \/usr\/share\/owncloud\/lib\/private\/connector\/sabre\/auth.php(122): OC\Connector\Sabre\Auth->auth(Object(Sabre\DAV\Server), 'ownCloud')\n#2 \/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Plugin.php(118): OC\Connector\Sabre\Auth->authenticate(Object(Sabre\DAV\Server), 'ownCloud')\n#3 [internal function]: Sabre\DAV\Auth\Plugin->beforeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#4 \/usr\/share\/owncloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#5 \/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(456): Sabre\Event\EventEmitter->emit('beforeMethod', Array)\n#6 \/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#7 \/usr\/share\/owncloud\/apps\/calendar\/appinfo\/remote.php(57): Sabre\DAV\Server->exec()\n#8 \/usr\/share\/owncloud\/remote.php(132): require_once('\/usr\/share\/ownc...')\n#9 {main}","File":"\/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Backend\/AbstractBasic.php","Line":70} 2015-09-27T08:59:48+00:00 Debug caldav Exception: {"Message":"HTTP\/1.1 401 No basic authentication headers were found","Code":0,"Trace":"#0 \/usr\/share\/owncloud\/lib\/private\/connector\/sabre\/auth.php(149): Sabre\DAV\Auth\Backend\AbstractBasic->authenticate(Object(Sabre\DAV\Server), 'ownCloud')\n#1 \/usr\/share\/owncloud\/lib\/private\/connector\/sabre\/auth.php(122): OC\Connector\Sabre\Auth->auth(Object(Sabre\DAV\Server), 'ownCloud')\n#2 \/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Plugin.php(118): OC\Connector\Sabre\Auth->authenticate(Object(Sabre\DAV\Server), 'ownCloud')\n#3 [internal function]: Sabre\DAV\Auth\Plugin->beforeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#4 \/usr\/share\/owncloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#5 \/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(456): Sabre\Event\EventEmitter->emit('beforeMethod', Array)\n#6 \/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#7 \/usr\/share\/owncloud\/apps\/calendar\/appinfo\/remote.php(57): Sabre\DAV\Server->exec()\n#8 \/usr\/share\/owncloud\/remote.php(132): require_once('\/usr\/share\/ownc...')\n#9 {main}","File":"\/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Backend\/AbstractBasic.php","Line":70} 2015-09-27T08:59:48+00:00 Debug carddav Exception: {"Message":"HTTP\/1.1 401 No basic authentication headers were found","Code":0,"Trace":"#0 \/usr\/share\/owncloud\/lib\/private\/connector\/sabre\/auth.php(149): Sabre\DAV\Auth\Backend\AbstractBasic->authenticate(Object(Sabre\DAV\Server), 'ownCloud')\n#1 \/usr\/share\/owncloud\/lib\/private\/connector\/sabre\/auth.php(122): OC\Connector\Sabre\Auth->auth(Object(Sabre\DAV\Server), 'ownCloud')\n#2 \/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Plugin.php(118): OC\Connector\Sabre\Auth->authenticate(Object(Sabre\DAV\Server), 'ownCloud')\n#3 [internal function]: Sabre\DAV\Auth\Plugin->beforeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#4 \/usr\/share\/owncloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#5 \/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(456): Sabre\Event\EventEmitter->emit('beforeMethod', Array)\n#6 \/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#7 \/usr\/share\/owncloud\/apps\/contacts\/appinfo\/remote.php(84): Sabre\DAV\Server->exec()\n#8 \/usr\/share\/owncloud\/remote.php(132): require_once('\/usr\/share\/ownc...')\n#9 {main}","File":"\/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Backend\/AbstractBasic.php","Line":70} 2015-09-27T08:59:48+00:00 Debug carddav Exception: {"Message":"HTTP\/1.1 401 No basic authentication headers were found","Code":0,"Trace":"#0 \/usr\/share\/owncloud\/lib\/private\/connector\/sabre\/auth.php(149): Sabre\DAV\Auth\Backend\AbstractBasic->authenticate(Object(Sabre\DAV\Server), 'ownCloud')\n#1 \/usr\/share\/owncloud\/lib\/private\/connector\/sabre\/auth.php(122): OC\Connector\Sabre\Auth->auth(Object(Sabre\DAV\Server), 'ownCloud')\n#2 \/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Plugin.php(118): OC\Connector\Sabre\Auth->authenticate(Object(Sabre\DAV\Server), 'ownCloud')\n#3 [internal function]: Sabre\DAV\Auth\Plugin->beforeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#4 \/usr\/share\/owncloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#5 \/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(456): Sabre\Event\EventEmitter->emit('beforeMethod', Array)\n#6 \/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#7 \/usr\/share\/owncloud\/apps\/contacts\/appinfo\/remote.php(84): Sabre\DAV\Server->exec()\n#8 \/usr\/share\/owncloud\/remote.php(132): require_once('\/usr\/share\/ownc...')\n#9 {main}","File":"\/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Backend\/AbstractBasic.php","Line":70} 2015-09-27T08:53:44+00:00 Fatal remote App not installed: 2015-09-27T08:50:29+00:00 Fatal remote App not installed: 2015-09-27T08:50:16+00:00 Debug contacts OCA\Contacts\Backend\Database::updateContact, id513 2015-09-27T08:47:56+00:00 Error contacts OCA\Contacts\Backend\Database::updateContact, exception: An exception occurred while executing 'UPDATE "oc_contacts_cards" SET "fullname" = ?,"carddata" = ?, "lastmodified" = ? WHERE "id" = ? AND "addressbookid" = ?' with params [{"delimiter":",","name":"FN","group":null,"parameters":[],"parent":{"name":"VCARD","children":[{"delimiter":",","name":"VERSION","group":null,"parameters":[],"parent":null},{"delimiter":";","name":"N","group":null,"parameters":[],"parent":null},{"delimiter":null,"name":"REV","group":null,"parameters":[],"parent":null},{"delimiter":";","name":"ADR","group":null,"parameters":{"TYPE":{"name":"TYPE","noName":false,"parent":null}},"parent":null},{"delimiter":",","name":"UID","group":null,"parameters":[],"parent":null},{"delimiter":",","name":"TEL","group":null,"parameters":{"TYPE":{"name":"TYPE","noName":false,"parent":null}},"parent":null},{"delimiter":",","name":"X-ABADR","group":"ITEM1","parameters":[],"parent":null},{"delimiter":",","name":"FN","group":null,"parameters":[],"parent":null}],"parent":null}}, "BEGIN:VCARD\XXXXXXX(I filled this in)\nEND:VCARD\r\n", 1443343675, "513", "1"]: SQLSTATE[HY000]: General error: 5 database is locked 2015-09-27T08:47:56+00:00 Debug contacts OCA\Contacts\Utils\Properties::purgeIndexes, ids: Array ( [0] => 512 ) 2015-09-27T08:47:55+00:00 Debug contacts OCA\Contacts\Utils\Properties::purgeIndexes, ids: Array ( [0] => 512 ) 2015-09-27T08:47:55+00:00 Debug carddav Exception: {"Message":"HTTP\/1.1 401 No basic authentication headers were found","Code":0,"Trace":"#0 \/usr\/share\/owncloud\/lib\/private\/connector\/sabre\/auth.php(149): Sabre\DAV\Auth\Backend\AbstractBasic->authenticate(Object(Sabre\DAV\Server), 'ownCloud')\n#1 \/usr\/share\/owncloud\/lib\/private\/connector\/sabre\/auth.php(122): OC\Connector\Sabre\Auth->auth(Object(Sabre\DAV\Server), 'ownCloud')\n#2 \/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Plugin.php(118): OC\Connector\Sabre\Auth->authenticate(Object(Sabre\DAV\Server), 'ownCloud')\n#3 [internal function]: Sabre\DAV\Auth\Plugin->beforeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#4 \/usr\/share\/owncloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#5 \/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(456): Sabre\Event\EventEmitter->emit('beforeMethod', Array)\n#6 \/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#7 \/usr\/share\/owncloud\/apps\/contacts\/appinfo\/remote.php(84): Sabre\DAV\Server->exec()\n#8 \/usr\/share\/owncloud\/remote.php(132): require_once('\/usr\/share\/ownc...')\n#9 {main}","File":"\/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Backend\/AbstractBasic.php","Line":70} 2015-09-27T08:47:55+00:00 Debug carddav Exception: {"Message":"HTTP\/1.1 401 No basic authentication headers were found","Code":0,"Trace":"#0 \/usr\/share\/owncloud\/lib\/private\/connector\/sabre\/auth.php(149): Sabre\DAV\Auth\Backend\AbstractBasic->authenticate(Object(Sabre\DAV\Server), 'ownCloud')\n#1 \/usr\/share\/owncloud\/lib\/private\/connector\/sabre\/auth.php(122): OC\Connector\Sabre\Auth->auth(Object(Sabre\DAV\Server), 'ownCloud')\n#2 \/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Plugin.php(118): OC\Connector\Sabre\Auth->authenticate(Object(Sabre\DAV\Server), 'ownCloud')\n#3 [internal function]: Sabre\DAV\Auth\Plugin->beforeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#4 \/usr\/share\/owncloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#5 \/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(456): Sabre\Event\EventEmitter->emit('beforeMethod', Array)\n#6 \/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#7 \/usr\/share\/owncloud\/apps\/contacts\/appinfo\/remote.php(84): Sabre\DAV\Server->exec()\n#8 \/usr\/share\/owncloud\/remote.php(132): require_once('\/usr\/share\/ownc...')\n#9 {main}","File":"\/usr\/share\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Backend\/AbstractBasic.php","Line":70} 2015-09-27T08:47:53+00:00

edit flag offensive delete publish link more

Comments

Hi,

I can see 3 error messages in your debug output :

  1. "HTTP\/1.1 401 No basic authentication headers were found" : seems to indicate that you're not sending authentication headers (username + password). Sailfish handles this. So, you'd probably check your account settings.
  2. "Fatal remote App not installed:" : I don't have enough details to help you further with this one :(
  3. "General error: 5 database is locked" : that probably prevents some queries to be executed... and causes a general failure.

To me it doesn't look like a Sailfish OS issue. If I were you, I would triple-check my ownCloud setup.

François ( 2015-09-28 10:44:26 +0200 )edit
1

Are you also able to get client-side logs so that I can debug further?

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

2) restart sync daemon with more logging:

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

3) leave that terminal running, open a new terminal to collect sync logs from CardDAV:

 devel-su journalctl -af | grep carddav

4) trigger sync via Settings|Accounts | LongPress CardDAV -> Sync

The second (journalctl) terminal should provide plenty of information. Please send those logs to chris dot adams at jolla dot com and I will investigate further.

Thanks, Chris.

chris.adams ( 2015-09-28 11:46:18 +0200 )edit

I cannot confirm that.

Owncloud: 8.1.0 SFOS: 1.1.9.28

Caldav and Carddav, both, are working.

spacefrogg ( 2015-09-28 18:41:07 +0200 )edit
Login/Signup to Answer

Question tools

Follow
86 followers

Stats

Asked: 2013-12-24 21:34:15 +0200

Seen: 5,581 times

Last updated: Sep 27 '15