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

CalDav and CardDAV "could not create account" [answered]

asked 2017-10-04 12:17:46 +0300

William gravatar image

updated 2017-10-08 21:37:03 +0300

I had a working CalDAV and CardDAV account for URL looking like https://foo.bar (Nextcloud 12.0.3.3)

I changed the URL on my server to look like https://foo.bar/nextcloud and everything works fine with other devices and browser.

If I now want to create a new CalDAV and CardDAV account on SailfishOS 2.1.2.3 (both on my Jolla1 and JollaC), CalDAV fails with the following:

  • Creating account...
  • Connecting to server...
  • Getting calendar details...

"Oops, problem with account creation / Could not create account"

This happens whether I specify address book and calendar path or not, and also whether I select CardDAV or not.

If I don't select CalDAV though, it can create the account, but with enabling CalDAV later, no calendars can be loaded afterwards, so it is fairly useless.

Any ideas? I can get more detailed logs later if necessary.

UPDATE: include logs

MSYNCD_LOGGING_LEVEL=8 devel-su -p msyncd

output while creating account


devel-su journalctl -af | grep --line-buffered caldav

output while creating account:

Oct 04 16:27:35 Sailfish estart[15053]: [W] unknown:0 - writeProfileFile() called, forcing disk write: "/home/nemo/.cache/msyncd/sync/caldav-sync-115.xml"

UPDATE 2017-10-08: Any ideas how to debug this, anyone?

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by William
close date 2017-10-09 20:27:40.171906

Comments

Can you attach logs when creating account please? Maybe also specify which server you are using.

gabriel ( 2017-10-04 14:58:40 +0300 )edit

I added some logs.

William ( 2017-10-04 16:52:51 +0300 )edit

1 Answer

Sort by » oldest newest most voted
5

answered 2017-10-09 09:46:00 +0300

daywalker gravatar image

updated 2017-10-09 18:56:26 +0300

Nextcloud 12 here. In my nextcloud calendar (web gui) my 'primary caldav address' is: https://yourdomain.xyz/nextcloud/remote.php/dav/

What is actually working for me is: https://yourdomain.xyz/nextcloud/remote.php/dav/calendars/username

I have entered this link as url and left caldav(optional) empty and disabled carddav...

Got the hint from here: https://together.jolla.com/question/162279/nextcloudcaldav-renew-calendar-what-will-happen/?answer=162314#post-id-162314

edit flag offensive delete publish link more

Comments

Thanks! This solved it!

(Luckily carddav does not matter, one can just make another account as a workaround.)

William ( 2017-10-09 20:27:19 +0300 )edit

For nextcloud 12 and carddav:

https://yourdomain.xyz/remote.php/dav/addressbooks/users/[username]/contacts

André ( 2017-10-16 00:27:27 +0300 )edit

Question tools

Follow
1 follower

Stats

Asked: 2017-10-04 12:17:46 +0300

Seen: 589 times

Last updated: Oct 09 '17