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

pxnji check the Flarum log file or try running the php flarum cache:clear command from SSH.

https://docs.flarum.org/troubleshoot

The IOException error just means the cache clear command failed in the background. Details will only be logged to the command line or log file.

It has likely nothing to do with the Extension Manager at all. Likely relates to filesystem permissions.

    pxnji refer to the section on the Flarum install guide in regards to ownership and permissions.

      pxnji what user runs the site as and what user owns the storage/cache directory?

        pxnji please share the exact error message found in the Flarum log file. If it's a filesystem issue, it will say which folder(s) are not configured properly. And if it's something else then the error message is the only way we will be able to help.

          luceos I found out there is a folder inside storage/cache that the user who owns it is root. So, I changed it to www, and then it's fixed.

          clarkwinkelmann Everything is fixed now.

          Thank you guys!

          2 months later

          I installed this extension after upgrading flarum to 1.8.5. When I try to turn on the extension, I can't. It goes back to "Disable"

          What happens?

          8 days later

          Installed the extension manager and it works well but when I install an extension i get the message:

          Oops! Something went wrong. Please reload the page and try again.

          But when I reload the page, the extension has installed successfully. Is there something I can do to fix this?

            luceos

            What am I looking for in here. I can see this mentioning extension manager:

            #3 /vendor/flarum/extension-manager/src/Support/Util.php(68): Symfony\Component\Console\Input\ArgvInput->__toString()
            #4 /vendor/flarum/extension-manager/src/Composer/ComposerAdapter.php(94): Flarum\ExtensionManager\Support\Util::readableConsoleInput()
            #5 /vendor/flarum/extension-manager/src/Command/RequireExtensionHandler.php(79): Flarum\ExtensionManager\Composer\ComposerAdapter->run()

            I can see an error at the top of the log but not sure how connected that is?
            [2024-05-15 11:48:33] flarum.ERROR: Error: Call to undefined function Symfony\Component\Console\Input\escapeshellarg() in /vendor/symfony/console/Input/Input.php:195

            I don't know if you need the full log file or not to see what's going on? I've just tried to install another plugin to reproduce the error and it writes another log file for today with several rows on it.

            a month later

            What will the authentication section be like?

              4 days later

              Can this be installed despite lots of other extensions already being installed? Thank you

                6 days later
                10 days later

                composer update flarum/extension-manager

                Do not run Composer as root/super user! See https://getcomposer.org/root for details
                Continue as root/super user [yes]? yes
                Loading composer repositories with package information
                Updating dependencies
                Nothing to modify in lock file
                Installing dependencies from lock file (including require-dev)
                Nothing to install, update or remove
                Package nunomaduro/larastan is abandoned, you should avoid using it. Use larastan/larastan instead.
                Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
                Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
                Generating autoload files
                212 packages you are using are looking for funding.
                Use the composer fund command to find out more!
                Found 3 security vulnerability advisories affecting 1 package.
                Run "composer audit" for a full list of advisories.

                Not Working Update 1.0.2 -> 1.0.3

                  Litalino Not Working Update 1.0.2 -> 1.0.3

                  Sounds like it's already installed, run

                  composer show flarum/extension-manager

                  and

                  composer why-not flarum/extension-manager 1.0.3

                  For debugging information.