help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version: 17
Operating system and version Centos 7.6:
Apache: 2
PHP version: 7
The issue you are facing:
Is this the first time you’ve seen this error?: Y
Steps to replicate it:
Upgrade from 16.04 to 17
Open your Linux nextcloud sync program
Login with your nextcloud address and credentials
The default browser will be open, click on Login
Click on Grant Access
Nothing happens
You will see this error on the browser console (Tried on FF, Chrome, Midori, Opera): Refused to send form data to ‘http://nextcloud.massware.mx/login/v2/grant’ because it violates the following Content Security Policy directive: “form-action ‘self’”.
The output of your Nextcloud log in Admin > Logging:
No errors
The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):
Same here!
Also applies to mac clients - However, seems not to be an issue with Android Client
Nextcloud is running behind haproxy reverse proxy
request goes to the nextcloud URL with ssl - but at first (before disabling the plugin) went to collabora URL (dont know why) with the same error mentioned above.
When logging in via Web interface it does not stop loading and does not forward to the user area. Refreshing the page will result in opening the regular user area for logged in users without opening another login prompt.
Same problem on openSUSE Tumbleweed with Firfefox / Chromium when trying to connect to the private docker hosted behind reverse-proxy instance. All worked with 16.0.3 but now I can not use desktop clients.
Since we are running nexcloud behind a proxy, nextcloud is not aware of https and therefore needs to be told to create links (such as http:…/v2/flow/grant) with https instead of http (since http is not allowed in the CSP header).