NC 10.0.0 doesn't like it if I opt not to send data

When I click “Not now” on the below image, I get the below error.

It’s nothing personal, I disable this for everything I run… I don’t usually get forced page reloads though :slight_smile:

Nothing shows in the log relating to this.

+1 same here with apache

Have you check with the console (F12) what the error is. I had the same, and it was that the overwrite.cli.url was set incorrect, and therefore the links for the buttons were incorrect.

jquery.min.js?v=4c75150…:4 Refused to connect to ‘< my-core-url >:443/ocs/v2.php/apps/survey_client/api/v1/monthly’ because it violates the following Content Security Policy directive: “connect-src ‘self’”.

(same as you)

You can report this error here as well:

As a workaround, you can just disable the survey app.

Is your overwrite.cli.url set correctly? That was my problem. But since it is already stored in the database it won’t change if you update overwrite.cli.url. You will need to update the database directly. It is in the oc_notifications table.

It is, insomuch as it’s in the format of
If it needs not to have the port on the end I can change that.

Try to use the exact same url as the overwrite.cli.url to log yourself into the WebUI.

Edit: From what I understood, the notification are generated by the cron job, and its using the overwrite.cli.url to create an absolute link. If you’re not logged using the right url (throw a ServerAlias per example, or a wrong configuration) it will try to do something somewhere you are not logged.

Works fine @Cult :slight_smile:

Sorry to hear that you can’t kill the notification.
As already mentioned above you can disable the app in the meantime, until the issue was fixed.

1 Like

Btw I just saw your post in Nextcloud not being forced to https connection

That is an invalid overwrite.cli.url. Try:

'overwrite.cli.url' => '',

Just so I can clarify - invalid how? Either :443 or https:// is redundant.

In the overwrite.cli.url you will need to include the protocol. So :433 wouldn’t really be required. just try:

'overwrite.cli.url' => '',