I cannot connect to my fresh Nextcloud installation from Android, neither through the app nor via DavDroid. Android App and Davdroid both ask me to accept the self-signed certificate. After that AndroidApp claims “Unknown error occured” and DavDroid “Could not find CalDAC and CardDAV service”.
/var/snap/nextcloud/common/nextcloud/data/nextcloud.log points to a “trusted domain” issue.
{"reqId":"jO+hcbe33VRnEXXINv9G","remoteAddr":"192.168.100.5","app":"core","message":"Trusted domain error. \"192.168.100.5\" tried to access using \"192.168.100.13\" as host.","level":2,"time":"2017-08-09T12:42:32+00:00","method":"PROPFIND","url":"\/","user":"--","version":"11.0.3.2"}
But I cannot edit my /snap/nextcloud/2184/htdocs/config/config.php to add trusted domains.
$ sudo touch /snap/nextcloud/2184/htdocs/config/x
touch: cannot touch '/snap/nextcloud/2184/htdocs/config/x': Read-only file system
I thought switching to maintenance mode may allow me to edit config.php:
$ sudo nextcloud.occ maintenance:mode
But I get “Maintenance mode is currently disabled” ;(
Note that syncing contacts between Thunderbird/CardBook and Nextcloud on the same computer works fine. Please help.
Nextcloud 11.0.3snap7, fresh Ubuntu install 17.04 64bit