After Upgrade NC19 -> Basic authentication requested

Hello,

i updated my nextcloud to NC19. When i try to load the page i get a basic authentication window. In the nextcloud log i can see a failed login. the url shows https://cloud.doamin.com/index.php
i can login to the instance when i change the url to https://cloud.doamin.com/login

under NC18 it was working fine.

Nextcloud version (eg, 18.0.2):19.0.0
Operating system and version (eg, Ubuntu 20.04): CentOS7
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.6
PHP version (eg, 7.1):PHP 7.4.6

The issue you are facing:

Logon page not loaded

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

Steps to replicate it:

  1. Update Nextcloud to Nextcloud 19 (Fresh installation also affected)
  2. Load File

The output of your Nextcloud log in Admin > Logging:

Error	lib	ResourceLocator can not find a web root (root: /var/www/html/nextcloudapps/spreed, file: css/spreed/8bde-2fe1-merged-files.css?v=b09f21747943fghg44605d8d03, webRoot: , throw: true)		2020-06-14T13:27:00+0200
Error	lib	ResourceLocator can not find a web root (root: /var/www/html/nextcloudapps/spreed, file: css/spreed/8bde-2fe1-merged-files.css?v=b09f21747bbrr444g3s5d8d03, webRoot: , throw: true)		2020-06-14T12:24:36+0200
Error	PHP	fread(): read of 8192 bytes failed with errno=21 Is a directory at /var/www/html/nextcloud/lib/private/Files/Storage/Wrapper/Encryption.php#861		2020-06-14T11:22:49+0200
Error	lib	ResourceLocator can not find a web root (root: /var/www/html/nextcloudapps/spreed, file: css/spreed/8bde-2fe1-merged-files.css?v=b09f217433rff343e825605d8d03, webRoot: , throw: true)		2020-06-14T11:17:53+0200
Error	lib	ResourceLocator can not find a web root (root: /var/www/html/nextcloudapps/spreed, file: css/spreed/8bde-2fe1-merged-files.css?v=b09f2174rergrgrgrg7e825605d8d03, webRoot: , throw: true)		2020-06-14T11:17:50+0200
Error	lib	ResourceLocator can not find a web root (root: /var/www/html/nextcloudapps/spreed, file: css/spreed/8bde-2fe1-merged-files.css?v=b09vfrgt5910a3025ab7e825605d8d03, webRoot: , throw: true)		2020-06-14T11:17:48+0200
Error	lib	ResourceLocator can not find a web root (root: /var/www/html/nextcloudapps/spreed, file: css/spreed/8bde-2fe1-merged-files.css?v=b09f21747efefe33rd825605d8d03, webRoot: , throw: true)		2020-06-14T11:17:47+0200

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

<?php
$CONFIG = array (
  'updatechecker' => false,
  'instanceid' => '1234',
  'passwordsalt' => 'SaltisCool',
  'secret' => 'ihavenosecret',
  'trusted_domains' =>
  array (
    0 => 'cloud.domain.de',
  ),
  'datadirectory' => '/var/www/html/nextclouddata/data',
  'overwrite.cli.url' => 'https://cloud.domain.de',
  'dbtype' => 'mysql',
  'version' => '19.0.0.12',
  'dbname' => 'clouddatabase',
  'dbhost' => 'localhost',
  'dbtableprefix' => 'nx_',
  'dbuser' => 'clouduser',
  'dbpassword' => 'Passwordisnotcool',
  'logtimezone' => 'UTC',
  'default_language' => 'de',
  'installed' => true,
  'mail_from_address' => 'cloud',
  'mail_smtpmode' => 'sendmail',
  'mail_domain' => 'domain.de',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'appstoreenabled' => true,
  'appcodechecker' => true,
  'appstore.experimental.enabled' => true,
  'apps_paths' =>
  array (
    0 =>
    array (
      'path' => '/var/www/html/nextcloud/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 =>
    array (
      'path' => '/var/www/html/nextcloudapps',
      'url' => '/apps2',
      'writable' => true,
    ),
  ),
  'loglevel' => 2,
  'theme' => '',
  'maintenance' => false,
  'htaccess.RewriteBase' => '/',
  'activity_expire_days' => 1.4141414141413999E+27,
  'enabledPreviewProviders' =>
  array (
    0 => 'OC\\Preview\\Image',
    1 => 'OC\\Preview\\MP3',
    2 => 'OC\\Preview\\TXT',
    3 => 'OC\\Preview\\MarkDown',
    4 => 'OC\\Preview\\Epub',
    5 => 'OC\\Preview\\PDF',
    6 => 'OC\\Preview\\OpenDocument',
    7 => 'OC\\Preview\\StarOffice',
    8 => 'OC\\Preview\\MSOfficeDoc',
    9 => 'OC\\Preview\\MSOffice2003',
    10 => 'OC\\Preview\\MSOffice2007',
  ),
  'updater.release.channel' => 'stable',
  'mail_smtpauthtype' => 'LOGIN',
  'mysql.utf8mb4' => true,
  'app_install_overwrite' =>
  array (
    0 => 'keeweb',
    1 => 'drawio',
    2 => 'gpxedit',
    3 => 'gpxmotion',
    4 => 'files_opds',
    5 => 'maps',
    6 => 'calendar',
    7 => 'contacts',
    8 => 'deck',
    9 => 'circles',
    10 => 'ransomware_detection',
    11 => 'ocr',
    12 => 'timetracker',
    13 => 'twofactor_webauthn',
  ),
);

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

[Sun Jun 14 11:11:54.453158 2020] [suexec:notice] [pid 4212] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Jun 14 11:11:54.717099 2020] [mpm_prefork:notice] [pid 4212] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.7 configured -- resuming normal operations
[Sun Jun 14 11:11:54.717133 2020] [core:notice] [pid 4212] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sun Jun 14 11:15:08.392445 2020] [mpm_prefork:notice] [pid 4212] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Jun 14 11:15:09.481617 2020] [suexec:notice] [pid 4274] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Jun 14 11:15:09.548041 2020] [mpm_prefork:notice] [pid 4274] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.7 configured -- resuming normal operations
[Sun Jun 14 11:15:09.548070 2020] [core:notice] [pid 4274] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'