Nextcloud Upgrade Stuck
-
Getting an error on recent Nextcloud upgrade - here's the raw error, will try OCC commands but wanted to post here to get a thread started:
ug 25 10:02:25 {"reqId":"RBd94ZqosIE5169ZlMtX","level":0,"time":"2022-08-25T15:02:25+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"starting upgrade from 24.0.3.2 to 24.0.4.1","userAgent":"--","version":"24.0.3.2","data":{"app":"core"}}
Aug 25 10:02:25 {"reqId":"RBd94ZqosIE5169ZlMtX","level":1,"time":"2022-08-25T15:02:25+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used","userAgent":"--","version":"24.0.3.2","data":[]}
Aug 25 10:02:25 An unhandled exception has been thrown:
Aug 25 10:02:25 TypeError: Argument 1 passed to Symfony\Component\EventDispatcher\GenericEvent::getArgument() must be of the type string, int given, called in /app/code/lib/private/EventDispatcher/GenericEventWrapper.php on line 81 and defined in /app/data/apps/bbb/vendor/symfony/event-dispatcher/GenericEvent.php:60
Aug 25 10:02:25 Stack trace:
Aug 25 10:02:25 #0 /app/code/lib/private/EventDispatcher/GenericEventWrapper.php(81): Symfony\Component\EventDispatcher\GenericEvent->getArgument()
Aug 25 10:02:25 #1 /app/code/lib/private/Updater.php(499): OC\EventDispatcher\GenericEventWrapper->getArgument()
Aug 25 10:02:25 #2 /app/code/3rdparty/symfony/event-dispatcher/EventDispatcher.php(251): OC\Updater->OC{closure}()
Aug 25 10:02:25 #3 /app/code/3rdparty/symfony/event-dispatcher/EventDispatcher.php(73): Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
Aug 25 10:02:25 #4 /app/code/lib/private/EventDispatcher/SymfonyAdapter.php(122): Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
Aug 25 10:02:25 #5 /app/code/lib/private/Repair.php(259): OC\EventDispatcher\SymfonyAdapter->dispatch()
Aug 25 10:02:25 #6 /app/code/lib/private/Repair.php(122): OC\Repair->emit()
Aug 25 10:02:25 #7 /app/code/lib/private/Updater.php(252): OC\Repair->run()
Aug 25 10:02:25 #8 /app/code/lib/private/Updater.php(133): OC\Updater->doUpgrade()
Aug 25 10:02:25 #9 /app/code/core/Command/Upgrade.php(235): OC\Updater->upgrade()
Aug 25 10:02:25 #10 /app/data/apps/bbb/vendor/symfony/console/Command/Command.php(298): OC\Core\Command\Upgrade->execute()
Aug 25 10:02:25 #11 /app/data/apps/bbb/vendor/symfony/console/Application.php(1024): Symfony\Component\Console\Command\Command->run()
Aug 25 10:02:25 #12 /app/data/apps/bbb/vendor/symfony/console/Application.php(299): Symfony\Component\Console\Application->doRunCommand()
Aug 25 10:02:25 #13 /app/data/apps/bbb/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun()
Aug 25 10:02:25 #14 /app/code/lib/private/Console/Application.php(211): Symfony\Component\Console\Application->run()
Aug 25 10:02:25 #15 /app/code/console.php(100): OC\Console\Application->run()
Aug 25 10:02:25 #16 /app/code/occ(11): require_once('/app/code/conso...')
Aug 25 10:02:25 #17 {main} -
occ throws the same error, will attempt a roll back
-
@doodlemania2 said in Nextcloud Upgrade Stuck:
Aug 25 10:02:25 #10 /app/data/apps/bbb/vendor/symfony/console/Command/Command.php(298): OC\Core\Command\Upgrade->execute()
Looks like the
bbb
app is the culprit. Disable it and I suspect the update will succeed. -
@doodlemania2 said in Nextcloud Upgrade Stuck:
oh, in fact there is lol - brb for test!
-
-