I tried upgrading and the system is now in maintenance mode.Below is a string of error that i am getting.
ncadmin@cloud:~$ sudo -s
[sudo] password for ncadmin:
root@cloud:~# sudo -u www-data php /var/www/nextcloud/occ -V
An unhandled exception has been thrown:
OCP\AppFramework\QueryException: Could not resolve defaultTokenProvider! Class defaultTokenProvider does not exist in /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php:110
Stack trace:
#0 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(125): OC\AppFramework\Utility\SimpleContainer->resolve(‘defaultTokenPro…’)
#1 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘defaultTokenPro…’)
#2 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(81): OC\ServerContainer->query(‘defaultTokenPro…’)
#3 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(104): OC\AppFramework\Utility\SimpleContainer->buildClass(Object(ReflectionClass))
#4 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(125): OC\AppFramework\Utility\SimpleContainer->resolve(‘OC\Authenticati…’)
#5 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘OC\Authenticati…’)
#6 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(171): OC\ServerContainer->query(‘OC\Authenticati…’)
#7 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(114): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}(Object(OC\Server))
#8 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(123): Pimple\Container->offsetGet(‘OC\Authenticati…’)
#9 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘OC\Authenticati…’)
#10 /var/www/nextcloud/lib/private/Server.php(364): OC\ServerContainer->query(‘OC\Authenticati…’)
#11 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\Server->OC{closure}(Object(OC\Server))
#12 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(123): Pimple\Container->offsetGet(‘OCP\IUserSessio…’)
#13 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘OCP\IUserSessio…’)
#14 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(171): OC\ServerContainer->query(‘OCP\IUserSessio…’)
#15 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(114): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}(Object(OC\Server))
#16 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(123): Pimple\Container->offsetGet(‘UserSession’)
#17 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘UserSession’)
#18 /var/www/nextcloud/lib/private/Server.php(1415): OC\ServerContainer->query(‘UserSession’)
#19 /var/www/nextcloud/lib/private/Server.php(1023): OC\Server->getSession()
#20 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\Server->OC{closure}(Object(OC\Server))
#21 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(123): Pimple\Container->offsetGet(‘OC\Security\CSR…’)
#22 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘OC\Security\CSR…’)
#23 /var/www/nextcloud/lib/private/Server.php(1019): OC\ServerContainer->query(‘OC\Security\CSR…’)
#24 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\Server->OC{closure}(Object(OC\Server))
#25 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(123): Pimple\Container->offsetGet(‘CsrfTokenManage…’)
#26 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘CsrfTokenManage…’)
#27 /var/www/nextcloud/lib/private/Server.php(1878): OC\ServerContainer->query(‘CsrfTokenManage…’)
#28 /var/www/nextcloud/lib/private/Server.php(815): OC\Server->getCsrfTokenManager()
#29 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\Server->OC{closure}(Object(OC\Server))
#30 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(123): Pimple\Container->offsetGet(‘OCP\IRequest’)
#31 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘OCP\IRequest’)
#32 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(171): OC\ServerContainer->query(‘OCP\IRequest’)
#33 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(114): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}(Object(OC\Server))
#34 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(123): Pimple\Container->offsetGet(‘Request’)
#35 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘Request’)
#36 /var/www/nextcloud/lib/private/Server.php(1282): OC\ServerContainer->query(‘Request’)
#37 /var/www/nextcloud/lib/private/Server.php(454): OC\Server->getRequest()
#38 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\Server->OC{closure}(Object(OC\Server))
#39 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(123): Pimple\Container->offsetGet(‘OCP\L10N\IFacto…’)
#40 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘OCP\L10N\IFacto…’)
#41 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(171): OC\ServerContainer->query(‘OCP\L10N\IFacto…’)
#42 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(114): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}(Object(OC\Server))
#43 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(123): Pimple\Container->offsetGet(‘L10NFactory’)
#44 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘L10NFactory’)
#45 /var/www/nextcloud/lib/private/Server.php(1468): OC\ServerContainer->query(‘L10NFactory’)
#46 /var/www/nextcloud/lib/private/Server.php(1479): OC\Server->getL10NFactory()
#47 /var/www/nextcloud/lib/base.php(234): OC\Server->getL10N(‘lib’)
#48 /var/www/nextcloud/lib/base.php(659): OC::checkConfig()
#49 /var/www/nextcloud/lib/base.php(1070): OC::init()
#50 /var/www/nextcloud/console.php(46): require_once(’/var/www/nextcl…’)
#51 /var/www/nextcloud/occ(11): require_once(’/var/www/nextcl…’)
#52 {main}PHP Fatal error: Uncaught OCP\AppFramework\QueryException: Could not resolve defaultTokenProvider! Class defaultTokenProvider does not exist in /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php:110
Stack trace:
#0 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(125): OC\AppFramework\Utility\SimpleContainer->resolve(‘defaultTokenPro…’)
#1 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘defaultTokenPro…’)
#2 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(81): OC\ServerContainer->query(‘defaultTokenPro…’)
#3 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(104): OC\AppFramework\Utility\SimpleContainer->buildClass(Object(ReflectionClass))
#4 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(125): OC\AppFramework\Utility\SimpleContainer->resolve(‘OC\Authenticati…’)
#5 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\Simp in /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php on line 110
root@cloud:~#