-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSX calendar sync fails (via caldav) #7519
Comments
In case any is interested, the correct caldav/carddav servers for OS X (10.13) are below (these are different than what is shown in the nextcloud UI): caldav: https://SERVER/nextcloud/remote.php/dav/calendars/USER/CALENDAR-NAME/ |
in the settings area of the calendar app (lower left corner), you can find a dedicated url for Mac and iOS. Please use that URL Edit: I didn't upgrade to High Sierra yet, maybe @MariusBluem can check on 10.13 |
Yes, that URL is not correct, at least not on 10.13. iOS/OSX URL from UI: https://SERVER/nextcloud/remote.php/dav/principals/users/USER/ A correct URL: https://SERVER/nextcloud/remote.php/dav/calendars/USER/CALENDAR-NAME/ |
That can't be the solution, because macOS supports auto discovery of calendars and that url will only add one calendar, not all. |
There may well be an auto-discovery solution as well, but the above is the only one I could get to work (after many dozens of tries w both the UI and cadaver).. The listed URL does not work (and also doesn't give a helpful error message) |
@dhowe I managed to get it working on High Sierra if I select the advanced profile when adding a new CalDAV account: Be sure to include the |
@georgehrke |
@georgehrke Could you check that this is also documented like described? |
@MariusBluem We should put this in our documentation ^ |
@MorrisJobke No, it's not. This bug was only introduced with High Sierra. You can just use any account type on Sierra and below. |
Will be complicated to document which settings you need to set for Sierra/High Sierra/El Capitan/... Do you have a list of configuration settings for CalDAV and CardDAV - did not managed to add CardDAV resource on my own Mac 😏🤭 |
@MariusBluem Can you check if https://twitter.com/georgehrke/status/957039451959685120 works for u? It did for me. |
I'm using 10.11.6 (El Capitan) and the above solution is not working. Has anybody another hint for me? |
i try your tip and it failed, but maybe i`m too stupid :-) domain.info/nextcloud is the serveradress: https//:domain.info/nextcloud and serverpath: /remote.php/dav/principals/USERNAME/Name of the calendar/ Sorry for my english i`m german.. :-) |
I had a similar problem. The issue was, that I have a self-signed certificate, and that somehow prevented me from adding nextcloud for cal/contacts to mac. Following these steps fixed it for me: |
Thank you, thank you @georgehrke ! They do not upload from mac or phone though! ?? EDIT: Ok, it seems you have to click on each individual calendar entry and mark it as nextcloud, rather than the event you had eg. work, birthday etc. |
@georgehrke I could not get caldav working with the addition of "https://cloudname.org" and path "/remote.php/dav/principals/USERNAME/" with Mac OS High Sierra, Nextcloud 13.0.4 and Apple Calendar App 10.0.0 . It still fails with "It fails with 'Unable to verify account name or password'" . The carddav account was added flawlessly. I can additionally can confirm, that those settings work on the same with fantasical but I assume they do not use the Mac OS X caldav implementation |
@Spritpit In that case it would be is the serveradress: https://domain.info/
Name of calendar is completely wrong here. |
@xshadow Can you please provide more detailed reproduction steps?
|
Sure thing. I tried it on two similiar Mac's with High Sierra.
Carddav is working with the same settings, that's why I'm confused. |
Hi xshadow. |
@barkingbandicoot I can not confirm. It's not working. I switched those computers to Thunderbirds integrated calendar as a workaround. Apple Calendar is still broken. |
Thanks for your input. I have managed to sync calendar but not contacts. Nextcloud documentation also only speaks about calendar regarding sync for macOS. |
No response from @dhowe for many months => Closing. |
It seems to me that this is a DOCUMENTATION issue and that the documentation is NOT fixed. |
I was able to get it work on Mojave. The right way was to choose the 'Advanced type' and split the path into Server Address and Server Path, take Port 443 and use SSL. However, it didn't work at first although my entries were definitely correct. I tried it again and again. I cant really say how many attempts I made and then out of the sudden it worked. Maybe it was because I closed the setup window and reopened it again ... no idea.... So I can only encourage you to make several attempts, close and open the setup window and try it again. |
I strongly disagree here. All cases described above have been configuration issues where the We added an additional check to the There are many things you can do wrong in the advanced dialog, that's why we need to improve the documentation in that regard. Hence nextcloud/documentation#127 is still open. |
Agreed with closing the bug so far, but please consider corner cases such as this: |
The answer is fairly simple: You don't, if you rely on the automatic CalDAV / CardDAV discovery from iOS/macOS to work. Just use different subdomains for different instances. Edit: Setting up CalDAV/CardDAV using the "advanced" method will still work if you have two instances in the same domain. |
Yes, it does work, and that's what is described in this forum post. I was only suggesting to mention it in the manual. I understand that one must use different (sub)domains. Unfortunately, I wasn't aware of that when I started with ownCloud ... and to migrate a user base to different base URL is ****. Will have to do that anyway, soon. Thanks. |
Wow. I was unable to sync CardDav, I tried and tried, and then the solution was to remove the trailing slash on "Server Address". It works now. Apple's Fault. |
This answer is very helpful, may be worth to add it to the official documentation ! |
To reproduce:
Expected behaviour
Should be able to add caldav account and sync events
Actual behaviour
Fails with 'Unable to verify account name or password'
Note that I CAN connect and sync via android, as well as via cadaver from osx
Server configuration detail
Operating system: Linux 4.4.0-103-generic #126-Ubuntu SMP Mon Dec 4 16:23:28 UTC 2017 x86_64
Webserver: Apache/2.4.18 (Ubuntu) (apache2handler)
Database: mysql 10.0.31
PHP version: 7.0.22-0ubuntu0.16.04.1
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, apache2handler, mysqlnd, PDO, xml, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, imagick, intl, json, exif, mcrypt, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlrpc, xmlwriter, xsl, zip, Zend OPcache
Nextcloud version: 12.0.4 - 12.0.4.3
Updated from an older Nextcloud/ownCloud or fresh install:
Where did you install Nextcloud from: unknown
Signing status
Array
List of activated apps
Configuration (config/config.php)
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption: no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
LDAP configuration (delete this part if not used)
Client configuration
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:57.0) Gecko/20100101 Firefox/57.0
Operating system:
Logs
Browser log
Nextcloud log
Browser log
Insert your browser log here, this could for example include:
The text was updated successfully, but these errors were encountered: