Have been loving nextcloud for 1.5 years right now, reached an unsupported version so Trying to initiate upgrade from 18->19 (and then 20)
Doing this via console, running sudo -u www-data php /var/www/nextcloud/updater/updater.phar I get an error as below.
I get the following error:
2021-05-05T16:16:43+00:00 Checked for update of app “viewer” in appstore
2021-05-05T16:16:43+00:00 Checking for update of app workflowengine in appstore
2021-05-05T16:16:43+00:00 Checked for update of app “workflowengine” in appstore
An unhandled exception has been thrown:
Error: Call to undefined method OC\Server::get() in /var/www/nextcloud/lib/private/Repair.php:162
Stack trace:
#0 /var/www/nextcloud/lib/private/Updater.php(273): OC\Repair::getRepairSteps()
#1 /var/www/nextcloud/lib/private/Updater.php(130): OC\Updater->doUpgrade()
#2 /var/www/nextcloud/core/Command/Upgrade.php(255): OC\Updater->upgrade()
#3 /var/www/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OC\Core\Command\Upgrade->execute()
#4 /var/www/nextcloud/3rdparty/symfony/console/Application.php(1012): Symfony\Component\Console\Command\Command->run()
#5 /var/www/nextcloud/3rdparty/symfony/console/Application.php(272): Symfony\Component\Console\Application->doRunCommand()
#6 /var/www/nextcloud/3rdparty/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun()
#7 /var/www/nextcloud/lib/private/Console/Application.php(215): Symfony\Component\Console\Application->run()
#8 /var/www/nextcloud/console.php(100): OC\Console\Application->run()
#9 /var/www/nextcloud/occ(11): require_once(’/var/www/nextcl…’)
#10 {main}
Keep maintenance mode active? [y/N]
When I check my config.php, current version is still listed as ‘version’ => ‘18.0.14.1’,
Yet installer starts with:
Current version is 19.0.11 RC1.
Update to Nextcloud 19.0.11 RC1 available. (channel: “beta”)
Info: Pressing Ctrl-C will finish the currently running step and then stops the updater.
[] Check for expected files
[] Check for write permissions
[] Create backup
[] Downloading
[] Verify integrity
[] Extracting
[] Enable maintenance mode
[] Replace entry points
[] Delete old files
[] Move new files in place
[] Done
Any thoughts on where to go next with this? I have been googling without much success. Can post my config.php if that’s helpful.
Thanks in advance for the help, would love to get back up and running!
A