answered
2015-09-27 12:04:32 +0200
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
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 )editBump. 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 )editI'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 )editNeither 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 )editI 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