The login screen does not appear

Nextcloud version : 28.0.4
Operating system and version : Debian 12
Apache or nginx version: Apache 2.4.57-2
PHP version : 8.2.7

When I go to the login screen, nothing is displayed.

An error is occurring in the browser’s developer tools.

Refused to load the script 'https://<domain>/cdn-cgi/scripts/7d0fa10a/cloudflare-static/rocket-loader.min.js' because it violates the following Content Security Policy directive: "script-src-elem 'strict-dynamic' 'nonce-<AAAAAAAAAAAAAAAA>'".

And here is the Apache2 log

[Fri Mar 29 11:36:56.079812 2024] [php:notice] [pid 119872] [client] {"reqId":"qUyTO8z6er0qUKlU3CWk","level":3,"time":"2024-03-29T02:36:56+00:00","remoteAddr":"<ip-adress>","user":"--","app":"PHP","method":"GET","url":"/nextcloud/index.php/apps/files/preview-service-worker.js","message":"fopen(/var/www/html/nextcloud/data/nextcloud.log): Failed to open stream: No such file or directory at /var/www/html/nextcloud/lib/private/Log/File.php#82","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36 Edg/","version":"","data":{"app":"PHP"}}, referer: https://<domain>/nextcloud/index.php/apps/files/preview-service-worker.js

Note the error is coming from Cloudflare. Turn off the Rocket Loader.

Thank you for your reply.
I turned off Rocket Loder and it worked.

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.