Sync Nextcloud Contacts with Ubuntu Touch
-
This tutorial http://docs.ubports.com/en/latest/userguide/advanceduse/dav.html dont work for me UT 16.04 (OTA12) with Nexus5. (template and config missing)
I follow this tutorial https://help.ubuntu.com/community/SyncEvolution/synchronize-google-contacts-with-evolution-addressbooks and made some adjustments.
I do it without a script an run the commands in descending order in the adb shell:
(customize username, Password and url)`#config=next-conf
#datastore=next-datastore#0. create database
syncevolution --create-database backend=evolution-contacts database=NextContacts#1. create peer
syncevolution --configure --template webdav username=John password=johnssecret keyring=no target-config@next-conf#2. create new datastore
syncevolution --configure backend=evolution-contacts database=NextContacts @default next-datastore#3. Add a remote database to the datastore
syncevolution --configure database= https://domain.com/remote.php/dav/addressbooks/users/john/contacts/ backend=carddav target-config@next-conf next-datastore#4. Connect remote Contacts with the local Database
syncevolution --configure --template SyncEvolution_Client syncURL=local://@next-conf username=john password=johnssecret next-conf next-datastore#5. Add a local database to the datastore
syncevolution --configure sync=two-way backend=evolution-contacts database=NextContacts next-conf next-datastore#6 first time syncing
syncevolution --sync refresh-from-remote next-conf next-datastore`Would be nice if contacts will be sometimes also easy to connect with nextcloud like the calendar.
-
I've just been doing a manual backup, by exporting a vcf file of all contacts from the Contacts app, to a folder that I have set to sync to my NextCloud server (I just use one hosted by owncube.com as I am too lazy to set one up myself) via the UBsync app available in the OpenStore - https://open-store.io/app/ubsync . Certainly not as an elegant solution as automatic syncing, but it does allow me to make sure that I save new contacts off the device, and that I can restore all my contacts to any UT device at any point as well.
I definitely agree with you that fixing NextCloud and OwnCloud syncing of contacts would be a great feature addition to have though.
Best regards,
Steve Berson -
I tried your way but I got an error : could not authenticate... after about 1min of work (it looks like it's working, I had hopes trying it).
Nexus 5 on OTA 12 too.2h of work for not succeeding to sync my contacts neither this way, neither with this script : https://github.com/UT-ilities/UTouch_CalDAV_and_CardDAV_synchronization
Could it be because of conflict with this previous test that your system failed to authenticate?
I couldn't find a way to import my contact except from sim card or google (I don't use gmail...)
My contacts are not in my sim.I'm lost.
How can I do? -
maybe I should make a fresh install of UT...
Didn't work after reinitialising UT. -
I tried with this little modification but also with that, it didn't work...
#0. create database
syncevolution --create-database backend=evolution-contacts database=NextContacts#1. create peer
syncevolution --configure --template webdav username=John password=johnssecret keyring=no syncURL=https://domain.com/remote.php/dav/addressbooks/users/john/contacts/ target-config@next-conf#2. create new datastore
syncevolution --configure backend=evolution-contacts database=NextContacts @default next-datastore#3. Add a remote database to the datastore
syncevolution --configure database=https://domain.com/remote.php/dav/addressbooks/users/john/contacts/ backend=carddav target-config@next-conf next-datastore#4. Connect remote Contacts with the local Database
syncevolution --configure --template SyncEvolution_Client syncURL=local://@next-conf username=john password=johnssecret next-conf next-datastore#5. Add a local database to the datastore
syncevolution --configure sync=two-way backend=evolution-contacts database=NextContacts next-conf next-datastore#6 first time syncing
syncevolution --sync refresh-from-remote next-conf next-datastore