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

Nextcloud: syncing contacts only - how?

asked 2020-05-14 20:51:59 +0200

stephan gravatar image

updated 2020-05-18 05:28:37 +0200

Tanghus gravatar image

I'm fairly new to nextcloud, but with SFOS 3.3 offering support I got curious. Just 2 weeks ago I did an install to my synology nas. Uploading pictures and files from SailfishOs works ok. Now I wanted try uploading/syncing contacts (only contacts!).

What I did so far:

  • installed the contacts app on nextcloud
  • enabled contacts syncing in the nextcloud account of SFOS (settings->accounts)

In the calendar app there is a sync pulldown - which I use (for years now without problems) to sync to another account. But the contacts app has no sync pulldown. Using the nextcloud-account's sync pulldown does't seen to do anything.

How do I need to configure this to work correctly? Any ideas?

Thanks!

edit retag flag offensive close delete

2 Answers

Sort by » oldest newest most voted
3

answered 2020-05-18 05:27:18 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2020-05-18 05:32:16 +0200

Tanghus gravatar image

You will have to give some more information:

  • How is your Nextcloud instance installed? Is it in the web root or under a sub dir as /nextcloud?
  • How have you configured your SFOS Nextcloud account?

But the contacts app has no sync pulldown.

Disclaimer: I haven't used the Nextcloud account plugin yet, but I believe the backend is the same. As I understand both calendar and contact use the buteo framework for sync , but the People and Calendar apps have different approaches to it. A paper-cut ;) You can sync under Settings/Account [Long press->Sync]

edit flag offensive delete publish link more

Comments

  • My nextcloud is reachable under: "local-ip-adress/nextcloud"
  • Configuration in SFOS was straight forward: new nextcloud-accound, entered the server information - finished. Exchange of Files works ok.

Sync und Settings/Accound is what I tried - but it didn't do anything (BTW: where are the log-files to check on the sync?)

stephan ( 2020-05-18 12:26:10 +0200 )edit

AFAIK the instance has to be in the web-root. I don't have the time right now, but Search always has ;)

Tanghus ( 2020-05-18 12:40:57 +0200 )edit

btw, have you removed any CardDAV (and maybe also CalDAV) accounts you may have had configured for the same instance? I think I read about that somewhere here.

Tanghus ( 2020-05-18 12:44:14 +0200 )edit

@thanghus: thanks for the hint - will do a search. didn't sync carddav until now. caldav is synced to synology native. but I think the idea of syncing carddav to nextcloud@synology and caldav to synology isn't maybe such a good one. If nextcloud sync is only working for web root the idea is dead anyway ;-) Thanks for your help!

stephan ( 2020-05-18 14:00:42 +0200 )edit

I have a fresh nextcloud also and having problems with CardDAV. I haven't had any luck with the nextcloud account setup. I was able to connect with CalDAV with CalDAV and CardDAV account setup. Android application works, but SFOS integration doesn't.

Apache logs: "GET /ocs/v2.php/cloud/user HTTP/1.1" 404 477 "-" "Mozilla/5.0"

So there's no accesses to the paths given specificly for the CardDAV. (/nextcloud/remote.php/...) and /nextcloud is missing from the front of /ocs/v2.php/cloud/user

MRI-xa2 ( 2020-05-20 13:11:54 +0200 )edit
1

answered 2020-05-24 08:36:30 +0200

Direc gravatar image

As far as I know, there is no way to manually sync contacts - except by changing a contacts details, which then trigger the sync.

I havent used the Nextcloud account type myself besides initial testing, but if you created the account again, and didn't select contacts to be synced, and then created a separate CardDAV account just for contacts, you could then sync the account. That would result in only syncing the contacts.

edit flag offensive delete publish link more

Comments

I tried to do this but I didn't manage to upload all of the contacts to the nextcloud server. Only those contacts which are created later or edited are pushed to the nextcloud.

At first I thought that the cardDav syncing isn't working at all, but that's not the case.

MRI-xa2 ( 2020-05-25 14:09:56 +0200 )edit
Login/Signup to Answer

Question tools

Follow
5 followers

Stats

Asked: 2020-05-14 20:51:59 +0200

Seen: 836 times

Last updated: May 24 '20