• MetaBlog
  • Extension Manager Stable Release & Install Flarum Via ZIP File

Litalino If you have an extension installed with a specific version like 2.5 or 2.0
And the extension has two updates, a 2.8 and a 3.4

The soft update will update the extension to 2.8 (minor version update, within constraint)
The hard update will update the extension to 3.4 (latest version matching stability criteria)

We will see to include this in our documentation as well.

GreXXL Can you share how much memory you have allocated to your PHP process running Flarum?

Where do I find this information in virtualmin/webmin?

Are you talking about this?
These are default values. I didn't modify anything on this side when installing my server.

memory_limit = 128M

This seems correct to me.

    dad72 Yes, that is what I meant, but that should be fine. As I understand, the issue is fixed for you after using the DB queue? If you run into a class error, you maybe also want to run composer install --prefer-dist --no-dev -a to verify all dependencies have been installed correctly.

    Yes, after installing the DB queue it fixed.
    I will test soon composer install --prefer-dist --no-dev -a

    [2024-01-17 05:22:15] composer.ERROR: require 'fof/recaptcha:*'
    /home/public_html/composer.json has been updated
    Running composer update fof/recaptcha
    Loading composer repositories with package information
    Updating dependencies
    Your requirements could not be resolved to an installable set of packages.

    Problem 1
    - blomstra/digest is fixed to 0.1.0-beta.11.7 (lock file version) by a partial update but that version is rejected by your minimum-stability. Make sure you list it as an argument for the update command.
    Problem 2
    - davwheat/blog-featured-widget is fixed to 0.1.0-beta.3 (lock file version) by a partial update but that version is rejected by your minimum-stability. Make sure you list it as an argument for the update command.

    Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

    Installation failed, reverting /home/public_html/composer.json and /home/public_html/composer.lock to their original content.


    ///////////////////

    [2024-01-17 05:25:52] composer.ERROR: update 'fof/links'
    Loading composer repositories with package information
    Updating dependencies
    Your requirements could not be resolved to an installable set of packages.

    Problem 1
    - blomstra/digest is fixed to 0.1.0-beta.11.7 (lock file version) by a partial update but that version is rejected by your minimum-stability. Make sure you list it as an argument for the update command.
    Problem 2
    - davwheat/blog-featured-widget is fixed to 0.1.0-beta.3 (lock file version) by a partial update but that version is rejected by your minimum-stability. Make sure you list it as an argument for the update command.

    Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

    Minimum Stability >> select Beta <<OK

      Litalino seems as if you have expressly set the extension to a fixed version. You can visit the extension setting page and do a "Hard update" so it will update to the latest available version.

      in the settings extension .. settings except the beta version cannot be hard update

      It is very good that such a function will be ready.

      Many users abandoned Flarum due to the complex process of installing extensions.

        User7 It is very good that such a function will be ready

        It already is available 👍

        User7 Many users abandoned Flarum due to the complex process of installing extensions.

        Where exactly did you hear this?

          luceos Where exactly did you hear this?

          It was a long time ago. When they asked me how to install extensions. I answered via composer.
          But now Flarum is a complete solution. I'm glad about this. I want to use it on many projects and personal blogs.

          Another good option would be to install Flarum from hosting control panel. Something like WordPress.
          I don’t know about now, if you have something like this or plans, that’s very cool.

          When trying to run 'Check for Updates' I'm getting this error:
          Oops! Something went wrong. Please reload the page and try again.

          And checking the logs in the /storage/logs I see this:

          flarum.ERROR: Error: Call to undefined function Flarum\ExtensionManager\set_time_limit() in /****/my-domain-com/vendor/flarum/extension-manager/src/ExtensionManagerServiceProvider.php:53

          Any idieas

            tyrro seems disabled in your PHP settings. Can you check your php info if set_time_limit is not included in your disabled_functions?

              Yes, set_time_limit was included in disabled_functions. It's working now, thanks.

              Now when trying to update any available extension I'm getting the following error:
              composer.ERROR: require 'fof/user-bio:*'
              /*****/my-domain-com/composer.json has been updated
              Running composer update fof/user-bio
              Loading composer repositories with package information
              Updating dependencies
              Your requirements could not be resolved to an installable set of packages.

              Problem 1
              - laminas/laminas-diactoros 2.17.0 requires php ^7.4 || ~8.0.0 || ~8.1.0 -> your php version (8.2.15) does not satisfy that requirement.
              - flarum/core v1.8.5 requires laminas/laminas-diactoros ^2.4.1 -> satisfiable by laminas/laminas-diactoros[2.17.0].
              - flarum/core is locked to version v1.8.5 and an update of this package was not requested.

              Installation failed, reverting /*****/my-domain-com/composer.json and /*****/my-domain-com/composer.lock to their original content.

                I think something weird is going on, it now reports I have PHP ver 7.4.33, although I actually have 8.2.15 installed. See errors below when I try manually to update an extension:

                Problem 1
                - fof/byobu is locked to version 1.3.5 and an update of this package was not requested.
                - fof/byobu 1.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.
                Problem 2
                - fof/sitemap is locked to version 2.2.1 and an update of this package was not requested.
                - fof/sitemap 2.2.1 requires php 8.* -> your php version (7.4.33) does not satisfy that requirement.
                Problem 3
                - laminas/laminas-diactoros 2.26.0 requires php ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (7.4.33) does not satisfy that requirement.
                - flarum/core v1.8.5 requires laminas/laminas-diactoros ^2.4.1 -> satisfiable by laminas/laminas-diactoros[2.26.0].
                - flarum/core is locked to version v1.8.5 and an update of this package was not requested.