sorry to open another topic again, but I could not finde anything here in the forums by searching for it:
since I got my nextcloud finally up and running, I ran into problems of linking an adress book to Mac OS X desktop adressbook.
I did try to search the web and extensively read through topics like this one here https://github.com/owncloudarchive/contacts/issues/1058 - but the case seems actually closed and it seems to be reported working with Mac OS X 10.11.4 and newer, I am running 10.11.6
I’ve tried to add nextcloud contacts on 10.11.6, and it didn’t require url from me. If you configured webserver which runs nextcloud as recommended, osx will resolve path to caldav and carddav automatically using well-known urls, just use username+password+servername.
To clarify, did you tried to switch account type from ‘automatic’ to ‘manual’ and fill fields like that:
user name: username
password: password
server address: serverfqdn
https://serverfqdn/.well-known/carddav (whilst using my domain-adress in place for serverfqdn) responded with a different text: File no found. The selected document has not been found on the server. Klick here to return to nextcloud (my translation)
If after login to owncloud you see url which seems like https://serverfqdn/index.php?apps/files (main thing is index.php in url) it means that you don’t have rewrite rules in nginx config, or in case of apache you don’t have mod_rewrite module enabled.
Yes, right, my url after login into my cloud is https://subdomain.domain.tld/index.php/apps/files/ - rewrite rules? Crazy, I get exhausted about how complicated the setup of owncloud/nextcloud on a webhoster is…
I just checked, right now, my .htacess looks like this:
#### DO NOT CHANGE ANYTHING ABOVE THIS LINE ####
RewriteEngine On
RewriteBase /
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
ErrorDocument 403 //core/templates/403.php
ErrorDocument 404 //core/templates/404.php
Header always set Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
But I have another .htacess from a former owncloud installation which did contain much more stuff.
Should I just copy that into the .htacess for the nextloud installation or do you see anything wierd or anything what doesnt work? Thanks
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/