Ask / Submit
3

unable to sync carddav (nextcloud)

asked 2017-05-13 16:12:45 +0300

nIQnutn gravatar image

Hi,

I'm unable to sync my contacts on my JollaC. My calendar is synced, but not my contacts. What can I do ?

edit retag flag offensive close delete

Comments

devel-su journalctl -fa

May 13 23:32:25 Sailfish caldav-client[17695]: [C] unknown:0 - "REPORT" request failed. 401 "Network request failed with QNetworkReply::NetworkError: 403"

May 13 23:33:31 Sailfish carddav-client[17746]: [C] unknown:0 - CardDAV sync failed: 401 ""

enter code here
nIQnutn ( 2017-05-14 00:33:48 +0300 )edit

For my cal/cardDAV account, I have only filled in the server address field with https://nextcloud.example.com/remote.php/dav/. That has worked well for both contact and calendar sync.

bellis ( 2017-05-14 07:31:41 +0300 )edit

IQnutn: Error 403 is "Unauthorized". Check login and password you've provided. Also, although I'm not sure it's still relevant, but SailfishOS could only use separate accounts for CalDav and CardDav. If you used single account and activated both Cal and CardDav there, only one would work.

Fenuks ( 2017-05-14 11:05:40 +0300 )edit

I had a single ownCloud account for CardDAV and CalDAV and it worked. I also tried to create only cardDAV but same result. I don't see any errors when I created the account.

I'll backup my data and reset my phone if it helps.

nIQnutn ( 2017-05-14 11:59:10 +0300 )edit

You might have a problem similar to what I had: https://together.jolla.com/question/161068/contact-failed-detail-constraints/ Check if you have contacts with many constituents, CardDav might be multiplying them and not going any further.

Fenuks ( 2017-05-14 12:07:03 +0300 )edit

2 Answers

Sort by » oldest newest most voted
5

answered 2017-08-30 16:02:51 +0300

damourti gravatar image

updated 2017-08-30 16:03:24 +0300

Hi nlQnutn,

This is how it worked on my nextcloud/owncloud server:

  • Username: testuser
  • Password: *
  • Server address: https://ncloud.zaclys.com/remote.php/dav/addressbooks/users/testuser/contacts/
  • CardDAV path: Left empty
  • CalDAV path: Left empty


    I did the job very well on 2.1.1.26 and I could choose between my 3 Calendars from the server.


    Cheers

  • edit flag offensive delete publish link more
    0

    answered 2018-03-28 20:17:16 +0300

    speefak gravatar image

    updated 2018-03-28 20:22:24 +0300

    i have the same issue, cantact download works, contact edit and upload works too. But creating new contacts and upload them fails.

    Calender sync runs in every combination ( create upload edit entries on server or mabile, sync in both direction etc. )

    Mar 28 19:14:18 Sailfish carddav-client[27360]: [W] unknown:0 - This device does not have a BT adapter
    Mar 28 19:14:19 Sailfish carddav-client[27360]: [W] unknown:0 - The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
    Mar 28 19:14:19 Sailfish carddav-client[27360]: [D] unknown:0 - connection-manager.cpp 150 init Connected to "libsignon-qt0"
    Mar 28 19:14:19 Sailfish [26847]: QObject::disconnect: Unexpected null parameter
    Mar 28 19:14:19 Sailfish carddav-client[27360]: [D] unknown:0 - identityimpl.cpp 96 updateState Updating state:  "PendingRegistration" SignOn::IdentityImpl(0xf5c570)
    Mar 28 19:14:19 Sailfish carddav-client[27360]: [D] unknown:0 - authsessionimpl.cpp 94 initInterface
    Mar 28 19:14:19 Sailfish [26847]: QObject::disconnect: Unexpected null parameter
    Mar 28 19:14:19 Sailfish [26847]: QObject::disconnect: Unexpected null parameter
    Mar 28 19:14:19 Sailfish invoker[1217]: SailfishKeyProvider_storedKey(): error: no scheme or key found for provider/service
    Mar 28 19:14:19 Sailfish invoker[1217]: SailfishKeyProvider_storedKey(): error: no scheme or key found for provider/service
    Mar 28 19:14:19 Sailfish invoker[1217]: SailfishKeyProvider_storedKey(): error: no scheme or key found for provider/service
    Mar 28 19:14:19 Sailfish invoker[1217]: SailfishKeyProvider_storedKey(): error: no scheme or key found for provider/service
    Mar 28 19:14:19 Sailfish carddav-client[27360]: [D] unknown:0 - authsessionimpl.cpp 94 initInterface
    Mar 28 19:14:19 Sailfish carddav-client[27360]: [D] unknown:0 - identityimpl.cpp 96 updateState Updating state:  "Ready" SignOn::IdentityImpl(0xf5c570)
    Mar 28 19:14:20 Sailfish carddav-client[27360]: [D] unknown:0 - identityimpl.cpp 96 updateState Updating state:  "NeedsUpdate" SignOn::IdentityImpl(0xf5c570)
    Mar 28 19:14:20 Sailfish carddav-client[27360]: [D] unknown:0 - identityimpl.cpp 96 updateState Updating state:  "PendingUpdate" SignOn::IdentityImpl(0xf5c570)
    Mar 28 19:14:20 Sailfish carddav-client[27360]: [D] unknown:0 - identityimpl.cpp 442 infoUpdated SERVER INFO UPDATED. NeedsUpdate " 244 "
    Mar 28 19:14:20 Sailfish carddav-client[27360]: [D] unknown:0 - identityimpl.cpp 381 getInfoReply QMap(("ACL", QVariant(QStringList, ()))("AuthMethods", QVariant(QDBusArgument, ))("Caption", QVariant(QString, "Jolla"))("Id", QVariant(uint, 244))("Owner", QVariant(QStringList, ()))("Realms", QVariant(QStringList, ()))("RefCount", QVariant(int, 0))("StoreSecret", QVariant(bool, true))("Type", QVariant(int, 0))("UserName", QVariant(QString, "user"))("UserNameSecret", QVariant(bool, false))("Validated", QVariant(bool, true)))
    Mar 28 19:14:20 Sailfish carddav-client[27360]: [D] unknown:0 - identityimpl.cpp 96 updateState Updating state:  "Ready" SignOn::IdentityImpl(0xf5c570)
    Mar 28 19:14:20 Sailfish carddav-client[27360]: [D] unknown:0 - "Unexpected reply signature: got \"\", expected \"a{sv}\""
    Mar 28 19:14:28 Sailfish dbus-daemon[1169]: Activating service name='org.nemomobile.calendardataservice'
    Mar 28 19:14:28 Sailfish dbus-daemon[1169]: Successfully activated service 'org.nemomobile.calendardataservice'
    Mar 28 19:14:28 Sailfish calendardataservice[27427]: [W] unknown:0 - sqlitestorage.cpp: 193 - database "/home/nemo/.local/share/system/privileged/Calendar/mkcal/db" opened
    Mar 28 19:14:28 Sailfish calendardataservice[27427]: [W] unknown:0 - No transactionId, discarding results
    
    edit flag offensive delete publish link more
    Login/Signup to Answer

    Question tools

    Follow
    4 followers

    Stats

    Asked: 2017-05-13 16:12:45 +0300

    Seen: 1,349 times

    Last updated: Mar 28 '18