Nextcloud unresponsive and errors in log

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

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 :heart:

Nextcloud version (eg, 20.0.5): 26.0.1.1
Operating system and version (eg, Ubuntu 20.04): Linux 4.4.180+ CST 2022 x86_64 GNU/Linux
Apache or nginx version (eg, Apache 2.4.25): replace me
PHP version (eg, 7.4): 8

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Open Nextcloud via browser or using Talk
  2. very slow and unresponsive → 10 seconds to show a page
  3. There are random errors in the log files

The output of your Nextcloud log in Admin > Logging:

00:00","remoteAddr":"192.168.1.203","user":"nmax2","app":"suspicious_login","method":"POST","url":"/index.php/login","message":"Could not predict suspiciousness: No models found","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36","version":"26.0.1.1","data":{"app":"suspicious_login"}}
{"reqId":"rCk4NQh8c4Odu2O93lzl","level":3,"time":"2023-05-17T21:10:29+00:00","remoteAddr":"","user":"--","app":"spreed","method":"","url":"--","message":"Getting the account information failed: account not found - HTTP status: 404 Response body: ","userAgent":"--","version":"26.0.1.1","data":{"app":"spreed"}}
{"reqId":"paZS8tU5xESTiC4VEJJw","level":2,"time":"2023-05-17T21:58:42+00:00","remoteAddr":"192.168.1.203","user":"--","app":"core","method":"DELETE","url":"/ocs/v2.php/apps/notifications/api/v2/push","message":"Login failed: 'nmax1' (Remote IP: '192.168.1.203')","userAgent":"Mozilla/5.0 (Android) Nextcloud-Talk v16.0.1","version":"26.0.1.1","data":{"app":"core"}}
{"reqId":"Vq8phy6FLxGvWFtdwFTT","level":3,"time":"2023-05-17T22:20:21+00:00","remoteAddr":"","user":"--","app":"spreed","method":"","url":"--","message":"Getting the account information failed: account not found - HTTP status: 404 Response body: ","userAgent":"--","version":"26.0.1.1","data":{"app":"spreed"}}
{"reqId":"gX34beX5yDLELzVPLry9","level":3,"time":"2023-05-17T23:20:21+00:00","remoteAddr":"","user":"--","app":"spreed","method":"","url":"--","message":"Getting the account information failed: account not found - HTTP status: 404 Response body: ","userAgent":"--","version":"26.0.1.1","data":{"app":"spreed"}}
{"reqId":"fNHrauV8wweCtpH4zPUw","level":3,"time":"2023-05-18T00:30:17+00:00","remoteAddr":"","user":"--","app":"spreed","method":"","url":"--","message":"Getting the account information failed: account not found - HTTP status: 404 Response body: ","userAgent":"--","version":"26.0.1.1","data":{"app":"spreed"}}
{"reqId":"2ZocOAozmMH5UdFJ9wmE","level":3,"time":"2023-05-18T01:40:16+00:00","remoteAddr":"","user":"--","app":"spreed","method":"","url":"--","message":"Getting the account information failed: account not found - HTTP status: 404 Response body: ","userAgent":"--","version":"26.0.1.1","data":{"app":"spreed"}}
{"reqId":"a8aFHRo2w3d1t1TpZBS0","level":3,"time":"2023-05-18T02:50:16+00:00","remoteAddr":"","user":"--","app":"spreed","method":"","url":"--","message":"Getting the account information failed: account not found - HTTP status: 404 Response body: ","userAgent":"--","version":"26.0.1.1","data":{"app":"spreed"}}
{"reqId":"JrsH8V9yNeYkvKq1RkUB","level":2,"time":"2023-05-18T03:05:01+00:00","remoteAddr":"192.168.1.203","user":"--","app":"core","method":"DELETE","url":"/ocs/v2.php/apps/notifications/api/v2/push","message":"Login failed: 'nmax1' (Remote IP: '192.168.1.203')","userAgent":"Mozilla/5.0 (Android) Nextcloud-Talk v16.0.1","version":"26.0.1.1","data":{"app":"core"}}
{"reqId":"H7CBuAg8I7Lt6ah1vb7x","level":3,"time":"2023-05-18T04:00:18+00:00","remoteAddr":"","user":"--","app":"spreed","method":"","url":"--","message":"Getting the account information failed: account not found - HTTP status: 404 Response body: ","userAgent":"--","version":"26.0.1.1","data":{"app":"spreed"}}
{"reqId":"H1KPuxkKuT7F7ZHUo1d9","level":3,"time":"2023-05-18T05:10:13+00:00","remoteAddr":"","user":"--","app":"spreed","method":"","url":"--","message":"Getting the account information failed: account not found - HTTP status: 404 Response body: ","userAgent":"--","version":"26.0.1.1","data":{"app":"spreed"}}
{"reqId":"uOF6ADJKr1BGdxAauDOk","level":3,"time":"2023-05-18T06:10:15+00:00","remoteAddr":"","user":"--","app":"spreed","method":"","url":"--","message":"Getting the account information failed: account not found - HTTP status: 404 Response body: ","userAgent":"--","version":"26.0.1.1","data":{"app":"spreed"}}
{"reqId":"E4UJhkArIzyN0Mb1DseQ","level":2,"time":"2023-05-18T06:31:33+00:00","remoteAddr":"192.168.1.203","user":"--","app":"core","method":"DELETE","url":"/ocs/v2.php/apps/notifications/api/v2/push","message":"Login failed: 'nmax1' (Remote IP: '192.168.1.203')","userAgent":"Mozilla/5.0 (Android) Nextcloud-Talk v16.0.1","version":"26.0.1.1","data":{"app":"core"}}
{"reqId":"G2LEYa4vZcJA8mumjnML","level":2,"time":"2023-05-18T06:53:23+00:00","remoteAddr":"192.168.1.203","user":"--","app":"core","method":"DELETE","url":"/ocs/v2.php/apps/notifications/api/v2/push","message":"Login failed: 'nmax1' (Remote IP: '192.168.1.203')","userAgent":"Mozilla/5.0 (Android) Nextcloud-Talk v16.0.1","version":"26.0.1.1","data":{"app":"core"}}
{"reqId":"bHmJGPWjWU51yorynKed","level":2,"time":"2023-05-18T06:54:06+00:00","remoteAddr":"192.168.1.203","user":"nmax1","app":"suspicious_login","method":"REPORT","url":"/remote.php/dav/principals/users/nmax1/","message":"Could not predict suspiciousness: No models found","userAgent":"iOS/16.3.1 (20D67) dataaccessd/1.0","version":"26.0.1.1","data":{"app":"suspicious_login"}}
{"reqId":"thK1MCjHo2YUS7bM57U5","level":2,"time":"2023-05-18T06:54:08+00:00","remoteAddr":"192.168.1.203","user":"nmax1","app":"suspicious_login","method":"PROPFIND","url":"/remote.php/dav/calendars/nmax1/","message":"Could not predict suspiciousness: No models found","userAgent":"iOS/16.3.1 (20D67) dataaccessd/1.0","version":"26.0.1.1","data":{"app":"suspicious_login"}}
{"reqId":"J94knIyS7Qha5uCMz2hn","level":2,"time":"2023-05-18T06:54:08+00:00","remoteAddr":"192.168.1.203","user":"nmax1","app":"suspicious_login","method":"PROPFIND","url":"/remote.php/dav/calendars/nmax1/inbox/","message":"Could not predict suspiciousness: No models found","userAgent":"iOS/16.3.1 (20D67) dataaccessd/1.0","version":"26.0.1.1","data":{"app":"suspicious_login"}}
{"reqId":"5TTqTMXgqRbYVdoXhXnf","level":3,"time":"2023-05-18T07:20:12+00:00","remoteAddr":"","user":"--","app":"spreed","method":"","url":"--","message":"Getting the account information failed: account not found - HTTP status: 404 Response body: ","userAgent":"--","version":"26.0.1.1","data":{"app":"spreed"}}
{"reqId":"qnoqgo5i2SnQHHTDT28F","level":2,"time":"2023-05-18T07:55:53+00:00","remoteAddr":"192.168.1.203","user":"nmax1","app":"suspicious_login","method":"OPTIONS","url":"/remote.php/dav/principals/users/nmax1/","message":"Could not predict suspiciousness: No models found","userAgent":"iOS/16.3.1 (20D67) remindd/1.0","version":"26.0.1.1","data":{"app":"suspicious_login"}}
{"reqId":"WcG513cklhPJDkV8tOYy","level":2,"time":"2023-05-18T07:55:55+00:00","remoteAddr":"192.168.1.203","user":"nmax1","app":"suspicious_login","method":"PROPFIND","url":"/remote.php/dav/calendars/nmax1/","message":"Could not predict suspiciousness: No models found","userAgent":"iOS/16.3.1 (20D67) remindd/1.0","version":"26.0.1.1","data":{"app":"suspicious_login"}}
{"reqId":"BrJBO4nogiu3NnYzLfl5","level":3,"time":"2023-05-18T08:30:12+00:00","remoteAddr":"","user":"--","app":"spreed","method":"","url":"--","message":"Getting the account information failed: account not found - HTTP status: 404 Response body: ","userAgent":"--","version":"26.0.1.1","data":{"app":"spreed"}}
{"reqId":"nZxWsTbMVr0TJv8AcDtL","level":3,"time":"2023-05-18T09:40:11+00:00","remoteAddr":"","user":"--","app":"spreed","method":"","url":"--","message":"Getting the account information failed: account not found - HTTP status: 404 Response body: ","userAgent":"--","version":"26.0.1.1","data":{"app":"spreed"}}
{"reqId":"6HMPgwXBnahC2WL0a1yA","level":2,"time":"2023-05-18T10:32:16+00:00","remoteAddr":"192.168.1.203","user":"mhodges","app":"suspicious_login","method":"POST","url":"/index.php/login","message":"Could not predict suspiciousness: No models found","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36","version":"26.0.1.1","data":{"app":"suspicious_login"}}
{"reqId":"m4EqZgpac1I5QVI8Z1Qt","level":3,"time":"2023-05-18T10:50:12+00:00","remoteAddr":"","user":"--","app":"spreed","method":"","url":"--","message":"Getting the account information failed: account not found - HTTP status: 404 Response body: ","userAgent":"--","version":"26.0.1.1","data":{"app":"spreed"}}
{"reqId":"CH01WLgOiTUkoIybyhmZ","level":2,"time":"2023-05-18T11:56:27+00:00","remoteAddr":"192.168.1.203","user":"--","app":"core","method":"DELETE","url":"/ocs/v2.php/apps/notifications/api/v2/push","message":"Login failed: 'nmax1' (Remote IP: '192.168.1.203')","userAgent":"Mozilla/5.0 (Android) Nextcloud-Talk v16.0.1","version":"26.0.1.1","data":{"app":"core"}}
{"reqId":"jqzHFuJn3uT3QvaMRZ7l","level":3,"time":"2023-05-18T12:00:10+00:00","remoteAddr":"","user":"--","app":"spreed","method":"","url":"--","message":"Getting the account information failed: account not found - HTTP status: 404 Response body: ","userAgent":"--","version":"26.0.1.1","data":{"app":"spreed"}}
{"reqId":"CZBoFCpi5oTwvWhiffTt","level":3,"time":"2023-05-18T13:10:10+00:00","remoteAddr":"","user":"--","app":"spreed","method":"","url":"--","message":"Getting the account information failed: account not found - HTTP status: 404 Response body: ","userAgent":"--","version":"26.0.1.1","data":{"app":"spreed"}}

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'x',
  'passwordsalt' => 'XX',
  'secret' => 'XXX',
  'trusted_domains' => 
  array (
    0 => 'XXX',
    1 => 'XXX',
    3 => 'XXX',
  ),
  'datadirectory' => 'XXXXX/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '26.0.1.1',
  'overwrite.cli.url' => 'XXXX/nextcloud25/nextcloud',
  'dbname' => 'n',
  'dbhost' => 'ost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'XXX',
  'dbpassword' => 'XXX',
  'installed' => true,
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => '192.168.1.203',
    'port' => '6379',
    'timeout' => '0',
    'dbindex' => '0',
  ),
  'mail_from_address' => 'noreply-NC25',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'rmail44.win',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtphost' => 'mail.xmail44.win',
  'mail_smtpport' => '465',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'nmax3@xmail44.win',
  'mail_smtppassword' => 'nmax3',
  'maintenance' => false,
  'mail_smtpsecure' => 'ssl',
  'theme' => '',
  'loglevel' => 2,
);

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

PASTE HERE


Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

See above```

Is this a recent change in behavior? Was it working previously without this issue or is this an entirely new installation?

Also, before we troubleshoot this, can you:

  • Disable the suspicious_logins app (it doesn’t have a released versions for NC26 currently)[1]
  • Update to the lastest NC26?

If it’s a change in behavior, what else has changed? (I.e. NC was upgraded, new apps enabled, apps updated, etc)

If the behavior still exists after updating:

Can you provide a full stack trace from one of those the account information failedlog entries? Easiest way is to go to the far right under Admin settings->Logging and click the clipboard icon that pops up. Then select Copy raw. When you post it here please do so as preformatted text.

[1] suspicious_login/CHANGELOG.md at 2e343d2518b21c50f97a14d5640c81d4ad488382 · nextcloud/suspicious_login · GitHub