Support intro
Sorry to hear you’re facing problems. 
The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.
If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.
Getting help
In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.
Before clicking submit: Please check if your query is already addressed via the following resources:
- Official documentation (searchable and regularly updated)
- How to topics and FAQs
- Forum search
(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).
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.
The Basics
- Nextcloud Server version (e.g., 29.x.x):
- 31.0.1.2
- Operating system and version (e.g., Ubuntu 24.04):
- OpenMediaVault 7.7.1-3
- Web server and version (e.g, Apache 2.4.25):
- Apache 2.4.62
- Reverse proxy and version _(e.g. nginx 1.27.2)
- Use reverse proxy provided by my Keenetic router, according to logs it seems to be nginx, but cannot detect its’ version
- PHP version (e.g, 8.3):
- 8.3.19
- Is this the first time you’ve seen this error? (Yes / No):
- Yes
- When did this problem seem to first start?
- After updating from 30 to 31
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
- Docker
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
- No
Summary of the issue you are facing:
When I click “log in” in web interface (when connected with DNS name), it throws me back to login screen without any messages. Logging in from local network with server local IP works as intended. Also I can log in via other apps, such as Celeste sync client or Thunderbird (not sure about other apps I use, I’m affraid to log out as now they function well).
I tested two fresh containers - one with NC30 and another with NC31. Problem appears only on second container.
Steps to replicate it (hint: details matter!):
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.
Every time I try to log in, I see this message in logs:
Debug bruteForce RuntimeException: The loading of lazy AppConfig values have been triggered by app "bruteForce" at lib/private/AppConfig.php line 2025-03-19T08:18:46+00:00
1208
0. lib/private/AppConfig.php line 1193
OC\AppConfig->loadConfig("bruteForce", null)
1. lib/private/AppConfig.php line 106
OC\AppConfig->loadConfigAll("bruteForce")
2. lib/private/Security/Ip/BruteforceAllowList.php line 39
OC\AppConfig->getKeys("bruteForce")
3. lib/private/Security/Bruteforce/Throttler.php line 86
OC\Security\Ip\BruteforceAllowList->isBypassListed("37.230.157.5")
4. lib/private/Security/Bruteforce/Throttler.php line 112
OC\Security\Bruteforce\Throttler->isBypassListed("37.230.157.5")
5. lib/private/Security/Bruteforce/Throttler.php line 129
OC\Security\Bruteforce\Throttler->getAttempts("37.230.157.5", "login")
6. lib/private/Security/Bruteforce/Throttler.php line 202
OC\Security\Bruteforce\Throttler->getDelay("37.230.157.5", "login")
7. .../Middleware/Security/BruteForceMiddleware.php line 64
OC\Security\Bruteforce\Throttler->sleepDelayOrThrowOnMax("37.230.157.5", "login")
8. .../Middleware/MiddlewareDispatcher.php line 73
OC\AppFramework\Middleware\Security\BruteForceMiddleware->beforeController(
OC\Core\Controller\LoginController {},
"tryLogin"
)
9. .../private/AppFramework/Http/Dispatcher.php line 106
OC\AppFramework\Middleware\MiddlewareDispatcher->beforeController(OC\Core\Controller\LoginController {}, "tryLogin")
10. lib/private/AppFramework/App.php line 161
OC\AppFramework\Http\Dispatcher->dispatch(OC\Core\Controller\LoginController {}, "tryLogin")
11. lib/private/Route/Router.php line 307
OC\AppFramework\App::main(
"OC\\Core\\Controller\\LoginController",
"tryLogin",
OC\AppFramework\DependencyInjection\DIContainer {},
{_route:"core.login.trylogin"}
)
12. lib/base.php line 1022
OC\Route\Router->match("\/login")
13. index.php line 24
OC::handleRequest(
)
This happens even if I turn off bruteforce protection by setting auth.bruteforce.protection.enabled
false in config.php
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.
Nothing relevant
Console gives some warnings. There’s common one both for my main instance, which is affected with issue, and for fresh test container with Nextcloud 30, which works for me. I marked warnings, specific to problematic instance with [!]:
[!]Content-Security-Policy warnings 3**
[!]Content-Security-Policy: Ignoring “'self'” within script-src-elem: ‘strict-dynamic’ specified login
[!]Content-Security-Policy: Ignoring “https://192.168.1.101” within script-src-elem: ‘strict-dynamic’ specified login
[!]Content-Security-Policy: Ignoring ‘unsafe-eval’ or ‘wasm-unsafe-eval’ inside “script-src-elem”. login
Expected declaration but found ‘;’. Skipped to next declaration. login:10:21
Expected ‘none’, URL, or filter function but found ‘progid’. Error in parsing value for ‘filter’. Declaration dropped. login:55:13
Expected ‘none’, URL, or filter function but found ‘progid’. Error in parsing value for ‘filter’. Declaration dropped. login:71:13
Expected ‘none’, URL, or filter function but found ‘alpha(’. Error in parsing value for ‘filter’. Declaration dropped. login:137:13
Expected ‘none’, URL, or filter function but found ‘progid’. Error in parsing value for ‘filter’. Declaration dropped. login:204:13
Expected ‘none’, URL, or filter function but found ‘progid’. Error in parsing value for ‘filter’. Declaration dropped. login:309:13
Expected ‘none’, URL, or filter function but found ‘progid’. Error in parsing value for ‘filter’. Declaration dropped. login:321:13
Expected ‘none’, URL, or filter function but found ‘progid’. Error in parsing value for ‘filter’. Declaration dropped. login:585:13
Expected ‘none’, URL, or filter function but found ‘alpha(’. Error in parsing value for ‘filter’. Declaration dropped. login:15:10
Unknown property ‘-moz-transition’. Declaration dropped. login:18:18
[!]Unknown pseudo-class or pseudo-element ‘-ms-clear’. Ruleset ignored due to bad selector. login:176:11**
[!]Unknown pseudo-class or pseudo-element ‘-ms-clear’. Ruleset ignored due to bad selector. login:1:6303
[!]Unknown pseudo-class or pseudo-element ‘-ms-input-placeholder’. Ruleset ignored due to bad selector. login:1:6900
[!]Unknown property ‘line-clamp’. Declaration dropped. login:98:14
session heartbeat polling started core-main.js:1:28724
What’s about network
tab, it shows that all components (mainly stylesheet and couple of JS scripts) are loaded successfully with code 200. I saved all to HAR, which gives more complex information, but it’s impossible to attach file here or paste text from it.
Web server / Reverse Proxy
The output of your Apache/nginx/system log in /var/log/____
:
Nothing relevant
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!):
{
"system": {
"htaccess.RewriteBase": "\/",
"memcache.local": "\\OC\\Memcache\\APCu",
"apps_paths": [
{
"path": "\/var\/www\/html\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/custom_apps",
"url": "\/custom_apps",
"writable": true
}
],
"upgrade.disable-web": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"xxxx.yyyy.keenetic.link",
"192.168.1.101:8080"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"default_language": "ru",
"default_locale": "ru_RU",
"default_phone_region": "RU",
"version": "31.0.1.2",
"overwritehost": "xxxx.yyyy.keenetic.link",
"overwrite.cli.url": "https:\/\/xxxx.yyyy.keenetic.link",
"overwriteprotocol": "https",
"trusted_proxies": "192.168.1.1",
"forwarded_for_headers": [
"X-Forwarded-For"
],
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"memories.exiftool": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/exiftool-amd64-glibc",
"memories.vod.path": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/go-vod-amd64",
"maintenance": false,
"maintenance_window_start": 1,
"session_lifetime": 259200,
"enabledPreviewProviders": [
"OC\\Preview\\Image",
"OC\\Preview\\Movie"
],
"filesystem_check_changes": 1,
"mail_smtpmode": "smtp",
"mail_smtpsecure": "ssl",
"mail_sendmailmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"app_install_overwrite": [
"news",
"forms",
"maps",
"side_menu",
"epubviewer",
"gpxedit",
"user_pwauth"
],
"loglevel": 0,
"memories.gis_type": 1,
"memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
"memories.vod.ffprobe": "\/usr\/bin\/ffprobe"
}
}
Apps
Enabled:
- app_api: 5.0.2
- bruteforcesettings: 4.0.0
- calendar: 5.2.0
- circles: 31.0.0
- cloud_federation_api: 1.14.0
- comments: 1.21.0
- contacts: 7.0.4
- contactsinteraction: 1.12.0
- dashboard: 7.11.0
- dav: 1.33.0
- epubviewer: 1.7.3
- federatedfilesharing: 1.21.0
- federation: 1.21.0
- files: 2.3.1
- files_3dmodelviewer: 0.0.15
- files_downloadlimit: 4.0.0
- files_external: 1.23.0
- files_pdfviewer: 4.0.0
- files_reminders: 1.4.0
- files_sharing: 1.23.1
- files_trashbin: 1.21.0
- files_versions: 1.24.0
- firstrunwizard: 4.0.0
- forms: 5.0.3
- integration_mastodon: 3.1.1
- logreader: 4.0.0
- lookup_server_connector: 1.19.0
- mail: 4.3.1
- maps: 1.5.0
- memories: 7.5.2
- music: 2.1.2
- news: 25.3.0
- nextcloud_announcements: 3.0.0
- notes: 4.11.0
- notifications: 4.0.0
- oauth2: 1.19.1
- password_policy: 3.0.0
- passwords: 2025.2.20
- previewgenerator: 5.8.0
- privacy: 3.0.0
- profile: 1.0.0
- provisioning_api: 1.21.0
- recommendations: 4.0.0
- related_resources: 2.0.0
- serverinfo: 3.0.0
- settings: 1.14.0
- sharebymail: 1.21.0
- support: 3.0.0
- survey_client: 3.0.0
- systemtags: 1.21.1
- tables: 0.9.0
- tasks: 0.16.1
- text: 5.0.0
- theming: 2.6.1
- twofactor_backupcodes: 1.20.0
- updatenotification: 1.21.0
- user_status: 1.11.0
- viewer: 4.0.0
- weather_status: 1.11.0
- webhook_listeners: 1.2.0
- whiteboard: 1.0.5
- workflowengine: 2.13.0
Disabled:
- activity: 4.0.0 (installed 3.0.0)
- admin_audit: 1.21.0
- analytics: 5.2.4 (installed 5.2.4)
- collectives: 2.16.1 (installed 2.16.1)
- encryption: 2.19.0
- photos: 4.0.0-dev.1 (installed 3.0.2)
- recognize: 9.0.0 (installed 8.2.0)
- richdocuments: 8.6.2 (installed 8.6.2)
- richdocumentscode: 24.4.1302 (installed 24.4.1302)
- side_menu: 4.1.1 (installed 4.1.1)
- spreed: 21.0.1 (installed 21.0.1)
- suspicious_login: 9.0.1
- twofactor_nextcloud_notification: 5.0.0
- twofactor_totp: 13.0.0-dev.0
- user_ldap: 1.22.0 (installed 1.22.0)
Tips for increasing the likelihood of a response
- Use the
preformatted text
formatting 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.