Update from 20.0.10 21.0.2 Issues - "Step 6 is currently in process. Please reload this page later."

Nextcloud version: 20.0.10
Operating system and version : Ubuntu 20.0

The issue you are facing:
When running the update, the installation gets stuck on step 6 with the message -" ```
Step 6 is currently in process. Please reload this page later.

I tried updating deleting the .steps file and restarting the update based on advice I saw elsewhere on the forum to no avail.
 I see some errors in the log file, but I am not sure how to interpret them/what to do to resolve them.

The output of your Nextcloud log in **Admin > Logging**:

{
“reqId”: “SDs7YlwmLKX3TqcSaGOU”,
“level”: 1,
“time”: “2021-05-22T20:49:45+00:00”,
“remoteAddr”: “192.168.90.254”,
“user”: “–”,
“app”: “updater”,
“method”: “GET”,
“url”: “/core/ajax/update.php?requesttoken=1azh5ozBqJy4wsVDAjbRhcFc0z0cRgOBq1wzANMbQmw%3D%3ApuSS3uS44%2FPLk7QMSEC9sYduuwV5N0CxyAZXYpVyJ1Q%3D”,
“message”: “\OC\Updater::maintenanceDisabled: Turned off maintenance mode”,
“userAgent”: “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0”,
“version”: “20.0.10.1”
}
{
“reqId”: “SDs7YlwmLKX3TqcSaGOU”,
“level”: 1,
“time”: “2021-05-22T20:49:45+00:00”,
“remoteAddr”: “192.168.90.254”,
“user”: “–”,
“app”: “updater”,
“method”: “GET”,
“url”: “/core/ajax/update.php?requesttoken=1azh5ozBqJy4wsVDAjbRhcFc0z0cRgOBq1wzANMbQmw%3D%3ApuSS3uS44%2FPLk7QMSEC9sYduuwV5N0CxyAZXYpVyJ1Q%3D”,
“message”: “\OC\Updater::resetLogLevel: Reset log level to Warning(2)”,
“userAgent”: “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0”,
“version”: “20.0.10.1”
}
{
“reqId”: “haLZUL9Rij0OgLQKsAdZ”,
“level”: 3,
“time”: “2021-05-22T20:55:34+00:00”,
“remoteAddr”: “192.168.90.254”,
“user”: “jonah”,
“app”: “PHP”,
“method”: “PROPFIND”,
“url”: “/remote.php/webdav”,
“message”: {
“Exception”: “Error”,
“Message”: “include(/config/www/nextcloud/apps/dav/composer/composer/…/…/lib/Connector/Sabre/Directory.php): failed to open stream: No such file or directory at /config/www/nextcloud/lib/composer/composer/ClassLoader.php#444”,
“Code”: 0,
“Trace”: [
{
“file”: “/config/www/nextcloud/lib/composer/composer/ClassLoader.php”,
“line”: 444,
“function”: “onError”,
“class”: “OC\Log\ErrorHandler”,
“type”: “::”
},
{
“file”: “/config/www/nextcloud/lib/composer/composer/ClassLoader.php”,
“line”: 444,
“function”: “include”
},
{
“file”: “/config/www/nextcloud/lib/composer/composer/ClassLoader.php”,
“line”: 322,
“function”: “Composer\Autoload\includeFile”
},
{
“function”: “loadClass”,
“class”: “Composer\Autoload\ClassLoader”,
“type”: “->”
},
{
“file”: “/config/www/nextcloud/apps/dav/lib/Connector/Sabre/ServerFactory.php”,
“line”: 163,
“function”: “spl_autoload_call”
},
{
“file”: “/config/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php”,
“line”: 89,
“function”: “OCA\DAV\Connector\Sabre\{closure}”,
“class”: “OCA\DAV\Connector\Sabre\ServerFactory”,
“type”: “->”,
“args”: [
“*** sensitive parameters replaced "
]
},
{
“file”: “/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,
“line”: 458,
“function”: “emit”,
“class”: “Sabre\DAV\Server”,
“type”: “->”
},
{
“file”: “/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,
“line”: 251,
“function”: “invokeMethod”,
“class”: “Sabre\DAV\Server”,
“type”: “->”
},
{
“file”: “/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,
“line”: 319,
“function”: “start”,
“class”: “Sabre\DAV\Server”,
“type”: “->”
},
{
“file”: “/config/www/nextcloud/apps/dav/appinfo/v1/webdav.php”,
“line”: 84,
“function”: “exec”,
“class”: “Sabre\DAV\Server”,
“type”: “->”
},
{
“file”: “/config/www/nextcloud/remote.php”,
“line”: 167,
“args”: [
“/config/www/nextcloud/apps/dav/appinfo/v1/webdav.php”
],
“function”: “require_once”
}
],
“File”: “/config/www/nextcloud/lib/private/Log/ErrorHandler.php”,
“Line”: 91,
“CustomMessage”: “–”
},
“userAgent”: “Mozilla/5.0 (iOS) Nextcloud-iOS/3.4.2”,
“version”: “20.0.10.1”
}
{
“reqId”: “haLZUL9Rij0OgLQKsAdZ”,
“level”: 3,
“time”: “2021-05-22T20:55:34+00:00”,
“remoteAddr”: “192.168.90.254”,
“user”: “jonah”,
“app”: “PHP”,
“method”: “PROPFIND”,
“url”: “/remote.php/webdav”,
“message”: {
“Exception”: “Error”,
“Message”: “include(): Failed opening ‘/config/www/nextcloud/apps/dav/composer/composer/…/…/lib/Connector/Sabre/Directory.php’ for inclusion (include_path=’/config/www/nextcloud/3rdparty/pear/archive_tar:/config/www/nextcloud/3rdparty/pear/console_getopt:/config/www/nextcloud/3rdparty/pear/pear-core-minimal/src:/config/www/nextcloud/3rdparty/pear/pear_exception:/config/www/nextcloud/apps’) at /config/www/nextcloud/lib/composer/composer/ClassLoader.php#444”,
“Code”: 0,
“Trace”: [
{
“file”: “/config/www/nextcloud/lib/composer/composer/ClassLoader.php”,
“line”: 444,
“function”: “onError”,
“class”: “OC\Log\ErrorHandler”,
“type”: “::”
},
{
“file”: “/config/www/nextcloud/lib/composer/composer/ClassLoader.php”,
“line”: 444,
“function”: “include”
},
{
“file”: “/config/www/nextcloud/lib/composer/composer/ClassLoader.php”,
“line”: 322,
“function”: “Composer\Autoload\includeFile”
},
{
“function”: “loadClass”,
“class”: “Composer\Autoload\ClassLoader”,
“type”: “->”
},
{
“file”: “/config/www/nextcloud/apps/dav/lib/Connector/Sabre/ServerFactory.php”,
“line”: 163,
“function”: “spl_autoload_call”
},
{
“file”: “/config/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php”,
“line”: 89,
“function”: “OCA\DAV\Connector\Sabre\{closure}”,
“class”: “OCA\DAV\Connector\Sabre\ServerFactory”,
“type”: “->”,
“args”: [
"
sensitive parameters replaced "
]
},
{
“file”: “/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,
“line”: 458,
“function”: “emit”,
“class”: “Sabre\DAV\Server”,
“type”: “->”
},
{
“file”: “/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,
“line”: 251,
“function”: “invokeMethod”,
“class”: “Sabre\DAV\Server”,
“type”: “->”
},
{
“file”: “/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,
“line”: 319,
“function”: “start”,
“class”: “Sabre\DAV\Server”,
“type”: “->”
},
{
“file”: “/config/www/nextcloud/apps/dav/appinfo/v1/webdav.php”,
“line”: 84,
“function”: “exec”,
“class”: “Sabre\DAV\Server”,
“type”: “->”
},
{
“file”: “/config/www/nextcloud/remote.php”,
“line”: 167,
“args”: [
“/config/www/nextcloud/apps/dav/appinfo/v1/webdav.php”
],
“function”: “require_once”
}
],
“File”: “/config/www/nextcloud/lib/private/Log/ErrorHandler.php”,
“Line”: 91,
“CustomMessage”: “–”
},
“userAgent”: “Mozilla/5.0 (iOS) Nextcloud-iOS/3.4.2”,
“version”: “20.0.10.1”
}
{
“reqId”: “haLZUL9Rij0OgLQKsAdZ”,
“level”: 4,
“time”: “2021-05-22T20:55:34+00:00”,
“remoteAddr”: “192.168.90.254”,
“user”: “jonah”,
“app”: “webdav”,
“method”: “PROPFIND”,
“url”: “/remote.php/webdav”,
“message”: {
“Exception”: “Error”,
“Message”: “Class ‘OCA\DAV\Connector\Sabre\Directory’ not found”,
“Code”: 0,
“Trace”: [
{
“file”: “/config/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php”,
“line”: 89,
“function”: “OCA\DAV\Connector\Sabre\{closure}”,
“class”: “OCA\DAV\Connector\Sabre\ServerFactory”,
“type”: “->”,
“args”: [
"
sensitive parameters replaced "
]
},
{
“file”: “/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,
“line”: 458,
“function”: “emit”,
“class”: “Sabre\DAV\Server”,
“type”: “->”
},
{
“file”: “/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,
“line”: 251,
“function”: “invokeMethod”,
“class”: “Sabre\DAV\Server”,
“type”: “->”
},
{
“file”: “/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,
“line”: 319,
“function”: “start”,
“class”: “Sabre\DAV\Server”,
“type”: “->”
},
{
“file”: “/config/www/nextcloud/apps/dav/appinfo/v1/webdav.php”,
“line”: 84,
“function”: “exec”,
“class”: “Sabre\DAV\Server”,
“type”: “->”
},
{
“file”: “/config/www/nextcloud/remote.php”,
“line”: 167,
“args”: [
“/config/www/nextcloud/apps/dav/appinfo/v1/webdav.php”
],
“function”: “require_once”
}
],
“File”: “/config/www/nextcloud/apps/dav/lib/Connector/Sabre/ServerFactory.php”,
“Line”: 163,
“CustomMessage”: “–”
},
“userAgent”: “Mozilla/5.0 (iOS) Nextcloud-iOS/3.4.2”,
“version”: “20.0.10.1”
}
{
“reqId”: “AD4GtD8fjbPWzCcHxkO9”,
“level”: 3,
“time”: “2021-05-22T20:55:34+00:00”,
“remoteAddr”: “192.168.90.254”,
“user”: “jonah”,
“app”: “PHP”,
“method”: “PROPFIND”,
“url”: “/remote.php/webdav”,
“message”: {
“Exception”: “Error”,
“Message”: “include(/config/www/nextcloud/apps/dav/composer/composer/…/…/lib/Connector/Sabre/Directory.php): failed to open stream: No such file or directory at /config/www/nextcloud/lib/composer/composer/ClassLoader.php#444”,
“Code”: 0,
“Trace”: [
{
“file”: “/config/www/nextcloud/lib/composer/composer/ClassLoader.php”,
“line”: 444,
“function”: “onError”,
“class”: “OC\Log\ErrorHandler”,
“type”: “::”
},
{
“file”: “/config/www/nextcloud/lib/composer/composer/ClassLoader.php”,
“line”: 444,
“function”: “include”
},
{
“file”: “/config/www/nextcloud/lib/composer/composer/ClassLoader.php”,
“line”: 322,
“function”: “Composer\Autoload\includeFile”
},
{
“function”: “loadClass”,
“class”: “Composer\Autoload\ClassLoader”,
“type”: “->”
},
{
“file”: “/config/www/nextcloud/apps/dav/lib/Connector/Sabre/ServerFactory.php”,
“line”: 163,
“function”: “spl_autoload_call”
},
{
“file”: “/config/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php”,
“line”: 89,
“function”: “OCA\DAV\Connector\Sabre\{closure}”,
“class”: “OCA\DAV\Connector\Sabre\ServerFactory”,
“type”: “->”,
“args”: [
"
sensitive parameters replaced "
]
},
{
“file”: “/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,
“line”: 458,
“function”: “emit”,
“class”: “Sabre\DAV\Server”,
“type”: “->”
},
{
“file”: “/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,
“line”: 251,
“function”: “invokeMethod”,
“class”: “Sabre\DAV\Server”,
“type”: “->”
},
{
“file”: “/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,
“line”: 319,
“function”: “start”,
“class”: “Sabre\DAV\Server”,
“type”: “->”
},
{
“file”: “/config/www/nextcloud/apps/dav/appinfo/v1/webdav.php”,
“line”: 84,
“function”: “exec”,
“class”: “Sabre\DAV\Server”,
“type”: “->”
},
{
“file”: “/config/www/nextcloud/remote.php”,
“line”: 167,
“args”: [
“/config/www/nextcloud/apps/dav/appinfo/v1/webdav.php”
],
“function”: “require_once”
}
],
“File”: “/config/www/nextcloud/lib/private/Log/ErrorHandler.php”,
“Line”: 91,
“CustomMessage”: “–”
},
“userAgent”: “Mozilla/5.0 (iOS) Nextcloud-iOS/3.4.2”,
“version”: “20.0.10.1”
}
{
“reqId”: “AD4GtD8fjbPWzCcHxkO9”,
“level”: 3,
“time”: “2021-05-22T20:55:34+00:00”,
“remoteAddr”: “192.168.90.254”,
“user”: “jonah”,
“app”: “PHP”,
“method”: “PROPFIND”,
“url”: “/remote.php/webdav”,
“message”: {
“Exception”: “Error”,
“Message”: “include(): Failed opening ‘/config/www/nextcloud/apps/dav/composer/composer/…/…/lib/Connector/Sabre/Directory.php’ for inclusion (include_path=’/config/www/nextcloud/3rdparty/pear/archive_tar:/config/www/nextcloud/3rdparty/pear/console_getopt:/config/www/nextcloud/3rdparty/pear/pear-core-minimal/src:/config/www/nextcloud/3rdparty/pear/pear_exception:/config/www/nextcloud/apps’) at /config/www/nextcloud/lib/composer/composer/ClassLoader.php#444”,
“Code”: 0,
“Trace”: [
{
“file”: “/config/www/nextcloud/lib/composer/composer/ClassLoader.php”,
“line”: 444,
“function”: “onError”,
“class”: “OC\Log\ErrorHandler”,
“type”: “::”
},
{
“file”: “/config/www/nextcloud/lib/composer/composer/ClassLoader.php”,
“line”: 444,
“function”: “include”
},
{
“file”: “/config/www/nextcloud/lib/composer/composer/ClassLoader.php”,
“line”: 322,
“function”: “Composer\Autoload\includeFile”
},
{
“function”: “loadClass”,
“class”: “Composer\Autoload\ClassLoader”,
“type”: “->”
},
{
“file”: “/config/www/nextcloud/apps/dav/lib/Connector/Sabre/ServerFactory.php”,
“line”: 163,
“function”: “spl_autoload_call”
},
{
“file”: “/config/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php”,
“line”: 89,
“function”: “OCA\DAV\Connector\Sabre\{closure}”,
“class”: “OCA\DAV\Connector\Sabre\ServerFactory”,
“type”: “->”,
“args”: [
"
sensitive parameters replaced "
]
},
{
“file”: “/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,
“line”: 458,
“function”: “emit”,
“class”: “Sabre\DAV\Server”,
“type”: “->”
},
{
“file”: “/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,
“line”: 251,
“function”: “invokeMethod”,
“class”: “Sabre\DAV\Server”,
“type”: “->”
},
{
“file”: “/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,
“line”: 319,
“function”: “start”,
“class”: “Sabre\DAV\Server”,
“type”: “->”
},
{
“file”: “/config/www/nextcloud/apps/dav/appinfo/v1/webdav.php”,
“line”: 84,
“function”: “exec”,
“class”: “Sabre\DAV\Server”,
“type”: “->”
},
{
“file”: “/config/www/nextcloud/remote.php”,
“line”: 167,
“args”: [
“/config/www/nextcloud/apps/dav/appinfo/v1/webdav.php”
],
“function”: “require_once”
}
],
“File”: “/config/www/nextcloud/lib/private/Log/ErrorHandler.php”,
“Line”: 91,
“CustomMessage”: “–”
},
“userAgent”: “Mozilla/5.0 (iOS) Nextcloud-iOS/3.4.2”,
“version”: “20.0.10.1”
}
{
“reqId”: “AD4GtD8fjbPWzCcHxkO9”,
“level”: 4,
“time”: “2021-05-22T20:55:34+00:00”,
“remoteAddr”: “192.168.90.254”,
“user”: “jonah”,
“app”: “webdav”,
“method”: “PROPFIND”,
“url”: “/remote.php/webdav”,
“message”: {
“Exception”: “Error”,
“Message”: “Class ‘OCA\DAV\Connector\Sabre\Directory’ not found”,
“Code”: 0,
“Trace”: [
{
“file”: “/config/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php”,
“line”: 89,
“function”: “OCA\DAV\Connector\Sabre\{closure}”,
“class”: “OCA\DAV\Connector\Sabre\ServerFactory”,
“type”: “->”,
“args”: [
"
sensitive parameters replaced ***”
]
},
{
“file”: “/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,
“line”: 458,
“function”: “emit”,
“class”: “Sabre\DAV\Server”,
“type”: “->”
},
{
“file”: “/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,
“line”: 251,
“function”: “invokeMethod”,
“class”: “Sabre\DAV\Server”,
“type”: “->”
},
{
“file”: “/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,
“line”: 319,
“function”: “start”,
“class”: “Sabre\DAV\Server”,
“type”: “->”
},
{
“file”: “/config/www/nextcloud/apps/dav/appinfo/v1/webdav.php”,
“line”: 84,
“function”: “exec”,
“class”: “Sabre\DAV\Server”,
“type”: “->”
},
{
“file”: “/config/www/nextcloud/remote.php”,
“line”: 167,
“args”: [
“/config/www/nextcloud/apps/dav/appinfo/v1/webdav.php”
],
“function”: “require_once”
}
],
“File”: “/config/www/nextcloud/apps/dav/lib/Connector/Sabre/ServerFactory.php”,
“Line”: 163,
“CustomMessage”: “–”
},
“userAgent”: “Mozilla/5.0 (iOS) Nextcloud-iOS/3.4.2”,
“version”: “20.0.10.1”
}


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

$CONFIG = array (
‘memcache.local’ => ‘\OC\Memcache\APCu’,
‘datadirectory’ => ‘/data’,
‘instanceid’ => ‘octyfrv2ugw0’,
‘passwordsalt’ => ‘XXXXX’,
‘secret’ => ‘XXXXXX’,
‘trusted_domains’ =>
array (
0 => ‘XXXXXX’,
),
‘dbtype’ => ‘mysql’,
‘version’ => ‘20.0.10.1’,
‘overwrite.cli.url’ => ‘XXXXX’,
‘dbname’ => ‘nextcloud’,
‘dbhost’ => ‘mariadb:3306’,
‘dbport’ => ‘’,
‘dbtableprefix’ => ‘oc_’,
‘installed’ => true,
‘twofactor_enforced’ => ‘true’,
‘twofactor_enforced_groups’ =>
array (
0 => ‘admin’,
),
‘twofactor_enforced_excluded_groups’ =>
array (
),
‘maintenance’ => true,
‘dbuser’ => ‘XXXX’,
‘theme’ => ‘’,
‘loglevel’ => 2,
‘mysql.utf8mb4’ => true,
‘updater.secret’ => 'XXXX,
);


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

Hey!
In your config.php you’ve got maintenance set to true. Can you try again after setting it to false?
If you’re still stuck try this [SOLVED] Update NC15 --> NC16.0.3: "Step 6 is currently in process. Please reload this page later." - #2 by stratacast.

I reset the flag without any result. I then followed the directions in the post you linked to to run the update from the console, the process errored out in the same step with this error:

[ ] Extracting ...PHP Warning:  require(/config/www/nextcloud/updater/../version.php): failed to open stream: No such file or directory in phar:///config/www/nextcloud/updater/updater.phar/lib/Updater.php on line 658
PHP Fatal error:  require(): Failed opening required '/config/www/nextcloud/updater/../version.php' (include_path='.:/usr/share/php7') in phar:///config/www/nextcloud/updater/updater.phar/lib/Updater.php on line 658```

I ended up just reinstalling