groupoffice icon indicating copy to clipboard operation
groupoffice copied to clipboard

Not working with macOS Contacts or Calendar apps

Open zine999 opened this issue 1 year ago • 6 comments

Version: 6.8.26

broken

What do I do?

zine999 avatar Jan 03 '24 02:01 zine999

So, I got it to work with Calendar by using the Server Path /caldav/principals/<YOURUSERNAME>/ as mentioned here, but the docs don't mention what Server Path to use for Contacts.

I tried /carddav/principals/<USERNAME>/ but that didn't work.

What to do?

Seems like the docs missed this case.

zine999 avatar Jan 03 '24 17:01 zine999

And same issue on iOS for Contacts, except on iOS I can't even figure out a way to let it let me specify the Server Path at all. It just fails.

zine999 avatar Jan 03 '24 17:01 zine999

You probably missing these redirects in your webserver config:

#DAV Service discovery. At least required for iOS7 support Redirect 301 /.well-known/carddav /carddav Redirect 301 /.well-known/caldav /caldav

See point 3 in the installation manual here:

https://groupoffice.readthedocs.io/en/latest/install/tarball.html#instructions

mschering avatar Jan 04 '24 09:01 mschering

@mschering Hi, sorry I forgot to mention that I'm using the official docker build (with an nginx proxy in front of it), which should come with those redirects built-in, right?

zine999 avatar Jan 04 '24 17:01 zine999

Yes they are. Maybe something is off with the proxy? You can test if it works by going to:

/.well-known/carddav

and

/.well-known/caldav

It should simply redirect to /caldav

mschering avatar Jan 04 '24 18:01 mschering

@mschering That redirect works for /.well-known/caldav, but for /.well-known/carddav it redirects to /carddave and I get:

Screenshot 2024-01-04 at 3 29 02 PM

<d:error> <s:sabredav-version>4.5.1</s:sabredav-version> <s:exception>Sabre\DAV\Exception\Forbidden</s:exception> <s:message>Module community/carddav not available</s:message> </d:error>

zine999 avatar Jan 04 '24 20:01 zine999