nextcloud Cal/CardDAV-sync with device-password [answered]
Hello,
I'm using a self-hosted Nextcloud-instance for my calendar and contacts and want to configure it for more security with 2-Factor-authentication. As that is not supported by syncclients, i wanted to use device-passwords as described here.
As far as I have tested it, I get the information that 'An account needs updates' (or similar, not using English UI) and a bunch of Login-failed messages in the Nextcloud-logs.
Sync works with 2-Factor-Authentication disabled, and I'm sure I have the correct Device-password.
If necessary I will provide Logs via email.
Regards Hades0299
Not an answer but 'works for me' comment:
rozgwi ( 2018-04-18 21:00:34 +0200 )editI actually have DAV sync to Nextcloud with active OTP working.
All I did was creating an App password in Settings > Security.
Providing that in SailfishOS's DAV account settings worked for me. I'm using SailfishX 2.1.14.
interesting, exactly that is not working for me :/
Eventually my Nextcloud has a Problem than, will look into that. Which Nextcloud version do you have? 13.0.1?
Also I'm on Sailfish OS 2.1.4.14.
Hades0299 ( 2018-04-18 21:06:50 +0200 )editIt's the most recent Nextcloud, something like 13.x ( I'm not the admin ).
rozgwi ( 2018-04-18 21:20:08 +0200 )editMaybe I'm wrong but I think I had some issues getting the correct DAV URL the first time... Don't know how to check that for an existing account...
As long as you aren't on a beta or a daily build, we have the same Nextcloud version.
Had some Problems with the url as well, but got it working. I have no idea of how too check the url, except by looking into the verbose logs. Maybe there is an easier way, but i don't know that.
Hades0299 ( 2018-04-18 21:26:13 +0200 )editI've been having a problem with it recently also,but was having the problem before i updated my nextcloud to use 2FA and an app password for the carddav account on sailfish. Every 1-2 days i will get a notification that "Account needs to be updated".
This is especially annoying using the App password, because i can't get Sailfish to copy and paste from my nextcloud settings. (Nextcloud website instructs me to Ctrl-C to copy)
edit: sync works when i add the password back in, but only for a day or 2. I have the contacts synced with rainloop also, but don't have any issues there.
saba- ( 2018-04-27 07:47:43 +0200 )edit