The Basics
- Nextcloud Server version:
- 31.0.5
- Operating system and version :
- Debian 12 on RPi 5
- Web server and version :
- Apache 2.4.63
- PHP version :
- 8.3.21
- Is this the first time you’ve seen this error? (Yes / No):
- Yes
- When did this problem seem to first start?
- after the update to Nextcloud 31
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
- AIO
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
- No
Summary of the issue you are facing:
Can’t login into a fresh install of Nextcloud. The login page gives no response and no errors on the correct or wrong login/password. Eventually it just started giving antibrutforce errors. Initially the issue appeared after upgrading a Nextcloud 30 setup that was working well. Previously logged in devices stay logged in but are also unable to log in on exit.
Log entries
Nextcloud
nextcloud.log
{"reqId":"LHTHAV6zud2gAlwPjUYe","level":2,"time":"2025-06-11T12:56:12+00:00","remoteAddr":"127.0.0.1","user":"--","app":"core","method":"PROPFIND","url":"/remote.php/dav/files/Asmodeus/%D0%94%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/","message":"Login failed: 'Asmodeus' (Remote IP: '127.0.0.1')","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.31.4","version":"31.0.5.1","data":{"app":"core"}}
{"reqId":"56cv98RDQQ5nyVZ4Kups","level":2,"time":"2025-06-11T12:56:12+00:00","remoteAddr":"127.0.0.1","user":"--","app":"core","method":"PROPFIND","url":"/remote.php/dav/files/Asmodeus/%D0%94%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/","message":"Login failed: 'Asmodeus' (Remote IP: '127.0.0.1')","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.31.4","version":"31.0.5.1","data":{"app":"core"}}
{"reqId":"N4s05xGpkmUeLLIOJhsR","level":2,"time":"2025-06-11T12:56:12+00:00","remoteAddr":"127.0.0.1","user":"--","app":"core","method":"PROPFIND","url":"/remote.php/dav/files/Asmodeus/%D0%94%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/","message":"Login failed: 'Asmodeus' (Remote IP: '127.0.0.1')","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.31.4","version":"31.0.5.1","data":{"app":"core"}}
{"reqId":"42XT7Rt1l4wHRd4AZts7","level":2,"time":"2025-06-11T12:56:18+00:00","remoteAddr":"127.0.0.1","user":"--","app":"core","method":"GET","url":"/index.php/avatar/Asmodeus/512","message":"Login failed: 'Asmodeus' (Remote IP: '127.0.0.1')","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.31.4","version":"31.0.5.1","data":{"app":"core"}}
{"reqId":"R4BTSDggI6eYWhjNxtdQ","level":2,"time":"2025-06-11T12:56:25+00:00","remoteAddr":"127.0.0.1","user":"--","app":"core","method":"PROPFIND","url":"/remote.php/dav/versions/Asmodeus/versions/672","message":"Login failed: 'Asmodeus' (Remote IP: '127.0.0.1')","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.31.4","version":"31.0.5.1","data":{"app":"core"}}
{"reqId":"gdnBqvGMFEGPgGPTWqxO","level":2,"time":"2025-06-11T12:56:37+00:00","remoteAddr":"127.0.0.1","user":"--","app":"core","method":"PROPFIND","url":"/remote.php/dav/files/Asmodeus/%D0%94%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/","message":"Login failed: 'Asmodeus' (Remote IP: '127.0.0.1')","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.31.4","version":"31.0.5.1","data":{"app":"core"}}
{"reqId":"zqaKF3lttMVDIj0Gin3b","level":2,"time":"2025-06-11T12:56:39+00:00","remoteAddr":"127.0.0.1","user":"--","app":"core","method":"GET","url":"/ocs/v2.php/cloud/capabilities?format=json","message":"Login failed: 'Asmodeus' (Remote IP: '127.0.0.1')","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.31.4","version":"31.0.5.1","data":{"app":"core"}}
{"reqId":"qGeva7QoEJHV1PaKdenE","level":3,"time":"2025-06-11T12:56:39+00:00","remoteAddr":"127.0.0.1","user":"--","app":"webdav","method":"PROPFIND","url":"/remote.php/dav/files/Asmodeus/","message":"Exception thrown: OCA\\DAV\\Connector\\Sabre\\Exception\\TooManyRequests","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.31.4","version":"31.0.5.1","exception":{"Exception":"OCA\\DAV\\Connector\\Sabre\\Exception\\TooManyRequests","Message":"","Code":0,"Trace":[{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Auth/Backend/AbstractBasic.php","line":103,"function":"validateUserPass","class":"OCA\\DAV\\Connector\\Sabre\\Auth","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Auth.php","line":191,"function":"check","class":"Sabre\\DAV\\Auth\\Backend\\AbstractBasic","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Auth.php","line":105,"function":"auth","class":"OCA\\DAV\\Connector\\Sabre\\Auth","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php","line":179,"function":"check","class":"OCA\\DAV\\Connector\\Sabre\\Auth","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php","line":135,"function":"check","class":"Sabre\\DAV\\Auth\\Plugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"beforeMethod","class":"Sabre\\DAV\\Auth\\Plugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":456,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["beforeMethod:PROPFIND",[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Server.php","line":49,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":400,"function":"start","class":"OCA\\DAV\\Connector\\Sabre\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php","line":21,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":145,"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/apps/dav/lib/Connector/Sabre/Auth.php","Line":93,"message":"","exception":{},"CustomMessage":"Exception thrown: OCA\\DAV\\Connector\\Sabre\\Exception\\TooManyRequests"}}
{"reqId":"7mw90EWGGPL4KNvuvsEN","level":2,"time":"2025-06-11T12:56:40+00:00","remoteAddr":"127.0.0.1","user":"--","app":"core","method":"GET","url":"/ocs/v2.php/apps/recommendations/api/v1/recommendations?format=json","message":"Login failed: 'Asmodeus' (Remote IP: '127.0.0.1')","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.31.4","version":"31.0.5.1","data":{"app":"core"}}
{"reqId":"ciqZCcRz2ug5gLcFjkL6","level":0,"time":"2025-06-11T13:17:10+00:00","remoteAddr":"","user":"--","app":"admin_audit","method":"","url":"--","message":"The loading of lazy AppConfig values have been triggered by app \"admin_audit\"","userAgent":"--","version":"31.0.5.1","exception":{"Exception":"RuntimeException","Message":"The loading of lazy AppConfig values have been triggered by app \"admin_audit\"","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppConfig.php","line":499,"function":"loadConfig","class":"OC\\AppConfig","type":"->","args":["admin_audit",null]},{"file":"/var/www/html/core/Command/Config/App/SetConfig.php","line":125,"function":"getValueType","class":"OC\\AppConfig","type":"->","args":["admin_audit","logfile"]},{"file":"/var/www/html/3rdparty/symfony/console/Command/Command.php","line":326,"function":"execute","class":"OC\\Core\\Command\\Config\\App\\SetConfig","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/core/Command/Base.php","line":161,"function":"run","class":"Symfony\\Component\\Console\\Command\\Command","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":1078,"function":"run","class":"OC\\Core\\Command\\Base","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":324,"function":"doRunCommand","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"OC\\Core\\Command\\Config\\App\\SetConfig"},{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":175,"function":"doRun","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/lib/private/Console/Application.php","line":187,"function":"run","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/console.php","line":87,"function":"run","class":"OC\\Console\\Application","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"}]},{"file":"/var/www/html/occ","line":33,"args":["/var/www/html/console.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/AppConfig.php","Line":1208,"message":"The loading of lazy AppConfig values have been triggered by app \"admin_audit\"","exception":{},"CustomMessage":"The loading of lazy AppConfig values have been triggered by app \"admin_audit\""}}
Web Browser
The browser “console” tab shows multiple “Unchecked runtime.lastError: The message port closed before a response was received.” errors
Web server / Reverse Proxy
2025-06-11T13:17:04.344635133Z Waiting for Nextcloud to start...
2025-06-11T13:17:09.350769146Z Waiting for Nextcloud to start...
2025-06-11T13:17:14.353769593Z Waiting for Nextcloud to start...
2025-06-11T13:17:19.360181127Z Waiting for Nextcloud to start...
2025-06-11T13:17:24.362498449Z Connection to nextcloud-aio-nextcloud (192.168.16.5) 9000 port [tcp/*] succeeded!
2025-06-11T13:17:26.101051082Z [Wed Jun 11 16:17:26.099915 2025] [mpm_event:notice] [pid 40:tid 40] AH00489: Apache/2.4.63 (Unix) configured -- resuming normal operations
2025-06-11T13:17:26.101086619Z [Wed Jun 11 16:17:26.100040 2025] [core:notice] [pid 40:tid 40] AH00094: Command line: '/usr/local/apache2/bin/httpd -D FOREGROUND'
2025-06-11T13:17:26.150792776Z {"level":"info","ts":1749647846.150137,"msg":"maxprocs: Leaving GOMAXPROCS=4: CPU quota undefined"}
2025-06-11T13:17:26.151867810Z {"level":"info","ts":1749647846.1513903,"msg":"GOMEMLIMIT is updated","package":"github.com/KimMachineGun/automemlimit/memlimit","GOMEMLIMIT":7609865011,"previous":9223372036854775807}
2025-06-11T13:17:26.151887329Z {"level":"info","ts":1749647846.1514502,"msg":"using config from file","file":"/tmp/Caddyfile"}
2025-06-11T13:17:26.155480431Z {"level":"info","ts":1749647846.1549437,"msg":"adapted config to JSON","adapter":"caddyfile"}
2025-06-11T13:17:26.177943525Z {"level":"info","ts":1749647846.1776922,"msg":"serving initial configuration"}
Configuration
Nextcloud
{
"system": {
"one-click-instance": true,
"one-click-instance.user-limit": 100,
"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
}
],
"check_data_directory_permissions": false,
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"password": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"overwritehost": "mydomain",
"overwriteprotocol": "https",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"mydomain"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"version": "31.0.5.1",
"overwrite.cli.url": "https:\/\/mydomain\/",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"maintenance": false,
"loglevel": 2,
"log_type": "file",
"logfile": "\/var\/www\/html\/data\/nextcloud.log",
"log_rotate_size": 10485760,
"log.condition": {
"apps": [
"admin_audit"
]
},
"preview_max_x": 2048,
"preview_max_y": 2048,
"jpeg_quality": 60,
"enabledPreviewProviders": {
"1": "OC\\Preview\\Image",
"2": "OC\\Preview\\MarkDown",
"3": "OC\\Preview\\MP3",
"4": "OC\\Preview\\TXT",
"5": "OC\\Preview\\OpenDocument",
"6": "OC\\Preview\\Movie",
"7": "OC\\Preview\\Krita"
},
"enable_previews": true,
"upgrade.disable-web": true,
"mail_smtpmode": "smtp",
"trashbin_retention_obligation": "auto, 30",
"versions_retention_obligation": "auto, 30",
"activity_expire_days": 30,
"simpleSignUpLink.shown": false,
"share_folder": "\/Shared",
"one-click-instance.link": "https:\/\/nextcloud.com\/all-in-one\/",
"upgrade.cli-upgrade-link": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/2726",
"updatedirectory": "\/nc-updater",
"maintenance_window_start": 100,
"allow_local_remote_servers": true,
"davstorage.request_timeout": 3600,
"documentation_url.server_logs": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/5425",
"htaccess.RewriteBase": "\/",
"dbpersistent": false,
"auth.bruteforce.protection.enabled": true,
"ratelimit.protection.enabled": true,
"files_external_allow_create_new_local": false,
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"preview_imaginary_key": "***REMOVED SENSITIVE VALUE***",
"DOMAIN": "mydomain"
}
}
Apps
Enabled:
- activity: 4.0.0
- admin_audit: 1.21.0
- bruteforcesettings: 4.0.0
- calendar: 5.3.2
- circles: 31.0.0
- cloud_federation_api: 1.14.0
- comments: 1.21.0
- contacts: 7.1.3
- contactsinteraction: 1.12.0
- dashboard: 7.11.0
- dav: 1.33.0
- deck: 1.15.1
- federatedfilesharing: 1.21.0
- federation: 1.21.0
- files: 2.3.1
- files_downloadlimit: 4.0.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
- logreader: 4.0.0
- lookup_server_connector: 1.19.0
- nextcloud-aio: 0.8.0
- nextcloud_announcements: 3.0.0
- notes: 4.12.1
- notifications: 4.0.0
- notify_push: 1.1.0
- oauth2: 1.19.1
- password_policy: 3.0.0
- photos: 4.0.0-dev.1
- 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
- tasks: 0.16.1
- text: 5.0.0
- theming: 2.6.1
- twofactor_backupcodes: 1.20.0
- twofactor_totp: 13.0.0-dev.0
- user_status: 1.11.0
- viewer: 4.0.0
- weather_status: 1.11.0
- webhook_listeners: 1.2.0
- workflowengine: 2.13.0
Disabled:
- app_api: 5.0.2 (installed 5.0.2)
- encryption: 2.19.0
- files_external: 1.23.0
- suspicious_login: 9.0.1
- twofactor_nextcloud_notification: 5.0.0
- user_ldap: 1.22.0