-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade error to 19 RC3 #21067
Comments
I have been working on upgrading my environment this evening from 18.0.4 to the new 19.0.0 release. I ran into the exact error described by OsiMood. After the first failed attempt, I rolled my ZFS snapshots back and performed the upgrade to 18.0.5 thinking maybe a subsequent update to 19.0.0 would succeed. I had no issues updating to 18.0.5, however, got the same error again when attempting upgrade to 19.0.0 again. As described by OsiMood, re-running the upgrade seems to complete with no further errors, but having issues after the upgrade. In my case, I use SSO SAML with Microsoft Azure AD. After upgrading and logging in via SSO, I am just getting redirected to the saml page in nextcloud that displays the text "null". Disabled the user_saml app and was able to login with username/password, but not sure why the user_saml app broke. I rolled back to 18.0.5 again and tried the upgrade once more, but same errors. I'm sticking with 18.0.5 for now until there are any updates with this issue. I'm happy to provide any information that will be helpful for identifying the problem. |
Had the same crash when updating to 19 final through archlinux package. subsequent incovation of occ upgrade worked and everything seems working normally now. |
So I tried again and removed the OCR app prior to upgrading. I had no errors, however the SAML integration still broke. Seems to be some issues with the individual apps and likely not the core Nextcloud software. |
Closing in favour of janis91/ocr#281. The issue is caused by OCR app calling a function the wrong way. |
When upgrading from 19RC2 to RC3 I used the command line and end-up with this message
` Set log level to debug
Updating database schema
Updated database
Disabled incompatible app: breezedark
Disabled incompatible app: impersonate
Disabled incompatible app: keeweb
Cleanup ocr app data folder.
Starting ...
0/1 [>---------------------------] 0%An unhandled exception has been thrown:
TypeError: Argument 1 passed to Symfony\Component\Console\Helper\ProgressBar::advance() must be of the type int, string given, called in /var/www/html/nextcloud/core/Command/Upgrade.php on line 144 and defined in /var/www/html/nextcloud/3rdparty/symfony/console/Helper/ProgressBar.php:310
Stack trace:
#0 /var/www/html/nextcloud/core/Command/Upgrade.php(144): Symfony\Component\Console\Helper\ProgressBar->advance()
#1 /var/www/html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php(264): OC\Core\Command\Upgrade->OC\Core\Command{closure}()
#2 /var/www/html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php(239): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch()
#3 /var/www/html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php(73): Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
#4 /var/www/html/nextcloud/lib/private/EventDispatcher/SymfonyAdapter.php(70): Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
#5 /var/www/html/nextcloud/lib/private/Repair.php(201): OC\EventDispatcher\SymfonyAdapter->dispatch()
#6 /var/www/html/nextcloud/lib/private/Repair.php(232): OC\Repair->emit()
#7 /var/www/html/nextcloud/apps/ocr/lib/Migration/CleanupTessdata.php(48): OC\Repair->advance()
#8 /var/www/html/nextcloud/lib/private/Repair.php(103): OCA\Ocr\Migration\CleanupTessdata->run()
#9 /var/www/html/nextcloud/lib/private/legacy/OC_App.php(976): OC\Repair->run()
#10 /var/www/html/nextcloud/lib/private/App/AppManager.php(412): OC_App::executeRepairSteps()
#11 /var/www/html/nextcloud/lib/private/Updater.php(410): OC\App\AppManager->disableApp()
#12 /var/www/html/nextcloud/lib/private/Updater.php(253): OC\Updater->checkAppsRequirements()
#13 /var/www/html/nextcloud/lib/private/Updater.php(130): OC\Updater->doUpgrade()
#14 /var/www/html/nextcloud/core/Command/Upgrade.php(255): OC\Updater->upgrade()
#15 /var/www/html/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OC\Core\Command\Upgrade->execute()
#16 /var/www/html/nextcloud/3rdparty/symfony/console/Application.php(1012): Symfony\Component\Console\Command\Command->run()
#17 /var/www/html/nextcloud/3rdparty/symfony/console/Application.php(272): Symfony\Component\Console\Application->doRunCommand()
#18 /var/www/html/nextcloud/3rdparty/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun()
#19 /var/www/html/nextcloud/lib/private/Console/Application.php(215): Symfony\Component\Console\Application->run()
#20 /var/www/html/nextcloud/console.php(100): OC\Console\Application->run()
#21 /var/www/html/nextcloud/occ(11): require_once('/var/www/html/n...')`
When running the upgrade for a second time, it went through but, when I launch my next cloud, this page is welcoming me:
Enabled:
Disabled:
The text was updated successfully, but these errors were encountered: