Hello, im hosting a nextcloud using ubuntu server under a domain i own using cloudflare. I had an issue where i couldnt log in using any client only through the browser and i thought it was becouse i had an email 2fa policy but after removing it i still get a “Unknown Error” and trying to use WebDAV i also havent been able to connect and idk why.
Probably will need to fill out the support template so we have more information to go on for provide assistance.
Search for cloudflare in this forum. If Cloudflare acts as a proxy (the default in many setups), you must configure various settings on the Cloudflare side. Otherwise, access from non-browsers will be blocked by the Cloudflare WAF, Bot Protection etc.
The Basics
-
Nextcloud Server version (e.g., 29.x.x): 32.0.1
-
Operating system and version (e.g., Ubuntu 24.04): Ubuntu 24.04.3 LTS
-
Web server and version (e.g, Apache 2.4.25): caddy v2.10.2?
-
Reverse proxy and version _(e.g. nginx 1.27.2): caddy v2.10.2?
-
PHP version (e.g, 8.3): 8.3.6
-
Is this the first time you’ve seen this error? (Yes / No): Yes
-
When did this problem seem to first start?: As soon as i got the server up
-
Installation method (e.g. AIO, NCP, Bare Metal/Archive, etc.): Docker
-
Are you using Cloudflare, mod_security, or similar? (Yes / No): Cloudflare
Summary of the issue you are facing:
im hosting a nextcloud using ubuntu server under a domain i own using cloudflare. I had an issue where i couldnt log in using any client only through the browser and i thought it was becouse i had an email 2fa policy but after removing it i still get a “Unknown Error” but if i do the same link but use http it just loads forever and trying to use WebDAV i also havent been able to connect and idk why.
Steps to replicate it (hint: details matter!):
Just sat it up and tried to connect
Log entries
Nextcloud
Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.
PASTE HERE
https://gist.github.com/Madmadz16/634da19a2b1e8d1bc0e19c8cb7808174
Web Browser
If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.
PASTE
Web server / Reverse Proxy
The output of your Apache/nginx/system log in /var/log/____:
PASTE HERE
/var/log/caddy is empty
Configuration
Nextcloud
The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):
PASTE HERE
https://gist.github.com/Madmadz16/aab76855b4f2bcd213709bbf092a5874
Apps
The output of occ app:list (if possible).
Tips for increasing the likelihood of a response
-
Use the
preformatted textformatting option in the editor for all log entries and configuration output. -
If screenshots are useful, feel free to include them.
- If possible, also include key error output in text form so it can be searched for.
-
Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.