[Solved] Blank Page - First Time Running

Hi!

I’ve been trying to get my server together, but it’s though. I have made everything, created an admin with database and everything, but when I want to access the server, it gives me a blank page.

I run on Raspbian, 2TB HDD, Apache2, PHP7 and Nextcould 12.

I’ve looked around and it seems to be due to PHP7 not working correctly(?). I’ve tried to reinstall PHP and its modules, but to no avail.

I’m a novice when it comes to working in Linux environment. I will try my best to assist with additional information if needed.

Thanks in advance.

What installation guide did you follow?
Could you please post the nextcloud.log (in NC data directory), the web server log and web server error log?

Let’s see if we can find some hints there.

Hi, thank you for answering.

I will update this for the next hour or so. I don’t know how to display it fancy (easy to read) on the forum, bear with me. Thanks.

The guide I followed was https://www.raspberrypi.org/forums/viewtopic.php?t=160874. I skip the part with the HDD because for some reason it just didn’t work for me and after investing much time trying to solve it, I moved on. The version of NextCloud in the guide is v.10 but I choose v.12 (note, the guide is from 2016).

NextCloud Log:

{"reqId":"dsqHKEhVLESfuAcEtYE6","level":3,"time":"2018-01-19T12:40:07+00:00","remoteAddr":"193.150.221.156","user":"--","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/apps\/files\/","message":"OC\\HintException: Memcache \\OC\\Memcache\\APC not available for local cache at \/var\/www\/nextcloud\/lib\/private\/Memcache\/Factory.php#96","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.0.29"}
{"reqId":"ME5u4tSKSTXm4LI7pPzH","level":3,"time":"2018-01-19T12:41:18+00:00","remoteAddr":"193.150.221.156","user":"--","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/apps\/files\/","message":"OC\\HintException: Memcache \\OC\\Memcache\\APC not available for local cache at \/var\/www\/nextcloud\/lib\/private\/Memcache\/Factory.php#96","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.0.29"}
{"reqId":"6vRSWMHKDZ3zEVp0xA2x","level":3,"time":"2018-01-19T12:41:20+00:00","remoteAddr":"193.150.221.156","user":"--","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/apps\/files\/","message":"OC\\HintException: Memcache \\OC\\Memcache\\APC not available for local cache at \/var\/www\/nextcloud\/lib\/private\/Memcache\/Factory.php#96","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.0.29"}
{"reqId":"l6uCieDZ0e6YYXlciKi3","level":3,"time":"2018-01-19T12:41:21+00:00","remoteAddr":"193.150.221.156","user":"--","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/apps\/files\/","message":"OC\\HintException: Memcache \\OC\\Memcache\\APC not available for local cache at \/var\/www\/nextcloud\/lib\/private\/Memcache\/Factory.php#96","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.0.29"}
{"reqId":"dqmqPikTUoLjoiXdoOIL","level":3,"time":"2018-01-19T12:41:26+00:00","remoteAddr":"193.150.221.156","user":"--","app":"PHP","method":"GET","url":"\/nextcloud\/","message":"OC\\HintException: Memcache \\OC\\Memcache\\APC not available for local cache at \/var\/www\/nextcloud\/lib\/private\/Memcache\/Factory.php#96","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.0.29"}
{"reqId":"9N0cm61zCpdDCbS0IOsP","level":3,"time":"2018-01-19T12:41:50+00:00","remoteAddr":"193.150.221.156","user":"--","app":"PHP","method":"GET","url":"\/nextcloud\/index.php","message":"OC\\HintException: Memcache \\OC\\Memcache\\APC not available for local cache at \/var\/www\/nextcloud\/lib\/private\/Memcache\/Factory.php#96","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.0.29"}
{"reqId":"rTDe2ybbMW3y15hGOdu1","level":3,"time":"2018-01-19T12:41:53+00:00","remoteAddr":"193.150.221.156","user":"--","app":"PHP","method":"GET","url":"\/nextcloud\/index.php","message":"OC\\HintException: Memcache \\OC\\Memcache\\APC not available for local cache at \/var\/www\/nextcloud\/lib\/private\/Memcache\/Factory.php#96","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.0.29"}
{"reqId":"sK0aoPVYGEYMSFnfCODa","level":3,"time":"2018-01-19T12:41:55+00:00","remoteAddr":"193.150.221.156","user":"--","app":"PHP","method":"GET","url":"\/nextcloud\/index.php","message":"OC\\HintException: Memcache \\OC\\Memcache\\APC not available for local cache at \/var\/www\/nextcloud\/lib\/private\/Memcache\/Factory.php#96","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.0.29"}
{"reqId":"g82vC9Zwyh2MBbuXPLaH","level":3,"time":"2018-01-19T12:43:42+00:00","remoteAddr":"193.150.221.156","user":"--","app":"PHP","method":"GET","url":"\/nextcloud\/","message":"OC\\HintException: Memcache \\OC\\Memcache\\APC not available for local cache at \/var\/www\/nextcloud\/lib\/private\/Memcache\/Factory.php#96","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.0.29"}
{"reqId":"O6hSEdR9bA2haMMkGR8W","level":3,"time":"2018-01-19T12:50:05+00:00","remoteAddr":"193.150.221.156","user":"abc","app":"index","method":"GET","url":"\/nextcloud\/index.php\/apps\/files\/","message":"Exception: {\"Exception\":\"Doctrine\\\\DBAL\\\\Exception\\\\UniqueConstraintViolationException\",\"Message\":\"An exception occurred while executing 'INSERT INTO `oc_filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checks$
{"reqId":"DXBiE0zSkN3dc7m6WCAr","level":3,"time":"2018-01-19T12:50:10+00:00","remoteAddr":"193.150.221.156","user":"abc","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/apps\/files\/","message":"Invalid argument supplied for foreach() at \/var\/www\/nextcloud\/lib\/private\/Template\/JSCombiner.php#107","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.0.29"}
{"reqId":"TtZYYu6tTSPEBhZFgW0a","level":3,"time":"2018-01-19T12:50:11+00:00","remoteAddr":"193.150.221.156","user":"abc","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/apps\/files\/","message":"Invalid argument supplied for foreach() at \/var\/www\/nextcloud\/lib\/private\/Template\/JSCombiner.php#107","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.0.29"}
{"reqId":"O6hSEdR9bA2haMMkGR8W","level":3,"time":"2018-01-19T12:51:52+00:00","remoteAddr":"193.150.221.156","user":"abc","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/apps\/files\/","message":"Invalid argument supplied for foreach() at \/var\/www\/nextcloud\/lib\/private\/Template\/SCSSCacher.php#145","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.0.29"}
{"reqId":"SZGhcnqvQMAAR42vAjWF","level":3,"time":"2018-01-19T12:51:52+00:00","remoteAddr":"193.150.221.156","user":"--","app":"PHP","method":"GET","url":"\/nextcloud\/","message":"OC\\HintException: Memcache \\OC\\Memcache\\APC not available for local cache at \/var\/www\/nextcloud\/lib\/private\/Memcache\/Factory.php#96","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.0.29"}
{"reqId":"dWpAu3nvrauDfgHEPjx1","level":3,"time":"2018-01-19T12:59:45+00:00","remoteAddr":"193.150.221.156","user":"--","app":"PHP","method":"GET","url":"\/nextcloud\/","message":"OC\\HintException: Memcache \\OC\\Memcache\\APC not available for local cache at \/var\/www\/nextcloud\/lib\/private\/Memcache\/Factory.php#96","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.0.29"}
{"reqId":"BVW4nY0bjCAzEZqT71o6","level":3,"time":"2018-01-19T13:34:17+00:00","remoteAddr":"193.150.221.156","user":"--","app":"PHP","method":"GET","url":"\/nextcloud\/","message":"OC\\HintException: Memcache \\OC\\Memcache\\APC not available for local cache at \/var\/www\/nextcloud\/lib\/private\/Memcache\/Factory.php#96","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.0.29"}
{"reqId":"Q5IQj7avSteuoSs5nUxi","level":3,"time":"2018-01-19T14:52:36+00:00","remoteAddr":"193.150.221.156","user":"--","app":"PHP","method":"GET","url":"\/nextcloud\/","message":"OC\\HintException: Memcache \\OC\\Memcache\\APC not available for local cache at \/var\/www\/nextcloud\/lib\/private\/Memcache\/Factory.php#96","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.0.29"}
{"reqId":"o95z6n4bqJ969X6nnoDX","level":3,"time":"2018-01-19T15:51:03+00:00","remoteAddr":"193.150.221.156","user":"--","app":"PHP","method":"GET","url":"\/nextcloud\/","message":"OC\\HintException: Memcache \\OC\\Memcache\\APC not available for local cache at \/var\/www\/nextcloud\/lib\/private\/Memcache\/Factory.php#96","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.0.29"}
{"reqId":"jhvUfmCkvfVzFRQqJ1qO","level":3,"time":"2018-01-19T15:51:06+00:00","remoteAddr":"193.150.221.156","user":"--","app":"PHP","method":"GET","url":"\/nextcloud\/","message":"OC\\HintException: Memcache \\OC\\Memcache\\APC not available for local cache at \/var\/www\/nextcloud\/lib\/private\/Memcache\/Factory.php#96","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.0.29"}

Apache2 Error Log:

[Fri Jan 19 09:47:00.812805 2018] [mpm_event:notice] [pid 1297:tid 1995616256] AH00489: Apache/2.4.25 (Raspbian) configured -- resuming normal operations
[Fri Jan 19 09:47:00.813164 2018] [core:notice] [pid 1297:tid 1995616256] AH00094: Command line: '/usr/sbin/apache2'
[Fri Jan 19 10:00:14.392194 2018] [mpm_event:notice] [pid 1297:tid 1995616256] AH00493: SIGUSR1 received.  Doing graceful restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Fri Jan 19 10:00:14.408518 2018] [mpm_event:notice] [pid 1297:tid 1995616256] AH00489: Apache/2.4.25 (Raspbian) configured -- resuming normal operations
[Fri Jan 19 10:00:14.408571 2018] [core:notice] [pid 1297:tid 1995616256] AH00094: Command line: '/usr/sbin/apache2'
[Fri Jan 19 10:00:16.838568 2018] [mpm_event:notice] [pid 1297:tid 1995616256] AH00493: SIGUSR1 received.  Doing graceful restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Fri Jan 19 10:00:16.867515 2018] [mpm_event:notice] [pid 1297:tid 1995616256] AH00489: Apache/2.4.25 (Raspbian) configured -- resuming normal operations
[Fri Jan 19 10:00:16.867574 2018] [core:notice] [pid 1297:tid 1995616256] AH00094: Command line: '/usr/sbin/apache2'
[Fri Jan 19 10:00:35.055497 2018] [mpm_event:notice] [pid 1297:tid 1995616256] AH00493: SIGUSR1 received.  Doing graceful restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Fri Jan 19 10:00:35.073398 2018] [mpm_event:notice] [pid 1297:tid 1995616256] AH00489: Apache/2.4.25 (Raspbian) configured -- resuming normal operations
[Fri Jan 19 10:00:35.073450 2018] [core:notice] [pid 1297:tid 1995616256] AH00094: Command line: '/usr/sbin/apache2'
[Fri Jan 19 10:02:01.941744 2018] [mpm_event:notice] [pid 1297:tid 1995616256] AH00493: SIGUSR1 received.  Doing graceful restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Fri Jan 19 10:02:01.958407 2018] [mpm_event:notice] [pid 1297:tid 1995616256] AH00489: Apache/2.4.25 (Raspbian) configured -- resuming normal operations
[Fri Jan 19 10:02:01.958442 2018] [core:notice] [pid 1297:tid 1995616256] AH00094: Command line: '/usr/sbin/apache2'
[Fri Jan 19 10:09:49.093579 2018] [mpm_event:notice] [pid 1297:tid 1995616256] AH00493: SIGUSR1 received.  Doing graceful restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Fri Jan 19 10:09:49.150133 2018] [ssl:warn] [pid 1297:tid 1995616256] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jan 19 10:09:49.150601 2018] [mpm_event:notice] [pid 1297:tid 1995616256] AH00489: Apache/2.4.25 (Raspbian) OpenSSL/1.0.2l configured -- resuming normal operations
[Fri Jan 19 10:09:49.150633 2018] [core:notice] [pid 1297:tid 1995616256] AH00094: Command line: '/usr/sbin/apache2'
[Fri Jan 19 10:27:26.023862 2018] [mpm_event:notice] [pid 1297:tid 1995616256] AH00491: caught SIGTERM, shutting down
[Fri Jan 19 10:27:43.948010 2018] [ssl:warn] [pid 530:tid 1996378112] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jan 19 10:27:44.064975 2018] [ssl:warn] [pid 610:tid 1996378112] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jan 19 10:27:44.070783 2018] [mpm_event:notice] [pid 610:tid 1996378112] AH00489: Apache/2.4.25 (Raspbian) OpenSSL/1.0.2l configured -- resuming normal operations
[Fri Jan 19 10:27:44.071041 2018] [core:notice] [pid 610:tid 1996378112] AH00094: Command line: '/usr/sbin/apache2'
[Fri Jan 19 10:31:04.198228 2018] [authz_core:error] [pid 624:tid 1832907824] [client 193.150.221.156:59430] AH01630: client denied by server configuration: /var/www/nextcloud/data/htaccesstest.txt
[Fri Jan 19 10:31:59.365172 2018] [authz_core:error] [pid 620:tid 1849685040] [client 193.150.221.156:59432] AH01630: client denied by server configuration: /var/www/nextcloud/data/htaccesstest.txt
[Fri Jan 19 10:32:20.880446 2018] [authz_core:error] [pid 624:tid 1916793904] [client 193.150.221.156:59434] AH01630: client denied by server configuration: /var/www/nextcloud/data/htaccesstest.txt
[Fri Jan 19 10:34:20.040180 2018] [authz_core:error] [pid 624:tid 1891628080] [client 193.150.221.156:59436] AH01630: client denied by server configuration: /var/www/nextcloud/data/htaccesstest.txt
[Fri Jan 19 10:35:24.227759 2018] [proxy_fcgi:error] [pid 620:tid 1883239472] (70007)The timeout specified has expired: [client 193.150.221.156:56476] AH01075: Error dispatching request to : (polling)
[Fri Jan 19 10:35:45.296222 2018] [authz_core:error] [pid 620:tid 1807742000] [client 193.150.221.156:59438] AH01630: client denied by server configuration: /var/www/nextcloud/data/htaccesstest.txt
[Fri Jan 19 10:39:05.623894 2018] [authz_core:error] [pid 620:tid 1790964784] [client 193.150.221.156:59440] AH01630: client denied by server configuration: /var/www/nextcloud/data/htaccesstest.txt
[Fri Jan 19 10:40:06.091147 2018] [authz_core:error] [pid 624:tid 1925182512] [client 193.150.221.156:59442] AH01630: client denied by server configuration: /var/www/nextcloud/data/htaccesstest.txt
[Fri Jan 19 10:40:45.264065 2018] [proxy_fcgi:error] [pid 620:tid 1816130608] (70007)The timeout specified has expired: [client 193.150.221.156:56517] AH01075: Error dispatching request to : (polling)
[Fri Jan 19 10:40:56.313678 2018] [authz_core:error] [pid 620:tid 1950348336] [client 193.150.221.156:59444] AH01630: client denied by server configuration: /var/www/nextcloud/data/htaccesstest.txt
[Fri Jan 19 10:45:48.543863 2018] [mpm_event:notice] [pid 610:tid 1996378112] AH00491: caught SIGTERM, shutting down
[Fri Jan 19 10:46:07.201341 2018] [ssl:warn] [pid 533:tid 1996165120] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jan 19 10:46:07.308315 2018] [ssl:warn] [pid 559:tid 1996165120] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jan 19 10:46:07.313770 2018] [mpm_event:notice] [pid 559:tid 1996165120] AH00489: Apache/2.4.25 (Raspbian) OpenSSL/1.0.2l configured -- resuming normal operations
[Fri Jan 19 10:46:07.313950 2018] [core:notice] [pid 559:tid 1996165120] AH00094: Command line: '/usr/sbin/apache2'
[Fri Jan 19 10:48:35.672623 2018] [authz_core:error] [pid 571:tid 1925182512] [client 192.168.0.15:37126] AH01630: client denied by server configuration: /var/www/nextcloud/data/htaccesstest.txt
[Fri Jan 19 10:49:40.082895 2018] [authz_core:error] [pid 571:tid 1908405296] [client 192.168.0.15:37128] AH01630: client denied by server configuration: /var/www/nextcloud/data/htaccesstest.txt
[Fri Jan 19 10:53:45.790132 2018] [authz_core:error] [pid 571:tid 1824519216] [client 192.168.0.15:37130] AH01630: client denied by server configuration: /var/www/nextcloud/data/htaccesstest.txt
[Fri Jan 19 10:54:20.660463 2018] [authz_core:error] [pid 571:tid 1799353392] [client 192.168.0.15:37132] AH01630: client denied by server configuration: /var/www/nextcloud/data/htaccesstest.txt
[Fri Jan 19 11:09:22.312498 2018] [authz_core:error] [pid 571:tid 1824519216] [client 193.150.221.156:45240] AH01630: client denied by server configuration: /var/www/nextcloud/data/htaccesstest.txt
[Fri Jan 19 11:20:50.383394 2018] [authz_core:error] [pid 571:tid 1858073648] [client 193.150.221.156:45242] AH01630: client denied by server configuration: /var/www/nextcloud/data/htaccesstest.txt
[Fri Jan 19 11:20:58.912910 2018] [authz_core:error] [pid 571:tid 1824519216] [client 193.150.221.156:45244] AH01630: client denied by server configuration: /var/www/nextcloud/data/htaccesstest.txt
[Fri Jan 19 11:21:39.875021 2018] [authz_core:error] [pid 571:tid 1816130608] [client 193.150.221.156:45246] AH01630: client denied by server configuration: /var/www/nextcloud/data/htaccesstest.txt
[Fri Jan 19 11:21:48.699686 2018] [mpm_event:notice] [pid 559:tid 1996165120] AH00491: caught SIGTERM, shutting down
[Fri Jan 19 11:22:11.142214 2018] [ssl:warn] [pid 566:tid 1996017664] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jan 19 11:22:11.245205 2018] [ssl:warn] [pid 652:tid 1996017664] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jan 19 11:22:11.250640 2018] [mpm_event:notice] [pid 652:tid 1996017664] AH00489: Apache/2.4.25 (Raspbian) OpenSSL/1.0.2l configured -- resuming normal operations
[Fri Jan 19 11:22:11.250866 2018] [core:notice] [pid 652:tid 1996017664] AH00094: Command line: '/usr/sbin/apache2'
[Fri Jan 19 11:24:16.391519 2018] [authz_core:error] [pid 653:tid 1975514160] [client 193.150.221.156:55904] AH01630: client denied by server configuration: /var/www/nextcloud/data/htaccesstest.txt
[Fri Jan 19 11:24:47.966082 2018] [authz_core:error] [pid 653:tid 1958736944] [client 193.150.221.156:55906] AH01630: client denied by server configuration: /var/www/nextcloud/data/htaccesstest.txt

Pardon my ignorance, but which is the web server log? Is it that of NC, or is it PHP / Apache?

EDIT: Is the Web Server Log the access.log?

Here we have it already. Please read about Memcache and APC. That is missing.

ummmm that should be solvable…

though i have a few questions.

  • have you heard of something called nextcloudpi, already? - it will definitly help you getting NC installed easy and with a sane and safe set-up.
  • aren’t here in the forum some nice how-to’s available about how to setup NC with a rp3? why do you rely upon external sources?

good luck in getting your problems fixed

cheers
jimmy

Manage to fix it, thanks for the help!

1 Like