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} -
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
-
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}@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
bbbapp is the culprit. Disable it and I suspect the update will succeed. -
@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
bbbapp is the culprit. Disable it and I suspect the update will succeed. -
@girish is there a way to do that with the system offline?
@doodlemania2 said in Nextcloud Upgrade Stuck:
oh, in fact there is lol - brb for test!
-
Something along the lines of https://docs.cloudron.io/apps/nextcloud/#fixing-a-broken-install
-
N nebulon marked this topic as a question on
-
N nebulon has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login