NCP Updating to 18.0.1 blank NC Page

[details=“Support intro”]

Edit: Managed to solve it by fixing OCC permission using sudo chmod 744 /var/www/nextcloud/occ

I’m currently running NCP and after updating Nextcloud via Nextcloud’s overview tab in settings, I’m unable to access my nextcloud website. The page is blank with no errors or anything. The page source is also empty as well.

Nextcloud version (eg, 12.0.2): 18.0.1.3
Operating system and version (eg, Ubuntu 17.04): Raspbian
Apache or nginx version (eg, Apache 2.4.25): 2.4.38-3+deb10u3
PHP version (eg, 7.1): 7.3.14-1~deb10u1

The issue you are facing:
Blank page on nextcloud webpage. NCP’s System Info page has everything running correctly.

Is this the first time you’ve seen this error? (Y/N): There is no error as I’m unable to access nextcloud’s webpage.

Steps to replicate it:

  1. Go to overview tab on Nextcloud webpage
  2. Click update and follow instructions
  3. Finish update and go to nextcloud webpage but it shows a blank page.

The output of your Nextcloud log in Admin > Logging:

Unable to access

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

<?php
$CONFIG = array (
  'passwordsalt' => 'salt',
  'secret' => 'secret',
  'trusted_domains' =>
  array (
    0 => 'localhost',
    11 => 'external ip',
    1 => 'local ip',
    5 => 'nextcloudpi.local',
    7 => 'nextcloudpi',
    8 => 'nextcloudpi.lan',
    3 => 'DDNS',
    12 => 'DDNS',
  ),
  'datadirectory' => '/media/myCloudDrive/ncdata',
  'dbtype' => 'mysql',
  'version' => '17.0.3.1',
  'overwrite.cli.url' => 'url',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'ncadmin',
  'dbpassword' => 'REDACTED',
  'installed' => true,
  'instanceid' => 'id',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => '/var/run/redis/redis.sock',
    'port' => 0,
    'timeout' => 0.0,
    'password' => 'REDACTED',
  ),
  'tempdirectory' => '/media/myCloudDrive/ncdata/tmp',
  'mail_smtpmode' => 'smtp',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_from_address' => 'email alert',
  'mail_domain' => 'domain',
  'preview_max_x' => '2048',
  'preview_max_y' => '2048',
  'jpeg_quality' => '60',
  'overwriteprotocol' => 'https',
  'maintenance' => false,
  'logfile' => '/media/myCloudDrive/ncdata/nextcloud.log',
  'loglevel' => '2',
  'log_type' => 'file',
  'theme' => '',
  'mail_sendmailmode' => 'pipe',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'smtp',
  'mail_smtpport' => 'port',
  'mail_smtpname' => 'emailalert',
  'mail_smtppassword' => '',
  'mail_smtpsecure' => 'ssl',
  'htaccess.RewriteBase' => '/',
  'updater.secret' => '',
);

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

error.log

[Tue Mar 03 16:03:55.689587 2020] [authz_host:error] [pid 788:tid 2772026400] [client CLIENTIP:53468] AH01753: access check of 'localhost' to /js/minified.js failed, reason: unable to get the remote host name
[Tue Mar 03 16:03:55.689962 2020] [authz_host:error] [pid 788:tid 2763625504] [client CLIENTIP:53468] AH01753: access check of 'localhost' to /js/ncp.js failed, reason: unable to get the remote host name
[Tue Mar 03 16:03:55.704827 2020] [authz_host:error] [pid 788:tid 2772026400] [client CLIENTIP:53468] AH01753: access check of 'localhost' to /img/toggle.svg failed, reason: unable to get the remote host name
[Tue Mar 03 16:03:55.704827 2020] [authz_host:error] [pid 788:tid 2856010784] [client CLIENTIP:53468] AH01753: access check of 'localhost' to /img/loading-small.gif failed, reason: unable to get the remote host name
[Tue Mar 03 16:03:55.778408 2020] [authz_host:error] [pid 788:tid 2772026400] [client CLIENTIP:53468] AH01753: access check of 'localhost' to /img/defaults.svg failed, reason: unable to get the remote host name
[Tue Mar 03 16:03:55.787987 2020] [authz_host:error] [pid 788:tid 2763625504] [client CLIENTIP:53468] AH01753: access check of 'localhost' to /ncp-output.php failed, reason: unable to get the remote host name
[Tue Mar 03 16:03:55.788014 2020] [authz_host:error] [pid 788:tid 2772026400] [client CLIENTIP:53468] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Tue Mar 03 16:03:55.788014 2020] [authz_host:error] [pid 788:tid 2847618080] [client CLIENTIP:53468] AH01753: access check of 'localhost' to /img/poweroff.svg failed, reason: unable to get the remote host name
[Tue Mar 03 16:03:55.788310 2020] [authz_host:error] [pid 788:tid 2847618080] [client CLIENTIP:53468] AH01753: access check of 'localhost' to /img/reboot.svg failed, reason: unable to get the remote host name
[Tue Mar 03 16:03:55.788315 2020] [authz_host:error] [pid 788:tid 2839225376] [client CLIENTIP:53468] AH01753: access check of 'localhost' to /img/ncp-logo.svg failed, reason: unable to get the remote host name, referer: https://NCP:4443/css/ncp.css
[Tue Mar 03 16:03:55.788368 2020] [authz_host:error] [pid 788:tid 2830832672] [client CLIENTIP:53468] AH01753: access check of 'localhost' to /img/search.svg failed, reason: unable to get the remote host name, referer: https://NCP:4443/css/ncp.css
[Tue Mar 03 16:03:55.788567 2020] [authz_host:error] [pid 788:tid 2847618080] [client CLIENTIP:53468] AH01753: access check of 'localhost' to /img/nc-button.svg failed, reason: unable to get the remote host name, referer: https://NCP:4443/css/ncp.css
[Tue Mar 03 16:03:55.788569 2020] [authz_host:error] [pid 788:tid 2830832672] [client CLIENTIP:53468] AH01753: access check of 'localhost' to /img/dashboard.svg failed, reason: unable to get the remote host name, referer: https://NCP:4443/css/ncp.css
[Tue Mar 03 16:03:55.788793 2020] [authz_host:error] [pid 788:tid 2847618080] [client CLIENTIP:53468] AH01753: access check of 'localhost' to /img/defaults-white.svg failed, reason: unable to get the remote host name, referer: https://NCP:4443/css/ncp.css
[Tue Mar 03 16:03:55.788809 2020] [authz_host:error] [pid 788:tid 2830832672] [client CLIENTIP:53468] AH01753: access check of 'localhost' to /img/settings-white.svg failed, reason: unable to get the remote host name, referer: https://NCP:4443/css/ncp.css
[Tue Mar 03 16:03:55.789001 2020] [authz_host:error] [pid 788:tid 2847618080] [client CLIENTIP:53468] AH01753: access check of 'localhost' to /img/wizard.svg failed, reason: unable to get the remote host name, referer: https://NCP:4443/css/ncp.css
[Tue Mar 03 16:03:55.789007 2020] [authz_host:error] [pid 788:tid 2830832672] [client CLIENTIP:53468] AH01753: access check of 'localhost' to /img/info-white.svg failed, reason: unable to get the remote host name, referer: https://NCP:4443/css/ncp.css
[Tue Mar 03 16:03:55.789208 2020] [authz_host:error] [pid 788:tid 2856010784] [client CLIENTIP:53468] AH01753: access check of 'localhost' to /img/poweroff.svg failed, reason: unable to get the remote host name, referer: https://NCP:4443/css/ncp.css
[Tue Mar 03 16:03:55.789208 2020] [authz_host:error] [pid 788:tid 2830832672] [client CLIENTIP:53468] AH01753: access check of 'localhost' to /img/files.svg failed, reason: unable to get the remote host name, referer: https://NCP:4443/css/ncp.css
[Tue Mar 03 16:03:59.104057 2020] [authz_host:error] [pid 788:tid 2772026400] [client CLIENTIP:53468] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Tue Mar 03 16:03:59.112695 2020] [authz_host:error] [pid 788:tid 2772026400] [client CLIENTIP:53468] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Tue Mar 03 16:04:10.581150 2020] [mpm_event:notice] [pid 785:tid 3069342224] AH00491: caught SIGTERM, shutting down
[Tue Mar 03 16:04:10.729698 2020] [ssl:warn] [pid 11171:tid 3069428240] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Tue Mar 03 16:04:10.757048 2020] [ssl:warn] [pid 11172:tid 3069428240] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Tue Mar 03 16:04:10.763193 2020] [mpm_event:notice] [pid 11172:tid 3069428240] AH00489: Apache/2.4.38 (Raspbian) OpenSSL/1.1.1d configured -- resuming normal operations
[Tue Mar 03 16:04:10.763308 2020] [core:notice] [pid 11172:tid 3069428240] AH00094: Command line: '/usr/sbin/apache2'
[Tue Mar 03 17:11:07.300544 2020] [authz_host:error] [pid 11175:tid 2755310624] [client CLIENTIP:56223] AH01753: access check of 'localhost' to /img/menu.svg failed, reason: unable to get the remote host name, referer: https://NCP:4443/css/ncp.css
[Tue Mar 03 17:11:53.104694 2020] [authz_host:error] [pid 11175:tid 2755310624] [client CLIENTIP:56321] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Tue Mar 03 17:11:53.234596 2020] [authz_host:error] [pid 11175:tid 2755310624] [client CLIENTIP:56321] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Tue Mar 03 17:11:53.234920 2020] [authz_host:error] [pid 11175:tid 2755310624] [client CLIENTIP:56321] AH01753: access check of 'localhost' to /index.php failed, reason: unable to get the remote host name
[Tue Mar 03 17:11:53.327237 2020] [authz_host:error] [pid 11175:tid 2755310624] [client CLIENTIP:56321] AH01753: access check of 'localhost' to /index.php failed, reason: unable to get the remote host name
[Tue Mar 03 17:11:54.530008 2020] [authz_host:error] [pid 11175:tid 2797315104] [client CLIENTIP:56321] AH01753: access check of 'localhost' to /img/toggle.svg failed, reason: unable to get the remote host name
[Tue Mar 03 17:11:54.561646 2020] [authz_host:error] [pid 11175:tid 2763711520] [client CLIENTIP:56321] AH01753: access check of 'localhost' to /js/ncp.js failed, reason: unable to get the remote host name
[Tue Mar 03 17:11:54.628500 2020] [authz_host:error] [pid 11175:tid 2755310624] [client CLIENTIP:56321] AH01753: access check of 'localhost' to /js/minified.js failed, reason: unable to get the remote host name
[Tue Mar 03 17:11:54.680430 2020] [authz_host:error] [pid 11175:tid 2772112416] [client CLIENTIP:56321] AH01753: access check of 'localhost' to /css/ncp.css failed, reason: unable to get the remote host name
[Tue Mar 03 17:11:54.706826 2020] [authz_host:error] [pid 11175:tid 2772112416] [client CLIENTIP:56321] AH01753: access check of 'localhost' to /img/search.svg failed, reason: unable to get the remote host name, referer: https://NCP:4443/css/ncp.css
[Tue Mar 03 17:11:54.706825 2020] [authz_host:error] [pid 11175:tid 2755310624] [client CLIENTIP:56321] AH01753: access check of 'localhost' to /img/nc-button.svg failed, reason: unable to get the remote host name, referer: https://NCP:4443/css/ncp.css
[Tue Mar 03 17:11:54.707067 2020] [authz_host:error] [pid 11175:tid 2772112416] [client CLIENTIP:56321] AH01753: access check of 'localhost' to /img/dashboard.svg failed, reason: unable to get the remote host name, referer: https://NCP:4443/css/ncp.css
[Tue Mar 03 17:11:54.707245 2020] [authz_host:error] [pid 11175:tid 2772112416] [client CLIENTIP:56321] AH01753: access check of 'localhost' to /img/defaults-white.svg failed, reason: unable to get the remote host name, referer: https://NCP:4443/css/ncp.css
[Tue Mar 03 17:11:54.707537 2020] [authz_host:error] [pid 11175:tid 2772112416] [client CLIENTIP:56321] AH01753: access check of 'localhost' to /img/settings-white.svg failed, reason: unable to get the remote host name, referer: https://NCP:4443/css/ncp.css
[Tue Mar 03 17:11:54.707879 2020] [authz_host:error] [pid 11175:tid 2772112416] [client CLIENTIP:56321] AH01753: access check of 'localhost' to /img/wizard.svg failed, reason: unable to get the remote host name, referer: https://NCP:4443/css/ncp.css
[Tue Mar 03 17:11:54.708223 2020] [authz_host:error] [pid 11175:tid 2755310624] [client CLIENTIP:56321] AH01753: access check of 'localhost' to /img/info-white.svg failed, reason: unable to get the remote host name, referer: https://NCP:4443/css/ncp.css
[Tue Mar 03 17:11:54.720600 2020] [authz_host:error] [pid 11175:tid 2772112416] [client CLIENTIP:56321] AH01753: access check of 'localhost' to /img/poweroff.svg failed, reason: unable to get the remote host name, referer: https://NCP:4443/css/ncp.css
[Tue Mar 03 17:11:54.721043 2020] [authz_host:error] [pid 11175:tid 2772112416] [client CLIENTIP:56321] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Tue Mar 03 17:11:54.721618 2020] [authz_host:error] [pid 11175:tid 2763711520] [client CLIENTIP:56321] AH01753: access check of 'localhost' to /ncp-output.php failed, reason: unable to get the remote host name
[Tue Mar 03 17:11:54.732423 2020] [authz_host:error] [pid 11175:tid 2780513312] [client CLIENTIP:56321] AH01753: access check of 'localhost' to /img/ncp-logo.svg failed, reason: unable to get the remote host name
[Tue Mar 03 17:11:54.784246 2020] [authz_host:error] [pid 11175:tid 2788914208] [client CLIENTIP:56321] AH01753: access check of 'localhost' to /img/loading-small.gif failed, reason: unable to get the remote host name
[Tue Mar 03 17:11:54.836040 2020] [authz_host:error] [pid 11175:tid 2797315104] [client CLIENTIP:56321] AH01753: access check of 'localhost' to /img/defaults.svg failed, reason: unable to get the remote host name
[Tue Mar 03 17:11:54.887872 2020] [authz_host:error] [pid 11175:tid 2805716000] [client CLIENTIP:56321] AH01753: access check of 'localhost' to /img/poweroff.svg failed, reason: unable to get the remote host name
[Tue Mar 03 17:11:54.939639 2020] [authz_host:error] [pid 11175:tid 2814116896] [client CLIENTIP:56321] AH01753: access check of 'localhost' to /img/reboot.svg failed, reason: unable to get the remote host name
[Tue Mar 03 17:11:54.991478 2020] [authz_host:error] [pid 11175:tid 2755310624] [client CLIENTIP:56321] AH01753: access check of 'localhost' to /img/files.svg failed, reason: unable to get the remote host name, referer: https://NCP:4443/css/ncp.css
[Tue Mar 03 17:11:55.188328 2020] [authz_host:error] [pid 11175:tid 2755310624] [client CLIENTIP:56321] AH01753: access check of 'localhost' to /img/favicon.png failed, reason: unable to get the remote host name
[Tue Mar 03 17:11:58.582326 2020] [authz_host:error] [pid 11175:tid 2772112416] [client CLIENTIP:56321] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Tue Mar 03 17:11:58.591379 2020] [authz_host:error] [pid 11175:tid 2772112416] [client CLIENTIP:56321] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Tue Mar 03 17:12:24.821646 2020] [authz_host:error] [pid 11175:tid 2772112416] [client CLIENTIP:56321] AH01753: access check of 'localhost' to /img/info.svg failed, reason: unable to get the remote host name, referer: https://NCP:4443/css/ncp.css
[Tue Mar 03 17:12:40.394875 2020] [authz_host:error] [pid 11175:tid 2772112416] [client CLIENTIP:56321] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Tue Mar 03 17:12:41.277067 2020] [authz_host:error] [pid 11175:tid 2772112416] [client CLIENTIP:56321] AH01753: access check of 'localhost' to /img/red-circle.svg failed, reason: unable to get the remote host name, referer: https://NCP:4443/css/ncp.css
[Tue Mar 03 17:17:12.259440 2020] [proxy_fcgi:error] [pid 11175:tid 2763711520] [client CLIENTIP:56321] AH01067: Failed to read FastCGI header
[Tue Mar 03 17:17:12.259587 2020] [proxy_fcgi:error] [pid 11175:tid 2763711520] (104)Connection reset by peer: [client CLIENTIP:56321] AH01075: Error dispatching request to :4443:
[Tue Mar 03 17:17:17.373177 2020] [authz_host:error] [pid 11175:tid 2772112416] [client CLIENTIP:56366] AH01753: access check of 'localhost' to /ncp-output.php failed, reason: unable to get the remote host name
[Tue Mar 03 17:22:00.252859 2020] [proxy_fcgi:error] [pid 11175:tid 2772112416] [client CLIENTIP:56366] AH01067: Failed to read FastCGI header
[Tue Mar 03 17:22:00.252999 2020] [proxy_fcgi:error] [pid 11175:tid 2772112416] (104)Connection reset by peer: [client CLIENTIP:56366] AH01075: Error dispatching request to :4443:
[Tue Mar 03 17:22:05.365157 2020] [authz_host:error] [pid 11174:tid 2755310624] [client CLIENTIP:56482] AH01753: access check of 'localhost' to /ncp-output.php failed, reason: unable to get the remote host name

try going to commandline and doing
something like sudo -u www-data php occ upgrade (pls check exactly with manual) manually.

usually you’d come up with a running system.

afterwards go to your admin account and check for errors. there might be a few ones… easy to solve.

good luck

1 Like

Thanks but I managed to fix it by fixing the permissions of occ. It was somehow changed and I wasn’t able to run it correctly.

1 Like