Constant curl errors

I’m using CODE for ARM64 on a server that can go by two different domains. CODE doesn’t work on one of these domains, and as such, it spams my error log saying the following:

"exception":{},"CustomMessage":"Failed to fetch the Collabora capabilities endpoint: cURL error 6: Could not resolve host: aqua.local (see for http://aqua.local/nextcloud/apps/richdocumentscode_arm64/proxy.php?req=/hosting/capabilities"

While it would be nice for CODE to work on both of my domains, I’m more concerned with the way this message is constantly writing multiple times a second, all day. I want to suppress this without disabling error logging for the rest of Nextcloud.

Any suggestions?

I used to get an annoying error logged similarly quickly and used to run a sed on a cron job every minute to remove the offending ‘Deprecated event’ entries. It won’t stop your ‘live’ log being cluttered, but it makes the nextcloud log readable again and stops it growing to unwieldy proportions. Mine was;

* * * * * /usr/bin/sed -i '/Deprecated\ event\ type\ for/d' /var/log/nextcloud/nextcloud.log

Yours would be to add the following job into root’s cronjobs;

* * * * * /usr/bin/sed -i '/Failed\ to\ fetch\ the\ Collabora\ capabilities\ endpoint/d' /var/log/nextcloud/nextcloud.log

Which will clean up your logs every 60 seconds… Tweak the sed command if it’s not working as stated.

Thanks for the suggestion. For now, I’ve just simply set the log level to 4 and reduce it if I feel like I need to check something.