• Resources
  • Free Flarum hosting on an expert platform by FreeFlarum.com

DavecUK it seems to be that error message that I have encountered today:

flarum.ERROR: TypeError: array_merge(): Argument #2 must be of type array, int given in /app/vendor/wikimedia/less.php/lib/Less/Parser.php:585
Stack trace:
#0 /app/vendor/wikimedia/less.php/lib/Less/Parser.php(585): array_merge()
#1 /app/vendor/wikimedia/less.php/lib/Less/Parser.php(470): Less_Parser->_parse()
#2 /app/vendor/flarum/core/src/Frontend/Compiler/LessCompiler.php(106): Less_Parser->parseFile()
#3 /app/vendor/flarum/core/src/Frontend/Compiler/RevisionCompiler.php(137): Flarum\Frontend\Compiler\LessCompiler->compile()
#4 /app/vendor/flarum/core/src/Frontend/Compiler/RevisionCompiler.php(75): Flarum\Frontend\Compiler\RevisionCompiler->save()
#5 /app/vendor/flarum/core/src/Frontend/Compiler/RevisionCompiler.php(110): Flarum\Frontend\Compiler\RevisionCompiler->commit()
#6 /app/vendor/flarum/core/src/Frontend/Content/Assets.php(79): Flarum\Frontend\Compiler\RevisionCompiler->getUrl()
#7 [internal function]: Flarum\Frontend\Content\Assets->Flarum\Frontend\Content\{closure}()
#8 /app/vendor/flarum/core/src/Frontend/Content/Assets.php(78): array_map()#9 /app/vendor/flarum/core/src/Frontend/Content/Assets.php(56): Flarum\Frontend\Content\Assets->getUrls()
#10 /app/vendor/flarum/core/src/Frontend/Frontend.php(62): Flarum\Frontend\Content\Assets->__invoke()

I am not sure what might be causing it. I tried recursively updating the permissions for folders, but that didn't help. All extensions were rolled back, and forum was synced multiple times (so DB migrate and cache cleared). My best guess is that maybe .gitignore files weren't rolled back, which results in mixed content of "old" and "new" (since I reverted it from our GitHub). I'll check if that's the case, and let you know of updates

Edit: yeah, it was that - storage/less was ignored, so it had less from the future. Now, admin panel should be accessible - can you check that, please?

    SKevo I can access the admin panel now. I think server side you must still have some resource issues, but I imagine that will ripple through the system overnight.

    Thanks

      DavecUK I think server side you must still have some resource issues, but I imagine that will ripple through the system overnight.

      Hopefully. I am clearing lesscache for all forums now, which should finally solve the issue for everyone.

      Also, feel free to remove my SKevo account now that it was resolved.

      Hello, my forum is run into a error when loading up and is make mess. I sync from settings but still broken yet.

      I cannot get access to admin panel.

      Okay there a bug with asirem. But my forum is fine after the reset.

        wolfshards I cannot get access to admin panel.

        This is related to the issue above. It should be resolved overnight/in cca. 5 hours

          SKevo This is related to the issue above. It should be resolved overnight/in cca. 5 hours

          mhh.. we get this message:
          Flarum encountered a boot error. Details have been logged to the Flarum log file.

          anyway - thx 4 your work 🙂

            SKevo i am at work now, will look later. atm it is very slow and after refresh it comes: 504 Gateway Time-out or Flarum encountered a boot error. Details have been logged to the Flarum log file.

            SKevo Can you please check https://freeflarum.com/settings/logs and paste the latest log trace here?

            nice try 😉 i get this message
            Internal Server Error
            The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

              Yolo it's because of server overload - rsync is still syncing forums. I will terminate it for now and wait for the load to get back to normal (https://freeflarum.com/status).

              Is your forum accessible now?

              Edit: turns out that cron was eating IO too. It was an unfortunate coincidence that I was rsyncing forums along with cron doing its job (right after clearing lesscache for all forums). Cron uses ionice, which should mitigate this, however we don't use that for rsync (yet). I will wait for dust to settle, and then re-run each task one after another. Since not all forums have been rsynced, you might want to fix them up first - and if that doesn't work, please contact me.

              I have now terminated processes that were taking up too much RAM/CPU. I deeply apologize for all the incidents that have happened yesterday and today. Please, let me know if the issue persists.

              I am actually considering to create a better status page for FreeFlarum (with incident reports) and a Twitter account for status updates - so that the community stays up-to-date with latest alerts, maintenances and downtime.

                technoob if you are talking about the trace from earlier (technoob), then I just noticed that it is related to E-mail.

                If not, then it would be helpful if you could provide me some specific log (either from console or server-side). The best would be if you'd share your forum name with me so I can look at it

                  SKevo Sure, the name is PDD. Last night the page header was loading but today I just get a blank screen saying "An error occurred while trying to load this page."

                    SKevo It is, thank you for the help 🙂

                    I noticed the nightmode extensions is disabled. Is that something that you turned off?

                      technoob yes, I disabled it globally because I suspected that it might be causing problems, since I saw some error logs related to it in PHP-FPM when I attempted to upgrade. I now see that it happened because the new version requires Flarum 1.4.0, which FreeFlarum is not on, yet. It should be safe to turn it on now, since I rolled back the extension upgrade.


                      FreeFlarum now has a dedicated status page and Twitter! Currently, it monitors the health of FreeFlarum globally (e. g.: if backups are being created, server load, etc...) and our Skeleton PHP forum. I will post important status notifications at Twitter, and provide a more detailed description of the incident here. This will make sure that you (and your users) are notified of any downtime as soon as I find out about it.

                      Let's test it out and see how it looks like:

                        @SKevo is working fine right here! thx for everything <3

                        it is nice that you try to manage but it is still not working fine 🙁
                        Flarum encountered a boot error.

                          tom23 not all lesscache was deleted. I am still running fixes for the rest of the forums. If you tell me your forum name/URL, I'll fix it for you sooner