Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Nextcloud Upgrade Stuck

Scheduled Pinned Locked Moved Solved Support
7 Posts 2 Posters 303 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • doodlemania2D Offline
    doodlemania2D Offline
    doodlemania2 App Dev
    wrote on last edited by
    #1

    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}

    doodlemania2D girishG 2 Replies Last reply
    0
  • doodlemania2D Offline
    doodlemania2D Offline
    doodlemania2 App Dev
    replied to doodlemania2 on last edited by
    #2

    occ throws the same error, will attempt a roll back

    1 Reply Last reply
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    replied to doodlemania2 on last edited by
    #3

    @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.

    doodlemania2D 1 Reply Last reply
    0
  • doodlemania2D Offline
    doodlemania2D Offline
    doodlemania2 App Dev
    replied to girish on last edited by
    #4

    @girish is there a way to do that with the system offline?

    doodlemania2D 1 Reply Last reply
    0
  • doodlemania2D Offline
    doodlemania2D Offline
    doodlemania2 App Dev
    replied to doodlemania2 on last edited by
    #5

    @doodlemania2 said in Nextcloud Upgrade Stuck:

    oh, in fact there is lol - brb for test!

    1 Reply Last reply
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    wrote on last edited by
    #6

    Something along the lines of https://docs.cloudron.io/apps/nextcloud/#fixing-a-broken-install

    doodlemania2D 1 Reply Last reply
    0
  • doodlemania2D Offline
    doodlemania2D Offline
    doodlemania2 App Dev
    replied to girish on last edited by
    #7

    @girish bingo - that did it - next time I'll read the full error instead of freaking out - gotta love those "uncertified" apps! Thanks mate

    1 Reply Last reply
    0
  • nebulonN nebulon marked this topic as a question on
  • nebulonN nebulon has marked this topic as solved on

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.