Hello!
Nextcloud version: 21.0.2
Operating system and version: Synology DSM 6.2.4
Apache or nginx version: Apache 2.4.43
PHP version: 7.3.16
The issue:
I cannot login with one user only.
I have four users. 1 administrator and 3 users. Only one of the users (the user which owns most of the data) cannot login. After updating to Nextcloud 21 this user can never login. Previously, the problem occured only randomly. (But it must not be related to the update, as the user was not used in the last months before the update was performed.) Using the mobile app on Android, I can login with this user and browse the files.
Is this the first time you’ve seen this error?
No, but as it was always working after second or third try, I didn’t investigate further.
Steps to replicate it:
- Go to …/index.php/login
- Enter valid credentials of one user
- See login page reloading after approx. 1min. The user is not logged in
- Enter valid credentials of a different user
- User is logged in immediatly
What I tried so far:
- Changing password to make sure the correct one is used → yes it is
- Cleaned up oc_bruteforce_attempts table → no effect
- Login with other existing users, login with newly created user → all good
- Login with specific user using Andorid mobile application - > works
Nextcloud log:
[core] Warning: Controller OC\Core\Controller\LoginController::tryLogin executed 1111 queries.
POST /index.php/login
[core] Debug: Controller OC\Core\Controller\LoginController::tryLogin created 1107 QueryBuilder objects, please check if they are created inside a loop by accident.
POST /index.php/login
config.php:
$CONFIG = array (
'trusted_domains' =>.
array (
0 => '...',
1 => '...',
2 => '...',
3 => '...',
),
'datadirectory' => '/volume1/nextcloud',
'dbtype' => 'mysql',
'version' => '21.0.2.1',
'overwrite.cli.url' => '...',
'dbname' => '...',
'dbhost' => '...',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '...',
'dbpassword' => '...',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'mail_from_address' => '...',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => '...',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtphost' => '...',
'mail_smtpport' => '587',
'mail_smtpname' => '...',
'mail_smtppassword' => '...',
'mail_smtpsecure' => 'tls',
'maintenance' => false,
'updater.secret' => '...',
'theme' => '',
'loglevel' => 2,
'debug' => 'false',
'defaultapp' => 'dashboard',
'app_install_overwrite' =>.
array (
0 => 'calendar',
),
);
Apache log:
[proxy_fcgi:error] [pid 17064:tid 547792875936] (70007) The timeout specified has expired: [client …] AH01075: Error dispatching request to : (polling)
Highly appreciate every feedback!