Update interrupted & stuck at Step 4

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 20.0.6
Operating system and version (eg, Ubuntu 20.04): Raspbian 10 (Buster)
Apache or nginx version (eg, Apache 2.4.25): 2.4.38 (Raspbian)
PHP version (eg, 7.4): 7.3

The issue you are facing:

Midway through the web-based updater from 20.0.6 to 20.0.7, (unsure where though error tells me it was Step 4), I had a power outage that shut down the Nextcloud server.
On booting up, I can log into Nextcloud and functionality appears normal, however the updater now does not run - on attempting to reenter the updater it loads a message page informing me that Step 4 is in progress, and to try reloading the page later.
After a day of uptime, I’m still getting this message so believe this is broken currently.

Output of the command line updater is the same:

pi@raspberrypi:~ $ sudo -u www-data php /var/www/nextcloud/updater/updater.phar
Nextcloud Updater - version: v20.0.0beta4-11-g68fa0d4

Step 4 is currently in process. Please call this command later.
pi@raspberrypi:~ $ 

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

Steps to replicate it:

  1. Have a 20.0.6 installation
  2. Enter the Web Updater
  3. Power down the server mid-update

The output of your Nextcloud log in Admin > Logging:

{"reqId":"Ox0PEjlTcgWIHfo2FAt1","level":2,"time":"2021-02-02T15:30:50+00:00","remoteAddr":"192.168.1.111","user":"--","app":"no app in context","method":"GET","url":"/nextcloud/","message":"Could not detect any host in http:///nextcloud/data/htaccesstest.txt","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0","version":""}
{"reqId":"Ox0PEjlTcgWIHfo2FAt1","level":2,"time":"2021-02-02T15:30:50+00:00","remoteAddr":"192.168.1.111","user":"--","app":"no app in context","method":"GET","url":"/nextcloud/","message":"Could not detect any host in https:///nextcloud/data/htaccesstest.txt","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0","version":""}
{"reqId":"p6uxBiAmYKZzdPVYbfJD","level":2,"time":"2021-02-02T15:37:56+00:00","remoteAddr":"192.168.1.111","user":"--","app":"no app in context","method":"POST","url":"/nextcloud/index.php","message":"Could not detect any host in http:///nextcloud/data/htaccesstest.txt","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0","version":""}
{"reqId":"p6uxBiAmYKZzdPVYbfJD","level":2,"time":"2021-02-02T15:37:56+00:00","remoteAddr":"192.168.1.111","user":"--","app":"no app in context","method":"POST","url":"/nextcloud/index.php","message":"Could not detect any host in https:///nextcloud/data/htaccesstest.txt","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0","version":""}
{"reqId":"EqSa1uczdtZwmJVf1ble","level":3,"time":"2021-02-02T15:41:18+00:00","remoteAddr":"192.168.1.111","user":"ncsmartadmin","app":"PHP","method":"POST","url":"/nextcloud/index.php/settings/apps/enable","message":"Allowed memory size of 134217728 bytes exhausted (tried to allocate 363000376 bytes) at /var/www/nextcloud/lib/private/Installer.php#287","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0","version":"20.0.6.1"}
{"reqId":"5sKmD3gMDLXq9yIYtBzY","level":2,"time":"2021-02-04T07:04:57+00:00","remoteAddr":"120.16.79.244","user":"--","app":"no app in context","method":"POST","url":"/nextcloud/index.php/login","message":"Login failed: nctristen (Remote IP: 120.16.79.244)","userAgent":"Mozilla/5.0 (Linux; Android 10; Nokia 6.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.93 Mobile Safari/537.36","version":"20.0.6.1"}
{"reqId":"Ne6iXcJ8SZCHcRKXIRXJ","level":2,"time":"2021-02-04T07:05:42+00:00","remoteAddr":"120.16.79.244","user":"--","app":"no app in context","method":"POST","url":"/nextcloud/index.php/login","message":"Login failed: nctristen (Remote IP: 120.16.79.244)","userAgent":"Mozilla/5.0 (Linux; Android 10; Nokia 6.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.93 Mobile Safari/537.36","version":"20.0.6.1"}
{"reqId":"8CRxxHVi0zqfBhbC0wHe","level":2,"time":"2021-02-04T07:07:26+00:00","remoteAddr":"120.16.79.244","user":"ncsmartadmin","app":"weather_status","method":"GET","url":"/nextcloud/ocs/v2.php/apps/weather_status/api/v1/forecast","message":"https://api.met.no/weatherapi/locationforecast/2.0/compactAPI error : GuzzleHttp\\Exception\\ConnectException: cURL error 6: Could not resolve host: api.met.no (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) in /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php:200\nStack trace:\n#0 /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php(155): GuzzleHttp\\Handler\\CurlFactory::createRejection(Object(GuzzleHttp\\Handler\\EasyHandle), Array)\n#1 /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php(105): GuzzleHttp\\Handler\\CurlFactory::finishError(Object(GuzzleHttp\\Handler\\CurlHandler), Object(GuzzleHttp\\Handler\\EasyHandle), Object(GuzzleHttp\\Handler\\CurlFactory))\n#2 /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlHandler.php(43): GuzzleHttp\\Handler\\CurlFactory::finish(Object(GuzzleHttp\\Handler\\CurlHandler), Object(GuzzleHttp\\Handler\\EasyHandle), Object(GuzzleHttp\\Handler\\CurlFactory))\n#3 /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/Proxy.php(28): GuzzleHttp\\Handler\\CurlHandler->__invoke(Object(GuzzleHttp\\Psr7\\Request), Array)\n#4 /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/Proxy.php(51): GuzzleHttp\\Handler\\Proxy::GuzzleHttp\\Handler\\{closure}(Object(GuzzleHttp\\Psr7\\Request), Array)\n#5 /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php(37): GuzzleHttp\\Handler\\Proxy::GuzzleHttp\\Handler\\{closure}(Object(GuzzleHttp\\Psr7\\Request), Array)\n#6 /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php(29): GuzzleHttp\\PrepareBodyMiddleware->__invoke(Object(GuzzleHttp\\Psr7\\Request), Array)\n#7 /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php(70): GuzzleHttp\\Middleware::GuzzleHttp\\{closure}(Object(GuzzleHttp\\Psr7\\Request), Array)\n#8 /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php(59): GuzzleHttp\\RedirectMiddleware->__invoke(Object(GuzzleHttp\\Psr7\\Request), Array)\n#9 /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php(71): GuzzleHttp\\Middleware::GuzzleHttp\\{closure}(Object(GuzzleHttp\\Psr7\\Request), Array)\n#10 /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php(361): GuzzleHttp\\HandlerStack->__invoke(Object(GuzzleHttp\\Psr7\\Request), Array)\n#11 /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php(163): GuzzleHttp\\Client->transfer(Object(GuzzleHttp\\Psr7\\Request), Array)\n#12 /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php(183): GuzzleHttp\\Client->requestAsync('get', Object(GuzzleHttp\\Psr7\\Uri), Array)\n#13 /var/www/nextcloud/lib/private/Http/Client/Client.php(233): GuzzleHttp\\Client->request('get', 'https://api.met...', Array)\n#14 /var/www/nextcloud/apps/weather_status/lib/Service/WeatherStatusService.php(399): OC\\Http\\Client\\Client->get('https://api.met...', Array)\n#15 /var/www/nextcloud/apps/weather_status/lib/Service/WeatherStatusService.php(364): OCA\\WeatherStatus\\Service\\WeatherStatusService->requestJSON('https://api.met...', Array)\n#16 /var/www/nextcloud/apps/weather_status/lib/Service/WeatherStatusService.php(342): OCA\\WeatherStatus\\Service\\WeatherStatusService->forecastRequest(-31.9527121, 115.8604796, 27)\n#17 /var/www/nextcloud/apps/weather_status/lib/Controller/WeatherStatusController.php(117): OCA\\WeatherStatus\\Service\\WeatherStatusService->getForecast()\n#18 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(169): OCA\\WeatherStatus\\Controller\\WeatherStatusController->getForecast()\n#19 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(100): OC\\AppFramework\\Http\\Dispatcher->executeController(Object(OCA\\WeatherStatus\\Controller\\WeatherStatusController), 'getForecast')\n#20 /var/www/nextcloud/lib/private/AppFramework/App.php(152): OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OCA\\WeatherStatus\\Controller\\WeatherStatusController), 'getForecast')\n#21 /var/www/nextcloud/lib/private/Route/Router.php(309): OC\\AppFramework\\App::main('OCA\\\\WeatherStat...', 'getForecast', Object(OC\\AppFramework\\DependencyInjection\\DIContainer), Array)\n#22 /var/www/nextcloud/ocs/v1.php(88): OC\\Route\\Router->match('/ocsapp/apps/we...')\n#23 /var/www/nextcloud/ocs/v2.php(24): require_once('/var/www/nextcl...')\n#24 {main}","userAgent":"Mozilla/5.0 (Linux; Android 10; Nokia 6.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.93 Mobile Safari/537.36","version":"20.0.6.1"}
{"reqId":"i3IXXzRVXY2p3GYEAac6","level":2,"time":"2021-02-04T07:09:41+00:00","remoteAddr":"192.168.1.111","user":"--","app":"no app in context","method":"POST","url":"/nextcloud/index.php/login","message":"Login failed: ncsmartadmin (Remote IP: 192.168.1.111)","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0","version":"20.0.6.1"}
{"reqId":"lCxXm1AqLpMeZ5xUgwEs","level":2,"time":"2021-02-04T07:13:49+00:00","remoteAddr":"192.168.1.111","user":"--","app":"no app in context","method":"POST","url":"/nextcloud/index.php/login","message":"Login failed: ncsmartadmin (Remote IP: 192.168.1.111)","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0","version":"20.0.6.1"}

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

<?php
$CONFIG = array (
  'instanceid' => 'string0',
  'passwordsalt' => 'string1',
  'secret' => 'string2',
  'trusted_domains' => 
  array (
    0 => '192.168.1.105',
    1 => 'thisismydomainname.com',
  ),
  'datadirectory' => '/var/www/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '20.0.6.1',
  'overwrite.cli.url' => 'http://192.168.1.105/nextcloud',
  'dbname' => 'nextclouddb',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nctristen',
  'dbpassword' => 'hardtoremember',
  'installed' => true,
  'maintenance' => false,
  'updater.secret' => 'string3',
);

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

[Thu Feb 04 00:00:20.213788 2021] [core:notice] [pid 611] AH00094: Command line: '/usr/sbin/apache2'
[Thu Feb 04 00:06:44.020751 2021] [php7:error] [pid 3454] [client 150.101.171.193:38292] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 00:06:44.020945 2021] [php7:error] [pid 3455] [client 150.101.171.193:38294] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 00:36:44.047224 2021] [php7:error] [pid 3451] [client 150.101.171.193:38376] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 00:36:44.047626 2021] [php7:error] [pid 3842] [client 150.101.171.193:38378] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 01:06:44.046843 2021] [php7:error] [pid 3455] [client 150.101.171.193:38474] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 01:06:44.048249 2021] [php7:error] [pid 3454] [client 150.101.171.193:38476] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 01:36:44.044992 2021] [php7:error] [pid 3452] [client 150.101.171.193:38562] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 01:36:44.047579 2021] [php7:error] [pid 3567] [client 150.101.171.193:38564] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 02:06:44.031617 2021] [php7:error] [pid 3567] [client 150.101.171.193:38648] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 02:06:44.032554 2021] [php7:error] [pid 3456] [client 150.101.171.193:38650] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 02:36:44.030711 2021] [php7:error] [pid 3456] [client 150.101.171.193:38734] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 02:36:44.036874 2021] [php7:error] [pid 12623] [client 150.101.171.193:38736] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 03:06:44.123480 2021] [php7:error] [pid 3451] [client 150.101.171.193:38836] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 03:06:44.124255 2021] [php7:error] [pid 3842] [client 150.101.171.193:38838] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 03:36:44.106235 2021] [php7:error] [pid 3842] [client 150.101.171.193:38926] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 03:36:44.111076 2021] [php7:error] [pid 3455] [client 150.101.171.193:38928] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 04:06:44.116173 2021] [php7:error] [pid 3452] [client 150.101.171.193:39036] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 04:06:44.118220 2021] [php7:error] [pid 3567] [client 150.101.171.193:39038] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 04:36:44.112494 2021] [php7:error] [pid 12623] [client 150.101.171.193:39128] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 04:36:44.116365 2021] [php7:error] [pid 3451] [client 150.101.171.193:39130] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 05:06:44.104989 2021] [php7:error] [pid 12623] [client 150.101.171.193:39226] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 05:06:44.105318 2021] [php7:error] [pid 3451] [client 150.101.171.193:39228] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 05:36:44.115548 2021] [php7:error] [pid 12623] [client 150.101.171.193:39314] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 05:36:44.115881 2021] [php7:error] [pid 3451] [client 150.101.171.193:39316] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 06:06:44.098244 2021] [php7:error] [pid 3455] [client 150.101.171.193:39402] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 06:06:44.100712 2021] [php7:error] [pid 3842] [client 150.101.171.193:39404] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 06:36:44.094582 2021] [php7:error] [pid 3567] [client 150.101.171.193:39504] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 06:36:44.095698 2021] [php7:error] [pid 3456] [client 150.101.171.193:39506] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 07:06:44.092439 2021] [php7:error] [pid 3567] [client 150.101.171.193:39600] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 07:06:44.096748 2021] [php7:error] [pid 3456] [client 150.101.171.193:39602] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 07:33:34.270171 2021] [php7:error] [pid 3451] [client 45.155.205.108:60004] script '/var/www/html/index.php' not found or unable to stat
[Thu Feb 04 07:36:44.189780 2021] [php7:error] [pid 3451] [client 150.101.171.193:39686] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 07:36:44.190995 2021] [php7:error] [pid 3455] [client 150.101.171.193:39688] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 08:06:44.203221 2021] [php7:error] [pid 3451] [client 150.101.171.193:39872] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 08:06:44.212196 2021] [php7:error] [pid 12623] [client 150.101.171.193:39874] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 08:36:44.077459 2021] [php7:error] [pid 3842] [client 150.101.171.193:40012] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 08:36:44.079497 2021] [php7:error] [pid 3452] [client 150.101.171.193:40014] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 09:06:44.071094 2021] [php7:error] [pid 3452] [client 150.101.171.193:40114] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 09:06:44.071400 2021] [php7:error] [pid 3456] [client 150.101.171.193:40116] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 09:36:44.072052 2021] [php7:error] [pid 3452] [client 150.101.171.193:40440] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 09:36:44.072349 2021] [php7:error] [pid 3456] [client 150.101.171.193:40442] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 10:06:44.059300 2021] [php7:error] [pid 3456] [client 150.101.171.193:40662] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 10:06:44.064262 2021] [php7:error] [pid 3567] [client 150.101.171.193:40664] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 10:36:44.057935 2021] [php7:error] [pid 3455] [client 150.101.171.193:40804] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 10:36:44.059981 2021] [php7:error] [pid 3456] [client 150.101.171.193:40806] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 11:06:44.059164 2021] [php7:error] [pid 3567] [client 150.101.171.193:40974] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 11:06:44.059478 2021] [php7:error] [pid 12623] [client 150.101.171.193:40976] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 11:36:44.050671 2021] [php7:error] [pid 3451] [client 150.101.171.193:41642] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 11:36:44.053573 2021] [php7:error] [pid 15542] [client 150.101.171.193:41644] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 12:06:44.046632 2021] [php7:error] [pid 3452] [client 150.101.171.193:41760] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 12:06:44.047550 2021] [php7:error] [pid 3455] [client 150.101.171.193:41762] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 12:08:46.210881 2021] [php7:error] [pid 12623] [client 150.101.171.193:49102] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 12:18:26.758014 2021] [php7:error] [pid 3456] [client 150.101.171.193:49156] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 12:36:44.042124 2021] [php7:error] [pid 3842] [client 150.101.171.193:41922] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 12:36:44.043468 2021] [php7:error] [pid 3454] [client 150.101.171.193:41924] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 13:06:44.040586 2021] [php7:error] [pid 15543] [client 150.101.171.193:42076] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 13:06:44.052467 2021] [php7:error] [pid 3452] [client 150.101.171.193:42078] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 13:36:44.134096 2021] [php7:error] [pid 12623] [client 150.101.171.193:42252] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 13:36:44.136966 2021] [php7:error] [pid 3842] [client 150.101.171.193:42254] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 14:06:44.029006 2021] [php7:error] [pid 15542] [client 150.101.171.193:42384] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 14:06:44.033091 2021] [php7:error] [pid 15543] [client 150.101.171.193:42386] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 14:36:44.127353 2021] [php7:error] [pid 12623] [client 150.101.171.193:42568] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 14:36:44.128371 2021] [php7:error] [pid 3842] [client 150.101.171.193:42570] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 15:06:44.122108 2021] [php7:error] [pid 3456] [client 150.101.171.193:43170] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 15:06:44.126623 2021] [php7:error] [pid 3455] [client 150.101.171.193:43172] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 15:17:01.007355 2021] [access_compat:error] [pid 15543] [client 192.168.1.111:51824] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata
[Thu Feb 04 15:36:44.022298 2021] [php7:error] [pid 6462] [client 150.101.171.193:43488] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 15:36:44.022673 2021] [php7:error] [pid 3451] [client 150.101.171.193:43490] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 15:20:19.486457 2021] [mpm_prefork:notice] [pid 634] AH00163: Apache/2.4.38 (Raspbian) OpenSSL/1.1.1d configured -- resuming normal operations
[Thu Feb 04 15:20:19.487349 2021] [core:notice] [pid 634] AH00094: Command line: '/usr/sbin/apache2'
[Thu Feb 04 15:50:48.008022 2021] [php7:error] [pid 722] [client 150.101.171.193:38480] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 15:50:48.718908 2021] [php7:error] [pid 723] [client 150.101.171.193:38482] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 15:50:48.721801 2021] [php7:error] [pid 724] [client 150.101.171.193:38484] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 15:50:48.723455 2021] [php7:error] [pid 725] [client 150.101.171.193:38486] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 15:50:48.734648 2021] [php7:error] [pid 726] [client 150.101.171.193:38488] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 15:50:48.739114 2021] [php7:error] [pid 1168] [client 150.101.171.193:38490] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 15:50:49.126776 2021] [php7:error] [pid 723] [client 150.101.171.193:38502] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 15:53:49.052981 2021] [access_compat:error] [pid 1168] [client 150.101.171.193:35514] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata
[Thu Feb 04 16:20:49.558882 2021] [php7:error] [pid 1338] [client 150.101.171.193:42000] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 16:20:49.559072 2021] [php7:error] [pid 726] [client 150.101.171.193:42002] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 16:23:42.905254 2021] [php7:error] [pid 1178] [client 150.101.171.193:42392] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 16:23:42.926149 2021] [php7:error] [pid 1168] [client 150.101.171.193:42398] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 16:23:42.931443 2021] [php7:error] [pid 1374] [client 150.101.171.193:42400] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 16:23:43.817585 2021] [php7:error] [pid 1336] [client 150.101.171.193:42404] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 16:23:43.865651 2021] [php7:error] [pid 725] [client 150.101.171.193:42406] script '/var/www/html/remote.php' not found or unable to stat
cat: /sys/class/net/wlan0/speed: Invalid argument
cat: /sys/class/net/wlan0/duplex: Invalid argument
[Thu Feb 04 16:45:27.525017 2021] [access_compat:error] [pid 1338] [client 192.168.1.111:54736] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata
[Thu Feb 04 16:50:49.632261 2021] [php7:error] [pid 5462] [client 150.101.171.193:45042] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 16:50:49.634893 2021] [php7:error] [pid 1336] [client 150.101.171.193:45044] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 17:20:49.534473 2021] [php7:error] [pid 1178] [client 150.101.171.193:47182] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 17:20:49.534860 2021] [php7:error] [pid 5330] [client 150.101.171.193:47184] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 17:50:49.554024 2021] [php7:error] [pid 1178] [client 150.101.171.193:49284] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 17:50:49.555991 2021] [php7:error] [pid 5330] [client 150.101.171.193:49286] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 18:20:49.553523 2021] [php7:error] [pid 726] [client 150.101.171.193:51290] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 18:20:49.553808 2021] [php7:error] [pid 725] [client 150.101.171.193:51292] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 18:28:16.768929 2021] [php7:error] [pid 5287] [client 150.101.171.193:39356] script '/var/www/html/index.php' not found or unable to stat
[Thu Feb 04 18:50:49.556078 2021] [php7:error] [pid 726] [client 150.101.171.193:52022] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 18:50:49.562829 2021] [php7:error] [pid 725] [client 150.101.171.193:52020] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 19:20:49.555574 2021] [php7:error] [pid 5462] [client 150.101.171.193:52122] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 19:20:49.556689 2021] [php7:error] [pid 1178] [client 150.101.171.193:52124] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 19:47:37.140644 2021] [php7:error] [pid 722] [client 178.128.51.50:49927] script '/var/www/html/xmlrpc.php' not found or unable to stat
[Thu Feb 04 20:02:52.941842 2021] [php7:error] [pid 726] [client 45.155.205.108:51012] script '/var/www/html/index.php' not found or unable to stat
[Thu Feb 04 20:16:20.564216 2021] [php7:error] [pid 1338] [client 150.101.171.193:52180] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 20:16:26.309518 2021] [php7:error] [pid 722] [client 150.101.171.193:52194] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 20:16:26.803836 2021] [php7:error] [pid 5287] [client 150.101.171.193:52196] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 20:16:26.806362 2021] [php7:error] [pid 5462] [client 150.101.171.193:52204] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 20:16:26.806495 2021] [php7:error] [pid 1178] [client 150.101.171.193:52198] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 20:16:26.807190 2021] [php7:error] [pid 1336] [client 150.101.171.193:52200] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 20:16:26.807510 2021] [php7:error] [pid 5330] [client 150.101.171.193:52202] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 20:20:51.925323 2021] [php7:error] [pid 723] [client 150.101.171.193:52298] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 20:20:51.925852 2021] [php7:error] [pid 726] [client 150.101.171.193:52300] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 20:50:51.919410 2021] [php7:error] [pid 1338] [client 150.101.171.193:52364] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 20:50:51.919700 2021] [php7:error] [pid 722] [client 150.101.171.193:52366] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 21:24:40.770553 2021] [php7:error] [pid 722] [client 150.101.171.193:52406] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 21:24:43.131571 2021] [php7:error] [pid 723] [client 150.101.171.193:52418] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 21:24:43.694024 2021] [php7:error] [pid 726] [client 150.101.171.193:52420] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 21:24:46.979812 2021] [php7:error] [pid 725] [client 150.101.171.193:52434] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 21:24:46.983012 2021] [php7:error] [pid 5287] [client 150.101.171.193:52436] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 21:24:46.984381 2021] [php7:error] [pid 5462] [client 150.101.171.193:52438] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 21:24:46.986948 2021] [php7:error] [pid 1178] [client 150.101.171.193:52442] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 21:24:46.989507 2021] [php7:error] [pid 5330] [client 150.101.171.193:52440] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 21:33:53.823830 2021] [php7:error] [pid 5462] [client 150.101.171.193:52552] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 21:33:53.824270 2021] [php7:error] [pid 1178] [client 150.101.171.193:52554] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 22:03:53.857729 2021] [php7:error] [pid 723] [client 150.101.171.193:52760] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 22:03:53.857967 2021] [php7:error] [pid 726] [client 150.101.171.193:52762] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 22:33:53.964817 2021] [php7:error] [pid 722] [client 150.101.171.193:52900] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 22:33:53.965162 2021] [php7:error] [pid 726] [client 150.101.171.193:52902] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 23:03:53.970493 2021] [php7:error] [pid 1178] [client 150.101.171.193:52980] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 23:03:53.971493 2021] [php7:error] [pid 5330] [client 150.101.171.193:52982] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 23:33:53.962492 2021] [php7:error] [pid 722] [client 150.101.171.193:53136] script '/var/www/html/remote.php' not found or unable to stat
[Thu Feb 04 23:33:53.966654 2021] [php7:error] [pid 726] [client 150.101.171.193:53138] script '/var/www/html/remote.php' not found or unable to stat
[Fri Feb 05 00:00:54.432540 2021] [mpm_prefork:notice] [pid 634] AH00171: Graceful restart requested, doing 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

what about this thought: use latest backup and try updating again?

Thanks Jimmy,
I might just install again - this setup was just about to get on its feet so there wasn’t a backup.
Just thought there might be a way to troubleshoot the script, but I had a look at the .phar command and it’s beyond me…