@JasonBayton, @tflidd and @MichaIng
To make sure I did this right according to your guide I reinstalled Ubuntu and started fresh. All Iāve done is what the guide instructs, as far as I am aware.
See images @ imgur
I ran sudo less /var/log/apache2/error.log and this is what it states
[Fri Aug 25 04:59:51.186590 2017] [mpm_event:notice] [pid 13883:tid 139729613387648] AH00489: Apache/2.4.18 (Ubuntu) confi
gured -- resuming normal operations
[Fri Aug 25 04:59:51.186658 2017] [core:notice] [pid 13883:tid 139729613387648] AH00094: Command line: '/usr/sbin/apache2'
[Fri Aug 25 05:00:36.286781 2017] [mpm_event:notice] [pid 13883:tid 139729613387648] AH00491: caught SIGTERM, shutting dow
n
[Fri Aug 25 05:00:37.353214 2017] [mpm_prefork:notice] [pid 20084] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming
normal operations
[Fri Aug 25 05:00:37.353288 2017] [core:notice] [pid 20084] AH00094: Command line: '/usr/sbin/apache2'
[Fri Aug 25 05:00:38.746961 2017] [mpm_prefork:notice] [pid 20084] AH00169: caught SIGTERM, shutting down
[Fri Aug 25 05:00:39.840025 2017] [mpm_prefork:notice] [pid 20195] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming
normal operations
[Fri Aug 25 05:00:39.840071 2017] [core:notice] [pid 20195] AH00094: Command line: '/usr/sbin/apache2'
[Fri Aug 25 05:03:12.921978 2017] [mpm_prefork:notice] [pid 20195] AH00169: caught SIGTERM, shutting down
[Fri Aug 25 05:03:14.070067 2017] [mpm_prefork:notice] [pid 25215] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming
normal operations
[Fri Aug 25 05:03:14.070128 2017] [core:notice] [pid 25215] AH00094: Command line: '/usr/sbin/apache2'
[Fri Aug 25 05:26:41.325893 2017] [:error] [pid 25220] [client 127.0.0.1:55868] PHP Warning: fileperms(): stat failed for
/var/www/html/nextcloud/data/nextcloud.log in /var/www/html/nextcloud/lib/private/Log/File.php on line 122
[Fri Aug 25 05:26:41.338368 2017] [:error] [pid 25220] [client 127.0.0.1:55868] {"reqId":"xPHTyBm3hRDTy5D1u01U","level":3,
"time":"2017-08-24T19:26:41+00:00","remoteAddr":"127.0.0.1","user":"Simon","app":"PHP","method":"GET","url":"\\/nextcloud\
\/ocs\\/v2.php\\/apps\\/notifications\\/api\\/v2\\/notifications","message":"file_get_contents(\\/var\\/www\\/html\\/nextc
loud\\/data\\/appdata_ocni87y8cvqu\\/js\\/core\\/merged-template-prepend.js.deps): failed to open stream: No such file or
directory at \\/var\\/www\\/html\\/nextcloud\\/lib\\/private\\/Files\\/Storage\\/Local.php#209","userAgent":"Mozilla\\/5.0
(Windows NT 6.2; rv:50.0) Gecko\\/20100101 Firefox\\/50.0","version":"12.0.2.0"}
[Fri Aug 25 05:26:41.338583 2017] [:error] [pid 25220] [client 127.0.0.1:55868] PHP Warning: fileperms(): stat failed for
/var/www/html/nextcloud/data/nextcloud.log in /var/www/html/nextcloud/lib/private/Log/File.php on line 122
[Fri Aug 25 05:26:41.338603 2017] [:error] [pid 25220] [client 127.0.0.1:55868] {"reqId":"xPHTyBm3hRDTy5D1u01U","level":3,
"time":"2017-08-24T19:26:41+00:00","remoteAddr":"127.0.0.1","user":"Simon","app":"PHP","method":"GET","url":"\\/nextcloud\
\/ocs\\/v2.php\\/apps\\/notifications\\/api\\/v2\\/notifications","message":"Invalid argument supplied for foreach() at \\
/var\\/www\\/html\\/nextcloud\\/lib\\/private\\/Template\\/JSCombiner.php#107","userAgent":"Mozilla\\/5.0 (Windows NT 6.2;
rv:50.0) Gecko\\/20100101 Firefox\\/50.0","version":"12.0.2.0"}
[Fri Aug 25 05:26:41.351878 2017] [:error] [pid 25220] [client 127.0.0.1:55868] PHP Warning: fileperms(): stat failed for
/var/www/html/nextcloud/data/nextcloud.log in /var/www/html/nextcloud/lib/private/Log/File.php on line 122
[Fri Aug 25 05:26:41.351908 2017] [:error] [pid 25220] [client 127.0.0.1:55868] {"reqId":"xPHTyBm3hRDTy5D1u01U","level":3,
"time":"2017-08-24T19:26:41+00:00","remoteAddr":"127.0.0.1","user":"Simon","app":"PHP","method":"GET","url":"\\/nextcloud\
\/ocs\\/v2.php\\/apps\\/notifications\\/api\\/v2\\/notifications","message":"file_get_contents(\\/var\\/www\\/html\\/nextc
loud\\/data\\/appdata_ocni87y8cvqu\\/css\\/core\\/8422af5e95175a58af85864ca60d24f1-server.css.deps): failed to open stream: No such file or directory at \\/var\\/www\\/html\\/nextcloud\\/lib\\/private\\/Files\\/Storage\\/Local.php#209","userAge
nt":"Mozilla\\/5.0 (Windows NT 6.2; rv:50.0) Gecko\\/20100101 Firefox\\/50.0","version":"12.0.2.0"}
[Fri Aug 25 05:26:41.352070 2017] [:error] [pid 25220] [client 127.0.0.1:55868] PHP Warning: fileperms(): stat failed for
/var/www/html/nextcloud/data/nextcloud.log in /var/www/html/nextcloud/lib/private/Log/File.php on line 122
[Fri Aug 25 05:26:41.352104 2017] [:error] [pid 25220] [client 127.0.0.1:55868] {"reqId":"xPHTyBm3hRDTy5D1u01U","level":3,
"time":"2017-08-24T19:26:41+00:00","remoteAddr":"127.0.0.1","user":"Simon","app":"PHP","method":"GET","url":"\\/nextcloud\
\/ocs\\/v2.php\\/apps\\/notifications\\/api\\/v2\\/notifications","message":"Invalid argument supplied for foreach() at \\
/var\\/www\\/html\\/nextcloud\\/lib\\/private\\/Template\\/SCSSCacher.php#145","userAgent":"Mozilla\\/5.0 (Windows NT 6.2;
rv:50.0) Gecko\\/20100101 Firefox\\/50.0","version":"12.0.2.0"}
[Fri Aug 25 05:26:41.355749 2017] [:error] [pid 25220] [client 127.0.0.1:55868] PHP Warning: fileperms(): stat failed for
/var/www/html/nextcloud/data/nextcloud.log in /var/www/html/nextcloud/lib/private/Log/File.php on line 122
[Fri Aug 25 05:26:41.355771 2017] [:error] [pid 25220] [client 127.0.0.1:55868] {"reqId":"xPHTyBm3hRDTy5D1u01U","level":3,
"time":"2017-08-24T19:26:41+00:00","remoteAddr":"127.0.0.1","user":"Simon","app":"PHP","method":"GET","url":"\\/nextcloud\
\/ocs\\/v2.php\\/apps\\/notifications\\/api\\/v2\\/notifications","message":"file_get_contents(\\/var\\/www\\/html\\/nextc
loud\\/data\\/appdata_ocni87y8cvqu\\/css\\/core\\/8422af5e95175a58af85864ca60d24f1-share.css.deps): failed to open stream:
No such file or directory at \\/var\\/www\\/html\\/nextcloud\\/lib\\/private\\/Files\\/Storage\\/Local.php#209","userAgen
t":"Mozilla\\/5.0 (Windows NT 6.2; rv:50.0) Gecko\\/20100101 Firefox\\/50.0","version":"12.0.2.0"}
[Fri Aug 25 05:26:41.355931 2017] [:error] [pid 25220] [client 127.0.0.1:55868] PHP Warning: fileperms(): stat failed for
/var/www/html/nextcloud/data/nextcloud.log in /var/www/html/nextcloud/lib/private/Log/File.php on line 122
[Fri Aug 25 05:26:41.355948 2017] [:error] [pid 25220] [client 127.0.0.1:55868] {"reqId":"xPHTyBm3hRDTy5D1u01U","level":3,
"time":"2017-08-24T19:26:41+00:00","remoteAddr":"127.0.0.1","user":"Simon","app":"PHP","method":"GET","url":"\\/nextcloud\
\/ocs\\/v2.php\\/apps\\/notifications\\/api\\/v2\\/notifications","message":"Invalid argument supplied for foreach() at \\
/var\\/www\\/html\\/nextcloud\\/lib\\/private\\/Template\\/SCSSCacher.php#145","userAgent":"Mozilla\\/5.0 (Windows NT 6.2;
rv:50.0) Gecko\\/20100101 Firefox\\/50.0","version":"12.0.2.0"}
[Fri Aug 25 05:26:41.356930 2017] [:error] [pid 25220] [client 127.0.0.1:55868] PHP Warning: fileperms(): stat failed for
/var/www/html/nextcloud/data/nextcloud.log in /var/www/html/nextcloud/lib/private/Log/File.php on line 122
[Fri Aug 25 05:26:41.356951 2017] [:error] [pid 25220] [client 127.0.0.1:55868] {"reqId":"xPHTyBm3hRDTy5D1u01U","level":3,
"time":"2017-08-24T19:26:41+00:00","remoteAddr":"127.0.0.1","user":"Simon","app":"PHP","method":"GET","url":"\\/nextcloud\
\/ocs\\/v2.php\\/apps\\/notifications\\/api\\/v2\\/notifications","message":"fileperms(): stat failed for \\/var\\/www\\/h
tml\\/nextcloud\\/data\\/nextcloud.log at \\/var\\/www\\/html\\/nextcloud\\/lib\\/private\\/Log\\/File.php#122","userAgent
":"Mozilla\\/5.0 (Windows NT 6.2; rv:50.0) Gecko\\/20100101 Firefox\\/50.0","version":"12.0.2.0"}
[Fri Aug 25 05:26:41.356973 2017] [:error] [pid 25220] [client 127.0.0.1:55868] {"reqId":"xPHTyBm3hRDTy5D1u01U","level":3,
"time":"2017-08-24T19:26:41+00:00","remoteAddr":"127.0.0.1","user":"Simon","app":"PHP","method":"GET","url":"\\/nextcloud\
\/ocs\\/v2.php\\/apps\\/notifications\\/api\\/v2\\/notifications","message":"chmod(): No such file or directory at \\/var\
\/www\\/html\\/nextcloud\\/lib\\/private\\/Log\\/File.php#123","userAgent":"Mozilla\\/5.0 (Windows NT 6.2; rv:50.0) Gecko\
\/20100101 Firefox\\/50.0","version":"12.0.2.0"}
[Fri Aug 25 05:33:20.359507 2017] [mpm_prefork:notice] [pid 25215] AH00169: caught SIGTERM, shutting down
[Fri Aug 25 05:33:21.801947 2017] [mpm_prefork:notice] [pid 26388] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming
normal operations
[Fri Aug 25 05:33:21.802009 2017] [core:notice] [pid 26388] AH00094: Command line: '/usr/sbin/apache2'
[Fri Aug 25 05:38:41.581229 2017] [:error] [pid 26391] [client 127.0.0.1:55948] PHP Warning: fileperms(): stat failed for
/var/www/html/nextcloud/data/nextcloud.log in /var/www/html/nextcloud/lib/private/Log/File.php on line 122
[Fri Aug 25 05:38:41.581277 2017] [:error] [pid 26391] [client 127.0.0.1:55948] {"reqId":"neJKSm6Qb0WDn8L0v1pE","level":3,
"time":"2017-08-24T19:38:41+00:00","remoteAddr":"127.0.0.1","user":"Simon","app":"PHP","method":"POST","url":"\\/nextcloud
\\/index.php\\/heartbeat","message":"file_get_contents(\\/var\\/www\\/html\\/nextcloud\\/data\\/appdata_ocni87y8cvqu\\/js\
\/core\\/merged-template-prepend.js.deps): failed to open stream: No such file or directory at \\/var\\/www\\/html\\/nextc
loud\\/lib\\/private\\/Files\\/Storage\\/Local.php#209","userAgent":"Mozilla\\/5.0 (Windows NT 6.2; rv:50.0) Gecko\\/20100
101 Firefox\\/50.0","version":"12.0.2.0"}
[Fri Aug 25 05:38:41.603760 2017] [:error] [pid 26391] [client 127.0.0.1:55948] PHP Warning: fileperms(): stat failed for /var/www/html/nextcloud/data/nextcloud.log in /var/www/html/nextcloud/lib/private/Log/File.php on line 122
[Fri Aug 25 05:38:41.603778 2017] [:error] [pid 26391] [client 127.0.0.1:55948] {"reqId":"neJKSm6Qb0WDn8L0v1pE","level":3,"time":"2017-08-24T19:38:41+00:00","remoteAddr":"127.0.0.1","user":"Simon","app":"PHP","method":"POST","url":"\\/nextcloud\\/index.php\\/heartbeat","message":"file_get_contents(\\/var\\/www\\/html\\/nextcloud\\/data\\/appdata_ocni87y8cvqu\\/css\\/core\\/8422af5e95175a58af85864ca60d24f1-share.css.deps): failed to open stream: No such file or directory at \\/var\\/www\\/html\\/nextcloud\\/lib\\/private\\/Files\\/Storage\\/Local.php#209","userAgent":"Mozilla\\/5.0 (Windows NT 6.2; rv:50.0) Gecko\\/20100101 Firefox\\/50.0","version":"12.0.2.0"}
[Fri Aug 25 05:38:41.603897 2017] [:error] [pid 26391] [client 127.0.0.1:55948] PHP Warning: fileperms(): stat failed for /var/www/html/nextcloud/data/nextcloud.log in /var/www/html/nextcloud/lib/private/Log/File.php on line 122
[Fri Aug 25 05:38:41.603907 2017] [:error] [pid 26391] [client 127.0.0.1:55948] {"reqId":"neJKSm6Qb0WDn8L0v1pE","level":3,"time":"2017-08-24T19:38:41+00:00","remoteAddr":"127.0.0.1","user":"Simon","app":"PHP","method":"POST","url":"\\/nextcloud\\/index.php\\/heartbeat","message":"Invalid argument supplied for foreach() at \\/var\\/www\\/html\\/nextcloud\\/lib\\/private\\/Template\\/SCSSCacher.php#145","userAgent":"Mozilla\\/5.0 (Windows NT 6.2; rv:50.0) Gecko\\/20100101 Firefox\\/50.0","version":"12.0.2.0"}
[Fri Aug 25 05:38:41.604806 2017] [:error] [pid 26391] [client 127.0.0.1:55948] PHP Warning: fileperms(): stat failed for /var/www/html/nextcloud/data/nextcloud.log in /var/www/html/nextcloud/lib/private/Log/File.php on line 122
[Fri Aug 25 05:38:41.604819 2017] [:error] [pid 26391] [client 127.0.0.1:55948] {"reqId":"neJKSm6Qb0WDn8L0v1pE","level":3,"time":"2017-08-24T19:38:41+00:00","remoteAddr":"127.0.0.1","user":"Simon","app":"PHP","method":"POST","url":"\\/nextcloud\\/index.php\\/heartbeat","message":"fileperms(): stat failed for \\/var\\/www\\/html\\/nextcloud\\/data\\/nextcloud.log at \\/var\\/www\\/html\\/nextcloud\\/lib\\/private\\/Log\\/File.php#122","userAgent":"Mozilla\\/5.0 (Windows NT 6.2; rv:50.0) Gecko\\/20100101 Firefox\\/50.0","version":"12.0.2.0"}
[Fri Aug 25 05:38:41.604832 2017] [:error] [pid 26391] [client 127.0.0.1:55948] {"reqId":"neJKSm6Qb0WDn8L0v1pE","level":3,"time":"2017-08-24T19:38:41+00:00","remoteAddr":"127.0.0.1","user":"Simon","app":"PHP","method":"POST","url":"\\/nextcloud\\/index.php\\/heartbeat","message":"chmod(): No such file or directory at \\/var\\/www\\/html\\/nextcloud\\/lib\\/private\\/Log\\/File.php#123","userAgent":"Mozilla\\/5.0 (Windows NT 6.2; rv:50.0) Gecko\\/20100101 Firefox\\/50.0","version":"12.0.2.0"}
[Fri Aug 25 05:44:24.881794 2017] [mpm_prefork:notice] [pid 26388] AH00169: caught SIGTERM, shutting down
[Fri Aug 25 05:44:25.987101 2017] [mpm_prefork:notice] [pid 26512] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Fri Aug 25 05:44:25.987154 2017] [core:notice] [pid 26512] AH00094: Command line: '/usr/sbin/apache2'
[Fri Aug 25 05:47:51.099437 2017] [:error] [pid 26515] [client 127.0.0.1:55956] PHP Fatal error: Uncaught Error: Call to a member function getLogger() on null in /var/www/html/nextcloud/index.php:69\nStack trace:\n#0 {main}\n thrown in /var/www/html/nextcloud/index.php on line 69
[Fri Aug 25 05:47:58.454174 2017] [:error] [pid 26516] [client 127.0.0.1:55958] PHP Fatal error: Uncaught Error: Call to a member function getLogger() on null in /var/www/html/nextcloud/index.php:69\nStack trace:\n#0 {main}\n thrown in /var/www/html/nextcloud/index.php on line 69
[Fri Aug 25 05:48:10.802247 2017] [:error] [pid 26517] [client 127.0.0.1:55960] PHP Fatal error: Uncaught Error: Call to a member function getLogger() on null in /var/www/html/nextcloud/index.php:69\nStack trace:\n#0 {main}\n thrown in /var/www/html/nextcloud/index.php on line 69
[Fri Aug 25 05:48:59.646476 2017] [mpm_prefork:notice] [pid 26512] AH00169: caught SIGTERM, shutting down
[Fri Aug 25 05:51:58.620328 2017] [mpm_prefork:notice] [pid 1348] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Fri Aug 25 05:51:58.646234 2017] [core:notice] [pid 1348] AH00094: Command line: '/usr/sbin/apache2'
[Fri Aug 25 05:57:48.243712 2017] [:error] [pid 1424] [client 127.0.0.1:39400] PHP Fatal error: Uncaught Error: Call to a member function getLogger() on null in /var/www/html/nextcloud/index.php:69\nStack trace:\n#0 {main}\n thrown in /var/www/html/nextcloud/index.php on line 69
(END)