answered
2015-11-26 00:30:17 +0200
I have tested every combination (server name / path) for a caldav owncloud account without success. Something is going wrong at some point, as it detects the names of the calendars, but it is not able to sync. Carddav has been synced without problems.
Errors in sync are always the following
nov 25 23:26:29 Jolla estart[6144]: [W] Buteo::ProfileManagerPrivate::writeProfileFile:1153 - writeProfileFile() called, forcing disk write: "/home/nemo/.cache/msyncd/sync/caldav-sync-44.xml"
nov 25 23:26:29 Jolla [2195]: [W] Buteo::ProfileManagerPrivate::writeProfileFile:1153 - writeProfileFile() called, forcing disk write: "/home/nemo/.cache/msyncd/sync/caldav-sync-44.xml"
nov 25 23:26:29 Jolla [2195]: [W] Buteo::ProfileManagerPrivate::writeProfileFile:1153 - writeProfileFile() called, forcing disk write: "/home/nemo/.cache/msyncd/sync/caldav-sync-44.xml"
nov 25 23:26:31 Jolla caldav-client[20923]: [D] SignOn::ConnectionManager::setupSocketConnection:106 - connection-manager.cpp 106 setupSocketConnection p2p error: QDBusError("org.freedesktop.DBus.Error.FileNotFound", "Failed to connect to socket /run/user/100000/signond/socket: No existe el fichero o el directorio") 1
nov 25 23:26:31 Jolla caldav-client[20923]: [D] SignOn::ConnectionManager::init:132 - connection-manager.cpp 132 init Peer connection unavailable, activating service
nov 25 23:26:31 Jolla caldav-client[20923]: [D] SignOn::IdentityImpl::updateState:96 - identityimpl.cpp 96 updateState Updating state: "PendingRegistration" SignOn::IdentityImpl(0x1055300)
nov 25 23:26:31 Jolla caldav-client[20923]: [D] SignOn::AuthSessionImpl::initInterface:94 - authsessionimpl.cpp 94 initInterface
nov 25 23:26:31 Jolla caldav-client[20923]: [D] SignOn::AuthSessionImpl::initInterface:94 - authsessionimpl.cpp 94 initInterface
nov 25 23:26:31 Jolla caldav-client[20923]: [D] SignOn::ConnectionManager::init:150 - connection-manager.cpp 150 init Connected to "libsignon-qt1"
nov 25 23:26:31 Jolla caldav-client[20923]: [D] SignOn::IdentityImpl::updateState:96 - identityimpl.cpp 96 updateState Updating state: "Ready" SignOn::IdentityImpl(0x1055300)
nov 25 23:26:31 Jolla caldav-client[20923]: [D] SignOn::IdentityImpl::updateState:96 - identityimpl.cpp 96 updateState Updating state: "NeedsUpdate" SignOn::IdentityImpl(0x1055300)
nov 25 23:26:31 Jolla caldav-client[20923]: [D] SignOn::IdentityImpl::updateState:96 - identityimpl.cpp 96 updateState Updating state: "PendingUpdate" SignOn::IdentityImpl(0x1055300)
nov 25 23:26:31 Jolla caldav-client[20923]: [D] SignOn::IdentityImpl::infoUpdated:442 - identityimpl.cpp 442 infoUpdated SERVER INFO UPDATED. NeedsUpdate " 50 "
nov 25 23:26:31 Jolla caldav-client[20923]: [W] mKCal::SqliteStorage::open:193 - sqlitestorage.cpp: 193 - database "/home/nemo/.local/share/system/privileged/Calendar/mkcal/db" opened
nov 25 23:26:31 Jolla caldav-client[20923]: [W] CalDavClient::cleanSyncRequired:185 - Deleting caldav notebooks associated with this account: 44 due to clean sync
nov 25 23:26:31 Jolla caldav-client[20923]: [W] CalDavClient::cleanSyncRequired:188 - Deleting caldav notebooks associated with nonexistent accounts due to clean sync
nov 25 23:26:31 Jolla caldav-client[20923]: [W] CalDavClient::cleanSyncRequired:223 - Finished pre-sync cleanup with caldav account 44
nov 25 23:26:31 Jolla caldav-client[20923]: [D] SignOn::IdentityImpl::getInfoReply:381 - identityimpl.cpp 381 getInfoReply QMap(("ACL", QVariant(QStringList, () ) ) ( "AuthMethods" , QVariant(QDBusArgument, ) ) ( "Caption" , QVariant(QString, "Jolla") ) ( "Id" , QVariant(uint, 50) ) ( "Owner" , QVariant(QStringList, () ) ) ( "Realms" , QVariant(QStringList, () ) ) ( "RefCount" , QVariant(int, 0) ) ( "StoreSecret" , QVariant(bool, true) ) ( "Type" , QVariant(int, 0) ) ( "UserName" , QVariant(QString, "antviro") ) ( "UserNameSecret" , QVariant(bool, false) ) ( "Validated" , QVariant(bool, true) ) )
nov 25 23:26:31 Jolla caldav-client[20923]: [D] SignOn::IdentityImpl::updateState:96 - identityimpl.cpp 96 updateState Updating state: "Ready" SignOn::IdentityImpl(0x1055300)
nov 25 23:26:32 Jolla caldav-client[20923]: [C] Request::finishedWithError:100 - "REPORT" request failed. 401 "Network request failed with QNetworkReply::NetworkError: 299"
nov 25 23:26:32 Jolla caldav-client[20923]: [C] CalDavClient::syncFinished:370 - CalDAV sync failed: 401 "Network request failed with QNetworkReply::NetworkError: 299"
Last lines show the error, and always that I get set up the account same error appears when synchronizing. Are you having any problems at that?
Agreed -some kind of sync notification or progress would certainly be helpful.
Malakim ( 2014-10-24 21:03:40 +0200 )editI got CalDav to work with path: /owncloud/remote.php/caldav/calendars/-username- Still no luck with CardDav though.
Maldela ( 2014-10-24 21:17:30 +0200 )editI got the error message from dbus-monitor.
gehowa ( 2014-10-25 00:12:08 +0200 )editThe contact addressbook set path is determined using DAV discovery (ie, automatically during sync). If that is not working, can you get the log of the sync (see raven24's answer below) which may help you determine what is going wrong for CardDAV sync?
chris.adams ( 2014-10-28 03:46:34 +0200 )editI am still getting nowhere here. I followed raven's instructions but I cannot set up the service. I always get an error after accepting the login and server details. The log says the following:
OC gives me a warning after each try:
I guess that is due to the fact that I am using a self signed SSL certificate. I also found a solution for that warning but that did not work. The warning is still there and I cannot connect.
I used to be able to sync using SyncEvolution but only until I upgraded to 7.0.0
FloR707 ( 2014-10-28 19:06:37 +0200 )edit