try to change max upload size on nextcloud admin page, it will overwrite .htaccess file, and maybe will save it’s hash as valid(don’t really know how integrity check works)
1st: changing the max upload size lead to a temporary dissappearance of the integrity warning - strangely enough after a few moments the warning came back. And i dont succed to get from a 1 GB limit back to a 2 GB limit…
2nd: whilst logging into the adress book account with Mac OS X went fine after the implementing the rewrite rules, i cant explain why but some adresses will just not sync? i got two machines, the first machine got two of my 4 test-adresses, the second machine doesnt get any adress, although it seems to be logged in the nextcloud-adressbook without any error message.
by the way, i found out i have a .htacess not only in my clouds root folder, but also one in my config folder. is it supposed to be there or could it be a source of trouble? it reads as follows:
# line below if for Apache 2.4
<ifModule mod_authz_core.c>
Require all denied
</ifModule>
# line below if for Apache 2.2
<ifModule !mod_authz_core.c>
deny from all
</ifModule>
# section for Apache 2.2 and 2.4
IndexIgnore *
it should be there, it denies access to config folder from web.
try to force update contacts on second machine, maybe it doesn’t trust to server cert, on reload it should show connection error.
2- it integrates some quick conf for php max upload etc… Quite usefull
3- it have embedded the rewrite rules for caldav and webdav
When i started to use Owncloud this rules wasn’t there,
I have to type this on every client
Login : user
Password : password
Server : https://myserver.com/remote.php/dav/addressbooks/users/username/
Server port is usually SSL port (default : 443) but this value maybe different from server to server.
Please remove /nextcloud/ if your nextcloud is installed in root of your domain.
Do not forget to change USERNAME to your own NextCloud User
2- iOS
In iOS is actually very easy and kind of silly !!
First you should go through adding CalDAV and CardDAV as normal then after sometime it will give you an error just choose cancel and go to advanced (do not quite the whole process just cancel using NON-SSL version) and choose Using SSL (if you want to) and type in your SSL port (Usually 443 by default) and again click on next so it tries to verify the server and after sometime gives you the same error. So again click on cancel and then “SAVE”.
Despite the errors in this time this will work like a charm meaning the error is just wrong.
Note: I used the the Cal/CardDAV path from my NextCloud for the server path.
Note: In some cases this is not needed to set the port but in my case it did not work without setting the port.
I hope this helps
Good luck and please keep us updated if this worked for you too.
I’ve been having similar problems and just seen your response. I’ve got the calendar on OSX working but still cannot get it to work on IOS . What’s the entry that you have on the advanced settings in CalDav on IOS?
One question, is your cloud installed in a sub-directory or in your domain root ?
Regarding the iOS Calendar, have you checked if your CalDAV is active in your calendar list ? ( located in Calendar > Calendars (on the bottom of the screen).
And Regarding the CardDAV in macOS, have you used the port which I provided in my previous reply which includes port in the server path ?
and please note that in macOS is would take sometime for your contacts to show up after you add your cardDAV
Well this is really inexplicable. I decided to remove all the entries on both the iPhone and iMac and re-entered the settings again for both CardDav and Caldav. After filling in all the initial settings and saving then, I then went back into the advanced settings and entered
Great to hear that its working for you and yeah I do understand what you say.
You know putting “:443” after the domain name is actually telling the iOS or Mac that my port is 443 (manually).
And by the way this really should not be like this and Apple has been able to solve this issue in last 10 years but for some reason they decided not to.
Anyways Again happy to hear that you finally sorted it out.
Hello,
I am unable to connect my nextcloud instance, served from a shared web host, to my mac calendar and address book applications. It seems, my mac (high sierra mac mini) connects to the given urls (I used all variations I found in numerous posts, not only here), but there is never any data transmitted.
I would need some help to debug this, but I do not know, where to start.
If I use https://serverfqdn/.well-known/carddav in the browser, I get the correct answer. I can connect with my android phone without problems, so the problem is on my mac, only.
If service-discovery is working you can use automatic account type:
on your Mac go to system-settings and add carddav account
choose automatic as account-type and as email-address use USERNAME@yourdomain.com (replace yourdomain.com with the domain you are running Nextcloud on). This doesn’t have to be a valid email-address. Important: only the domain is needed, even if nextcloud is not installed in webroot. Mac OS uses then service discovery to grab the correct links.