[deleted] remove bazaar and if console is in your composer.json remove it too.

Simultaneously posting 😂

  • [deleted]

Ugh...

Error booting Flarum: Class does not exist

    • [deleted]

    Content of composer.json

                                                                                                                                                                                                                                                                ```

    "amaurycarrade/flarum-ext-syndication": "0.2.0",
    "authy/php": "3.0",
    "bacon/bacon-qr-code": "2.0",
    "clarkwinkelmann/flarum-ext-circle-groups": "0.2.0",
    "clarkwinkelmann/flarum-ext-emojionearea": "0.2.0",
    "flagrow/byobu": "0.3.0-beta",
    "flagrow/direct-links": "0.2.0",
    "flagrow/impersonate": "0.2.0",
    "flagrow/linguist": "0.3.1",
    "flagrow/sitemap": "0.2.0",
    "flagrow/terms": "0.3.1",
    "flagrow/upload": "0.7.1",
    "flarum/approval": "0.1.0",
    "flarum/auth-facebook": "0.1.0",
    "flarum/auth-github": "0.1.0",
    "flarum/auth-twitter": "0.1.0",
    "flarum/bbcode": "0.1.0",
    "flarum/core": "0.1.0-beta.9",
    "flarum/emoji": "0.1.0",
    "flarum/flags": "0.1.0",
    "flarum/lang-english": "0.1.0",
    "flarum/likes": "0.1.0",
    "flarum/lock": "0.1.0",
    "flarum/markdown": "0.1.0",
    "flarum/mentions": "0.1.0",
    "flarum/pusher": "0.1.0",
    "flarum/statistics": "0.1.0",
    "flarum/sticky": "0.1.0",
    "flarum/subscriptions": "0.1.0",
    "flarum/suspend": "0.1.0",
    "flarum/tags": "0.1.0",
    "fof/disposable-emails": "0.1.0",
    "fof/follow-tags": "0.2.0",
    "fof/formatting": "0.1.2",
    "fof/links": "0.2.0",
    "fof/masquerade": "0.3.0",
    "fof/merge-discussions": "0.2.2",
    "fof/polls": "0.1.0",
    "fof/recaptcha": "0.1.0",
    "fof/share-social": "0.1.0",
    "fof/split": "0.4.1",
    "fof/user-bio": "0.1.2",
    "fof/user-directory": "0.3.1",
    "jordanjay29/flarum-ext-summaries": "0.3.1",
    "michaelbelgium/flarum-discussion-views": "v0.1.0-beta.8.2",
    "nomiscz/flarum-ext-auth-linkedin": "v0.1.0-beta.8.0",
    "oe800/flarum-ext-bbcode-alerts": "0.2.0",
    "reflar/cookie-consent": "0.2.0",
    "reflar/gamification": "3.1",
    "reflar/nightmode": "0.2.0",
    "reflar/polls": "1.3",
    "reflar/pwned-passwords": "0.2.0",
    "reflar/reactions": "1.0.0-beta.5.2",
    "reflar/twofactor": "0.1.2",
    "reflar/uncache": "0.1.0@beta",
    "saleksin/flarum-auth-google": "v0.1.0-beta.8.0.3",
    "squeevee/flarum-ext-fancybox": "0.2.0@beta",
    "symfony/process": "4.3",
    "v17development/flarum-seo": "1.0",
    "wiwatsrt/flarum-ext-best-answer": "0.2.1"

    [deleted] check your log file in storage logs flarum.log. And do you have anything inside your local extend.php?

      • [deleted]

      luceos No new logs, and nothing inside extend.php

      <?php
      
      /*
       * This file is part of Flarum.
       *
       * (c) Toby Zerner <toby.zerner@gmail.com>
       *
       * For the full copyright and license information, please view the LICENSE
       * file that was distributed with this source code.
       */
      
      use Flarum\Extend;
      
      return [
          // Register extenders here to customize your forum!
      ];
      • [deleted]

      [inoculrn@s011 discuss.guruwall.com]$ composer why flarum/core
      amaurycarrade/flarum-ext-syndication      v0.2.0             requires  flarum/core (^0.1.0-beta.8)
      clarkwinkelmann/flarum-ext-circle-groups  0.2.0              requires  flarum/core (^0.1.0-beta.8)
      clarkwinkelmann/flarum-ext-emojionearea   0.2.0              requires  flarum/core (^0.1.0-beta.8)
      flagrow/byobu                             0.3.0-beta         requires  flarum/core (^0.1.0-beta.8)
      flagrow/direct-links                      0.2.0              requires  flarum/core (^0.1.0-beta.8)
      flagrow/impersonate                       0.2.0              requires  flarum/core (^0.1.0-beta.8)
      flagrow/linguist                          0.3.1              requires  flarum/core (^0.1.0-beta.8)
      flagrow/sitemap                           0.2.0              requires  flarum/core (^0.1.0-beta.8)
      flagrow/terms                             0.3.1              requires  flarum/core (^0.1.0-beta.8)
      flagrow/upload                            0.7.1              requires  flarum/core (^0.1.0-beta.8)
      flarum/approval                           v0.1.0-beta.8      requires  flarum/core (^0.1.0-beta.8)
      flarum/auth-facebook                      v0.1.0-beta.9      requires  flarum/core (^0.1.0-beta.9)
      flarum/auth-github                        v0.1.0-beta.9      requires  flarum/core (^0.1.0-beta.9)
      flarum/auth-twitter                       v0.1.0-beta.9      requires  flarum/core (^0.1.0-beta.9)
      flarum/bbcode                             v0.1.0-beta.8      requires  flarum/core (^0.1.0-beta.8)
      flarum/emoji                              v0.1.0-beta.8      requires  flarum/core (^0.1.0-beta.8)
      flarum/flags                              v0.1.0-beta.9      requires  flarum/core (^0.1.0-beta.9)
      flarum/flarum                             -                  requires  flarum/core (^0.1.0-beta.9)
      flarum/lang-english                       v0.1.0-beta.9      requires  flarum/core (^0.1.0-beta.9)
      flarum/likes                              v0.1.0-beta.9      requires  flarum/core (^0.1.0-beta.9)
      flarum/lock                               v0.1.0-beta.9      requires  flarum/core (^0.1.0-beta.9)
      flarum/markdown                           v0.1.0-beta.9      requires  flarum/core (^0.1.0-beta.9)
      flarum/mentions                           v0.1.0-beta.9      requires  flarum/core (^0.1.0-beta.9)
      flarum/pusher                             v0.1.0-beta.9      requires  flarum/core (^0.1.0-beta.9)
      flarum/statistics                         v0.1.0-beta.9      requires  flarum/core (^0.1.0-beta.9)
      flarum/sticky                             v0.1.0-beta.9      requires  flarum/core (^0.1.0-beta.9)
      flarum/subscriptions                      v0.1.0-beta.9      requires  flarum/core (^0.1.0-beta.9)
      flarum/suspend                            v0.1.0-beta.9      requires  flarum/core (^0.1.0-beta.9)
      flarum/tags                               v0.1.0-beta.9      requires  flarum/core (^0.1.0-beta.9)
      fof/disposable-emails                     0.1.0              requires  flarum/core (^0.1.0-beta.8)
      fof/extend                                0.2.0              requires  flarum/core (^0.1.0-beta.8)
      fof/follow-tags                           0.2.0              requires  flarum/core (^0.1.0-beta.8)
      fof/formatting                            0.1.2              requires  flarum/core (^0.1.0-beta.8)
      fof/links                                 0.2.0              requires  flarum/core (^0.1.0-beta.8)
      fof/masquerade                            0.3.1              requires  flarum/core (^0.1.0-beta.8)
      fof/merge-discussions                     0.2.2              requires  flarum/core (^0.1.0-beta.8)
      fof/polls                                 0.1.1              requires  flarum/core (^0.1.0-beta.8)
      fof/recaptcha                             0.1.0              requires  flarum/core (^0.1.0-beta.8)
      fof/share-social                          0.1.1              requires  flarum/core (^0.1.0-beta.8)
      fof/split                                 0.4.1              requires  flarum/core (^0.1.0-beta.8)
      fof/user-bio                              0.1.2              requires  flarum/core (^0.1.0-beta.8)
      fof/user-directory                        0.3.1              requires  flarum/core (^0.1.0-beta.8)
      jordanjay29/flarum-ext-summaries          0.3.1              requires  flarum/core (^0.1.0-beta.8)
      michaelbelgium/flarum-discussion-views    v0.1.0-beta.8.2    requires  flarum/core (^0.1.0-beta.8)
      nomiscz/flarum-ext-auth-linkedin          v0.1.0-beta.8.0    requires  flarum/core (^0.1.0-beta.8)
      oe800/flarum-ext-bbcode-alerts            0.2.0              requires  flarum/core (^0.1.0-beta.8)
      reflar/cookie-consent                     0.2.0              requires  flarum/core (^0.1.0-beta.8)
      reflar/gamification                       3.1.2              requires  flarum/core (^0.1.0-beta.8)
      reflar/nightmode                          0.2.0              requires  flarum/core (^0.1.0-beta.8)
      reflar/pwned-passwords                    0.2.0              requires  flarum/core (^0.1.0-beta.8)
      reflar/reactions                          1.0.0-beta.5.2     requires  flarum/core (^0.1.0-beta.8)
      reflar/twofactor                          0.1.2              requires  flarum/core (^0.1.0-beta.8)
      reflar/uncache                            0.1.0-beta.3       requires  flarum/core (^0.1.0-beta-7)
      saleksin/flarum-auth-google               v0.1.0-beta.8.0.3  requires  flarum/core (^0.1.0-beta.8)
      v17development/flarum-seo                 1.0.1              requires  flarum/core (^0.1.0-beta.8)
      wiwatsrt/flarum-ext-best-answer           v0.2.2             requires  flarum/core (^0.1.0-beta.8)

      Try running php flarum info. It should also error but with more information. Use it with -vvv

        • [deleted]

        • Edited

        luceos no output, which is very odd

        [inoculrn@s011 discuss.guruwall.com]$ php flarum info -vvv
        [inoculrn@s011 discuss.guruwall.com]$

        No output from php flarum migrate either ??

        Try running composer dumpautoload

        • [deleted]

        • Edited
        [inoculrn@s011 discuss.guruwall.com]$ composer dumpautoload
        Generating autoload files

          [deleted] did that change the error? If not I recommend getting help on discord. I'm at the tennis court right now, it would be better if someone could take a look on your server or reproduce using the lock file.

            • [deleted]

            luceos No, it didn't. I think I'll recover from backup as it'll be quicker.

            • [deleted]

            Recovered from backup - didn't need to restore the DB.

            • [deleted]

            • Edited

            Created a DEV instance for further testing
            Tried the same process in DEV with the same results - error booting flarum.

              I had a similar issue where I was stuck on Beta 8.2, it was one of the 3rd party extensions I had installed but not enabled that was causing the issue. I'll try to reproduce and get back to you [deleted]

                • [deleted]

                Ralkage Thanks. I'm currently stripping out third party extensions in dev to see if I can get this working

                  [deleted] sorry, I was referring to your upgrade haha. Do let us know if you get your instance up and running again and if you're still facing issues, I'll try my best to assist 🙂

                  • [deleted]

                  Right - I'm getting somewhere. If I remove the below from composer.json, I can complete the upgrade
                  "jordanjay29/flarum-ext-summaries": "^0.3.1", "michaelbelgium/flarum-discussion-views": "v0.1.0-beta.8.2", "oe800/flarum-ext-bbcode-alerts": "^0.2.0", "nomiscz/flarum-ext-auth-linkedin": "v0.1.0-beta.8.0", "reflar/cookie-consent": "^0.2.0", "reflar/gamification": "^3.1", "reflar/nightmode": "^0.2.0", "reflar/polls": "^1.3", "reflar/pwned-passwords": "^0.2.0", "reflar/reactions": "1.0.0-beta.5.2", "reflar/twofactor": "^0.1.2" "saleksin/flarum-auth-google": "v0.1.0-beta.8.0.3", "symfony/process": "^4.3", "v17development/flarum-seo": "^1.0", "wiwatsrt/flarum-ext-best-answer": "^0.2.1"

                  Going to install again one by one in DEV to see where it's breaking

                  • [deleted]

                  OK, my DEV instance has been successfully upgraded to Beta 9. Bit of a painful exercise, but these two extensions seem to be incompatible

                  reflar/gamification
                  reflar/reactions

                  Anyone have any interest in making them so ? 🙂

                  Thanks