NextCloud / OwnCloud

From Torben's Wiki

Contacts Bug Workaround

from [1]

When your instance is hanging when you open the contacts app you might be affected by Nextcloud issue #33048

Workaround: .htaccess file inside nextcloud dir

ErrorDocument 403 "Forbidden"
ErrorDocument 404 "Not found"

afterwards

uberspace tools restart php

Syncing calendar and contacts

NextCloud URLs

The NextCloud web frontend shows these URLs:

Addressbook : https://host.de/nextcloud/remote.php/dav/addressbooks/users/<USER>/contacts/
Calendar    : https://host.de/nextcloud/remote.php/dav/calendars/<USER>/<CalName>/

Android

Use App DavDroid from OpenSource App-store F-Droid to sync. See this howto.

URL: https://host.de/nextcloud/remote.php/dav
Settings
CalDav: Past event time limit -> empty (=all events will be synchronized)
CardDav: Contact group method -> per-contact categories (since NextCloud web App can only handle this.

In order to be able to view and savely modify the contact categories replace the default contacts App by Simple Mobile Tools' Contacts

iOS: iPhone, iPad

Server: host.de
URL   : https://host.de/nextcloud/remote.php/dav/principals/users/<USER>/
Port  : 443

(for calendar and addressbook)

MacOSX

same for contacts and calendar

server : host.de
path   : /nextcloud/remote.php/dav/principals/users/<USER>/
port   : 443

worked as well: /nextcloud/remote.php/dav/addressbooks/users/<USER>/contacts/

For some reason I spend hours debugging, but suddenly it worked. Maybe you need to wait for quite some time for initial syncing to finish...

Update: Still there occured issues, {https://docs.nextcloud.com/server/13/admin_manual/issues/general_troubleshooting.html#troubleshooting-contacts-calendar here} I found the solution, which worked out of the box:

In webserver root .htaccess add

Redirect 301 /.well-known/carddav /nextcloud/remote.php/dav
Redirect 301 /.well-known/caldav /nextcloud/remote.php/dav

Than in MacOS Contacts remove the old entry and add a new carddav connection of Account Type: Automatic. Fill Email Address with user@server.com and add password, that's all.

Important to know: MacOS Contacts (as of MacOS version 10.14.1) does not allow for more than one addressbook per connection :-(

Thunderbird

Use Calender URL, displayed by NextCloud web frontend (as shown above)