Closed mideuger closed 7 years ago
Check your server logs.
My bad I forget to check in depth, was thinking the last line was the only thing I can see from the server.
{"reqId":"XiKoFbTQ2myP8xwvXNVM","remoteAddr":"172.18.0.12","app":"core","message":"Trusted domain error. \"172.18.0.12\" tried to access using \"nextcloud\" as host.","level":2,"time":"2017-02-12T21:58:15+00:00","method":"GET","url":"\/index.php\/apps\/news\/api\/v1-2\/cleanup\/before-update","user":"--","version":"11.0.1.2"}
This is caused by trusted domain policy of nextcloud. I'm running nextcloud and the updater in two separate containers using Docker, so the updater is trying to access nextcloud using its container IP address, which is not registered as a trusted domain.
I can quickly fix it running the updater with the FQDN of my nextcloud instance. However it would be better if the requests stayed in the local network area, but I can't register the container IP as a trusted domain since it would change each time the container is recreated.
I close the issue, if someone as an idea on the last matter :)
I'm having an issue running the updater using the REST API.
I've tried using both the configuration file and the CLI with the same result.