Kontakte vom iPhone zu NextCloud synchronisieren

Hallo
ich habe zwar gefunden, wie man die nc mit carddav im iPhone einbindet, aber das ist anscheinend eine Einbahnstrasse. Es werden Kontakte nur von der Cloud ins iPhone geladen. Am liebsten hätte ich eine bidirektionale Synchronisation. Wenn das nicht geht, dann eher umgekehrt, dass das iPhone die kontakte zur nc kopiert. Wie mache ich das?
Gruss
Christoph

Wenn das Ganze richtig läuft, ist das auch bidirektional…
Ich hatte in meinem Setup das Problem, dass die .htaccess Datei nicht überschrieben werden konnte (Troubleshooting Contacts Calender). Allerdings war dann bei mir das Einrichten am iPhone (iOS10.2) nicht möglich.

Ich denke um dir qualifiziert helfen zu können sind noch ein Paar mehr informationen notwendig (Linux Version, Nextcloud Version, iOS Version, .htaccess, config.php, etc.)

Hallo
hier die Dateien. OS10.2.1
Linuxversion weiss ich nicht. Shared Server.

Gruss

Christoph

SetEnvIfNoCase ^Authorization$ "(.+)" XAUTHORIZATION=$1 RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION SetEnvIfNoCase Authorization "(.+)" HTTP_AUTHORIZATION=$1
# Add security and privacy related headers Header set X-Content-Type-Options "nosniff" Header set X-XSS-Protection "1; mode=block" Header set X-Robots-Tag "none" Header set X-Frame-Options "SAMEORIGIN" Header set X-Download-Options "noopen" Header set X-Permitted-Cross-Domain-Policies "none" SetEnv modHeadersAvailable true

Add cache control for static resources

<FilesMatch “.(css|js|svg|gif)$”>
Header set Cache-Control “max-age=15778463”

Let browsers cache WOFF files for a week

<FilesMatch “.woff$”>
Header set Cache-Control “max-age=604800”



php_value upload_max_filesize 1.5G
php_value post_max_size 1.5G
php_value memory_limit 512M
php_value mbstring.func_overload 0
php_value always_populate_raw_post_data -1
php_value default_charset ‘UTF-8’
php_value output_buffering 0

SetEnv htaccessWorking true



php_value upload_max_filesize 1.5G
php_value post_max_size 1.5G
php_value memory_limit 512M
php_value mbstring.func_overload 0
php_value default_charset ‘UTF-8’
php_value output_buffering 0

SetEnv htaccessWorking true



RewriteEngine on
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule ^.well-known/host-meta /public.php?service=host-meta [QSA,L]
RewriteRule ^.well-known/host-meta.json /public.php?service=host-meta-json [QSA,L]
RewriteRule ^.well-known/carddav /remote.php/dav/ [R=301,L]
RewriteRule ^.well-known/caldav /remote.php/dav/ [R=301,L]
RewriteRule ^remote/(.) remote.php [QSA,L]
RewriteRule ^(?:build|tests|config|lib|3rdparty|templates)/.
- [R=404,L]
RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.*
RewriteRule ^(?:.|autotest|occ|issue|indie|db_|console).* - [R=404,L]


AddType image/svg+xml svg svgz
AddEncoding gzip svgz


DirectoryIndex index.php index.html

AddDefaultCharset utf-8
Options -Indexes

ModPagespeed Off

DO NOT CHANGE ANYTHING ABOVE THIS LINE

ErrorDocument 403 //core/templates/403.php
ErrorDocument 404 //core/templates/404.php

<?php $CONFIG = array ( 'instanceid' => 'ocj78dogy2cf', 'passwordsalt' => 'xxxx', 'secret' => 'xxxxx', 'trusted_domains' => array ( 0 => 'DOMAIN', 1 => 'xxxxxxxxx', ), 'datadirectory' => '/www/htdocs/xxxxx/data', 'overwrite.cli.url' => '', 'dbtype' => 'mysql', 'version' => '11.0.1.2', 'dbname' => '', 'dbhost' => 'localhost', 'dbport' => '', 'dbtableprefix' => 'RIW5J_', 'dbuser' => '', 'dbpassword' => '', 'logtimezone' => 'Europe/Berlin', 'installed' => true, 'tempdirectory' => '/www/htdocs/xxxxxxxxx/tmp/', 'mail_from_address' => 'nextcloud', 'mail_smtpmode' => 'smtp', 'mail_domain' => '', 'mail_smtpsecure' => 'ssl', 'mail_smtpauth' => 1, 'mail_smtphost' => '', 'mail_smtpport' => '465', 'mail_smtpname' => '', 'mail_smtppassword' => '', 'mail_smtpauthtype' => 'LOGIN', 'maintenance' => false, 'theme' => '', 'loglevel' => 2, 'updater.secret' => '$2y$10$jJ5VxGE5sSyJcNyP8vJapePDXSwPMf31GbYlUT0h7bTYFtUYmx.2G', );

Ich bin auch gerade auf der Suche nach solchen Informationen.

Hier mein Stand:

  • Die Kommunikation ist bidirektional
    ** Allerdings nur, wenn man die Cloud als einzige Kontaktgruppe ausgewählt hat. Scheinbar wird nur eine Stelle synchronisiert.

  • Die Funktion ist nicht System-/Versionsabhängig
    ** Das Verhalten existiert über die Versionen hinweg und auch bei Owncloud.

  • Allerdings ist die Funktion nicht rückwirkend, dass heißt das nur neue Kontakte synchronisiert (unter vorher genannter Bedingung). Bei einer Nachfrage zu einem c’t-Artikel wird empfohlen, die Kontakte zu exportieren und dann über die Cloud neu zu importieren. Ich gehe davon aus, dass so nur Dubletten entstehen.

Daher die Frage, ob es eine Planung oder Entwicklung gibt, die diese Schritte überflüssig machen kann, ggf. über die Nextcloud App, oder ob diese Schritte zwingend sind.