I deployed owncloud last week and in testing now. All worked well except reset password and setup new password for new user not working. Detail as bellow:
My owncloud server: ubuntu 20.04
Using nginx proxy
When choose forget password, a link will be send to my email, I can enter password 2 times and when click reset, it not response, no error or redirect to any website. Checking F12 on network tab, it show Status blocked:csp and only one thing I notice is Referrer Policy: no-referrer
Checking owncloud.log and apache2/access.log, error.log and other_vhosts_access.log, nothing show up when I click Reset.
The change password worked perfectly, but reset password doesnt work. I notice the URL recevied for reset password using my username, not email, is it normal?
The list email show correctly. in config.php :
‘overwrite.cli.url’ => ‘http://localhost’,
I changed to ‘overwrite.cli.url’ => ‘http://my_server_ip’ and ‘overwrite.cli.url’ => ‘http://my_domain.com’ but both still not work. Already restart apache2 after change.
When I click Reset password it spining for few seconds and then go back to the same page with any error showing.
In console F12 in chrome I can see this showing when I click Reset password:
/underscore/underscore-umd.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
jquery.js:8630 Refused to connect to ‘http://mydomain.com/index.php/lostpassword/set/eLr52ZOzJa94hOv6zmIZR/Pettra’ because it violates the following Content Security Policy directive: “connect-src ‘self’”.