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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Nextcloud Upgrade Stuck

    Support
    2
    7
    254
    Loading More Posts
    • 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.
    • doodlemania2
      doodlemania2 App Dev last edited by

      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 girish 2 Replies Last reply Reply Quote 0
      • doodlemania2
        doodlemania2 App Dev @doodlemania2 last edited by

        occ throws the same error, will attempt a roll back

        1 Reply Last reply Reply Quote 0
        • girish
          girish Staff @doodlemania2 last edited by

          @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 1 Reply Last reply Reply Quote 0
          • doodlemania2
            doodlemania2 App Dev @girish last edited by

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

            doodlemania2 1 Reply Last reply Reply Quote 0
            • doodlemania2
              doodlemania2 App Dev @doodlemania2 last edited by

              @doodlemania2 said in Nextcloud Upgrade Stuck:

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

              1 Reply Last reply Reply Quote 0
              • girish
                girish Staff last edited by

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

                doodlemania2 1 Reply Last reply Reply Quote 0
                • doodlemania2
                  doodlemania2 App Dev @girish last edited by

                  @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 Reply Quote 0
                  • Topic has been marked as a question  nebulon nebulon 
                  • Topic has been marked as solved  nebulon nebulon 
                  • First post
                    Last post
                  Powered by NodeBB