Some clients cant open nextcloud (white screen)

Support intro

Some Clients cant access Nextcloud. Browser is loading endless and/or receiving a blank white page. This appears only to around 5% of users.

most people (including me) dont have any problems opening nextcloud from external hosts. Some just cant open any page. Any idea why or how to hunt this down? As i can see the client ip in apache logs, it does not seem as a routing problem…

Nextcloud version (eg, 29.0.5): 30.0.1.2
Operating system and version (eg, Ubuntu 24.04): Ubuntu 24.04
Apache or nginx version (eg, Apache 2.4.25): Apache
PHP version (eg, 8.3): 8.2

The issue you are facing:
Some Clients cant access Nextcloud. Browser is loading endless and/or receiving a blanc white page. This appears only to around 5% of users. Even the home/ login screen is not displaying.

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

Steps to replicate it:

  1. find an affected user / workstation and try to open external nextcloud url.

The output of your Nextcloud log in Admin > Logging:

nothing special

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

<?php
$CONFIG = array (
  'apps_paths' =>
  array (
    0 =>
    array (
      'path' => '/snap/nextcloud/current/htdocs/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 =>
    array (
      'path' => '/var/snap/nextcloud/current/nextcloud/extra-apps',
      'url' => '/extra-apps',
      'writable' => true,
    ),
  ),
  'supportedDatabases' =>
  array (
    0 => 'mysql',
  ),
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => '/tmp/sockets/redis.sock',
    'port' => 0,
  ),
  'log_type' => 'file',
  'logfile' => '/var/snap/nextcloud/current/logs/nextcloud.log',
  'logfilemode' => 416,
  'instanceid' => 'xxxx',
  'passwordsalt' => 'xxxxxx',
  'secret' => 'xxxxxx',
  'trusted_domains' =>
  array (
    0 => '192.168.231.8',
    1 => 'cloud.xxx.de',
    2 => '81.xxx.xxx.253',
  ),
  'datadirectory' => '/var/snap/nextcloud/common/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '30.0.1.2',
  'overwrite.cli.url' => 'cloud.xxx.de',
  'overwriteprotocol' => 'https',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost:/tmp/sockets/mysql.sock',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => 'xxx',
  'installed' => true,
  'mail_from_address' => 'no-reply',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'xxx.de',
  'mail_smtphost' => 'exchange.xxx.de',
  'mail_smtpport' => '587',
  'mail_smtpauthtype' => 'LOGIN',
  'maintenance' => false,
  'skeletondirectory' => '',
  'loglevel' => 2,
  'trashbin_retention_obligation' => 'auto, 14',
  'default_language' => 'de',
  'default_locale' => 'de_DE',
  'maintenance_window_start' => 1,
  'mail_smtpauth' => 1,
  'debug' => false,
);

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

176.6.56.146 - - - [31/Oct/2024:12:22:40 +0000] "GET / HTTP/1.1" 302 1134 "-" "Mozilla/5.0 (Android 12; Mobile; rv:131.0) Gecko/131.0 Firefox/131.0"
176.6.56.146 - - - [31/Oct/2024:12:22:41 +0000] "GET /index.php/login HTTP/1.1" 200 7983 "-" "Mozilla/5.0 (Android 12; Mobile; rv:131.0) Gecko/131.0 Firefox/131.0"

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.

none

i just noticed, that the nextcloud security scanner is not updating.
after “trigger re-scan” i find the following logs in apache_access.log

95.217.53.149 - - - [29/Oct/2024:18:53:57 +0000] "GET /owncloud/status.php HTTP/1.1" 301 463 "-" "scan.nextcloud.com"
95.217.53.149 - - - [29/Oct/2024:18:53:57 +0000] "GET /status.php HTTP/1.1" 301 445 "-" "scan.nextcloud.com"
95.217.53.149 - - - [29/Oct/2024:18:53:57 +0000] "GET /nextcloud/status.php HTTP/1.1" 301 465 "-" "scan.nextcloud.com"
95.217.53.149 - - - [29/Oct/2024:18:53:57 +0000] "GET /oc-shib/status.php HTTP/1.1" 301 461 "-" "scan.nextcloud.com"
95.217.53.149 - - - [29/Oct/2024:18:53:57 +0000] "GET /oc/status.php HTTP/1.1" 301 451 "-" "scan.nextcloud.com"

i would like to know, why the request 301 is blown out. At least /status.php should be accessible. I can open it from several other machines.

Browser inspector.

Check the Network and Console tabs.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.