peterlu
We run Flarum on an on premise Kubernetes cluster on a small instance with 230 tags and no issues on performances (response time is around 500ms event if it is behind 2 reverse proxies). Maybe we do not reached the threshold of tags but we have probably much less cpu/memory capabilities than yours (1.8cpu, 3GB of ram).

In your stress test the problem start to appear at which count of tags ?

    5 days later

    rdarcel try 10k primary tags, and 30k secondary tags(3 secondary tags per primary tag), you will see what I mean🙂 If 10k primary tags is too much for you, try 1k or 3k to start with.

    peterlu Maybe Flarum core product team can help look into it as well.

    It is certainly something we should look into. Will bring this to light for @Franz as well who is working on some performance improvements before stable.

    10 months later

    Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.3.0". You are running 7.2.34. in /var/www/vendor/composer/platform_check.php on line 24

      zhuhoudong this is an old tutorial (Flarum moves quickly from beta to beta and major breaking changes were released during 2020). It might not be compatible with the latest Flarum version.

      That being said, what command gives you the error you shared? Flarum does not (yet) requires PHP 7.3 as of beta 14, so it's probably another package that's causing the issue.

        zhuhoudong Hi, from the top of my head, try this:

        • edit the first line of flarum-fpm.dockerfile to update PHP version (from 7.2 to 7.3)
        • rebuild the image
        • run docker-compose up -d

        I think this should solve the PHP dependency issue.

          nadi106 Thanks. New issue:

          Warning: file_put_contents(/var/www/public/../storage/sessions/46OJsvuTjdB9XTW20dY3SdETwebCJpXXs1UbuPTZ): failed to open stream: Permission denied in /var/www/vendor/illuminate/filesystem/Filesystem.php on line 133

          Fatal error: Uncaught Laminas\HttpHandlerRunner\Exception\EmitterException: Unable to emit response; headers already sent in /var/www/vendor/laminas/laminas-httphandlerrunner/src/Exception/EmitterException.php:19 Stack trace: #0 /var/www/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitterTrait.php(36): Laminas\HttpHandlerRunner\Exception\EmitterException::forHeadersSent() #1 /var/www/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitter.php(27): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->assertNoPreviousOutput() #2 /var/www/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(98): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->emit(Object(Laminas\Diactoros\Response\HtmlResponse)) #3 /var/www/vendor/flarum/core/src/Http/Server.php(42): Laminas\HttpHandlerRunner\RequestHandlerRunner->run() #4 /var/www/public/index.php(22): Flarum\Http\Server->listen() #5 {main} thrown in /var/www/vendor/laminas/laminas-httphandlerrunner/src/Exception/EmitterException.php on line 19

            zhuhoudong solved:

            [root@monitorcenter flarum]# cd ..
            [root@monitorcenter wwwroot]# chmod -R 777 flarum
            [root@monitorcenter wwwroot]# cd flarum/

              zhuhoudong chmod-ing with 777 permissions is not recommended and possesses a security concern. Consider fixing the issue by having the files owned by the proper user/group (sometimes www-data but may vary)

                nadi106 The Docker Flarum is installed and ready to use. But how can I change the English interface to the Chinese interface?

                Need to recreate the image, or is there any other way to install the plugin in the container? Thank you for your hint。

                  zhuhoudong install plugins using Composer. I believe plugins are installed in some directory under the git directory, so installing them regularly should work.

                  2 years later

                  I'm having the following error:

                   Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0". You are running 7.2.34. in /var/www/vendor/composer/platform_check.php on line 24

                  not sure how to solve it yet though...