Login needs up to 10 Minutes after Update to 21.0.1

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:


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


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): 21.0.1
Operating system and version (eg, Ubuntu 20.04): openSUSE Leap 15.2
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.43
PHP version (eg, 7.4): PHP 7.4.16

The issue you are facing:

The login process sometimes needs up to 10 minutes without any visible error after update to 21.0.1.

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

Steps to replicate it:

  1. Just log in

The output of your Nextcloud log in Admin > Logging:

no errors

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

$CONFIG = array (
  'instanceid' => 'XXXXXXXX',
  'passwordsalt' => 'XXXXXXXX',
  'secret' => 'XXXXXXXX/XXXXXXXX',
  'trusted_domains' => 
  array (
    0 => 'XXXXXXXX',
  'datadirectory' => '/data01/cld',
  'overwrite.cli.url' => 'https://XXXXXXXX/nextcloud',
  'dbtype' => 'mysql',
  'version' => '',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'oc_cldadmin',
  'dbpassword' => 'XXXXXXXX',
  'logtimezone' => 'UTC',
  'default_phone_region' => 'DE',
  'installed' => true,
  'mail_smtpmode' => 'sendmail',
  'mail_from_address' => 'XXXXXXXX',
  'mail_domain' => 'XXXXXXXX',
  'appstore.experimental.enabled' => true,
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 0,
  'filelocking.enabled' => true,
  'mysql.utf8mb4' => true,
  'app_install_overwrite' => 
  array (
    0 => 'apporder',
    1 => 'spreed',
    2 => 'contacts',
    3 => 'dicomviewer',
    4 => 'ojsxc',
    5 => 'social',
    6 => 'calendar',

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

no errors

Hi @zone42,maybe this topic can help you ? Very slow login after updating to 21.0.1

Hi zone

I had this with v20 - after disabling collabora things were back to normal speed.


1 Like

No. It turns out that this is a known bug, but there is already a workaround for it.

see Several issues after upgrading to Nextcloud 21 - #6 by fabsta