Error while upgrading Nextant to 0.10.0-rc1

I had nextant 0.6.5. Tried to install 0.10.0-rc1.
While running upgrade, I got this error:

root@sf-hosting:/var/www/html# sudo -u www-data php occ upgrade
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Set log level to debug
Turned on maintenance mode
Checking whether the database schema can be updated (this can take a long time depending on the database size)
 Done
 27/27 [============================] 100%
Checked database schema update
Checking updates of apps
Checked database schema update for apps
Updating database schema
Updated database
Updating <nextant> ...
An unhandled exception has been thrown:
Error: Class 'Solarium\Client' not found in /var/www/html/apps/nextant/lib/AppInfo/Application.php:175
Stack trace:
#0 /var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OCA\Nextant\AppInfo\Application->OCA\Nextant\AppInfo\{closure}(Object(OC\AppFramework\Depend                             encyInjection\DIContainer))
#1 /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php(103): Pimple\Container->offsetGet('SolariumClient')
#2 /var/www/html/apps/nextant/lib/AppInfo/Application.php(93): OC\AppFramework\Utility\SimpleContainer->query('SolariumClient')
#3 /var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OCA\Nextant\AppInfo\Application->OCA\Nextant\AppInfo\{closure}(Object(OC\AppFramework\Depend                             encyInjection\DIContainer))
#4 /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php(103): Pimple\Container->offsetGet('SolrService')
#5 /var/www/html/apps/nextant/lib/AppInfo/Application.php(182): OC\AppFramework\Utility\SimpleContainer->query('SolrService')
#6 /var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OCA\Nextant\AppInfo\Application->OCA\Nextant\AppInfo\{closure}(Object(OC\AppFramework\Depend                             encyInjection\DIContainer))
#7 /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php(103): Pimple\Container->offsetGet('OCA\\Nextant\\Mig...')
#8 /var/www/html/lib/private/ServerContainer.php(82): OC\AppFramework\Utility\SimpleContainer->query('OCA\\Nextant\\Mig...')
#9 /var/www/html/lib/private/Repair.php(104): OC\ServerContainer->query('OCA\\Nextant\\Mig...')
#10 /var/www/html/lib/private/legacy/app.php(1280): OC\Repair->addStep('OCA\\Nextant\\Mig...')
#11 /var/www/html/lib/private/legacy/app.php(1222): OC_App::executeRepairSteps('nextant', Array)
#12 /var/www/html/lib/private/Updater.php(402): OC_App::updateApp('nextant')
#13 /var/www/html/lib/private/Updater.php(278): OC\Updater->doAppUpgrade()
#14 /var/www/html/lib/private/Updater.php(151): OC\Updater->doUpgrade('9.1.1.5', '9.1.1.5')
#15 /var/www/html/core/Command/Upgrade.php(292): OC\Updater->upgrade()
#16 /var/www/html/3rdparty/symfony/console/Command/Command.php(259): OC\Core\Command\Upgrade->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Sym                             fony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/3rdparty/symfony/console/Application.php(844): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput),                              Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/3rdparty/symfony/console/Application.php(192): Symfony\Component\Console\Application->doRunCommand(Object(OC\Core\Command\Upgrade), Object(Symfon                             y\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/3rdparty/symfony/console/Application.php(123): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Ob                             ject(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/lib/private/Console/Application.php(146): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Sy                             mfony\Component\Console\Output\ConsoleOutput))
#21 /var/www/html/console.php(90): OC\Console\Application->run()
#22 /var/www/html/occ(11): require_once('/var/www/html/c...')
#23 {main}root@sf-hosting:/var/www/html
# 

Any idea, what went wrong?

I put 0.6.5 back and it still working ok.

I think you might have downloaded the source code only, not the whole installation zip file. The source code does not include all libraries. You will need to ‘build’ the app (instructions)

Or download the whole installation zip:

https://github.com/nextcloud/nextant/releases/download/0.10.0-rc/nextant-0.10.x-0.6.912.tar.gz
or
https://github.com/nextcloud/nextant/releases/download/0.10.0-rc/nextant-0.10.x-0.6.912.zip

1 Like

Yes, you were right.
Downloaded right file and now it working great.

Thank you