Flarum can't install extension(timed out)

Website URL

axforum.wuaze.com

Error Message

I can’t install any Flarum extension, log says connection timed out, but i can download it.How can i solve this?

I’m not a Flarum expert, so I’m not completely sure. But if I remember correctly, Flarum extensions are installed through Composer. Last time I checked, it was only possible to install extensions from the command line, but apparently they now have a web interface for it.

Under the hood, it probably still uses Composer though.

I can try to help, but I need more information.

  • What do the actual logs say about the installation? Sharing the relevant section of from the installation process would be ideal.
  • Which specific extension are you trying to install?
  • How did you install Flarum? Did you upload an existing/manual install, or did you use Softaculous?

Finally, since you already managed to install the extension locally, the clear workaround is to just install the extensions locally and the upload the vendor folder and composer.json and composer.lock files to your website.

My Flarum Version is 1.8.17, and I installed it from Softaculous.

I am installing the “flarum-lang/chinese-simplified” extension, and I am using extension manager.

The Full Log is under here: (I did not good with English, please understand.)

[2026-08-24 15:15:43] composer.ERROR: require 1 -W
PHP temp directory (/tmp) does not exist or is not writable to Composer. Set sys_temp_dir in your php.ini
/home/vol9_7/infinityfree.com/account/axforum.wuaze.com/htdocs/composer.json has been updated
Running composer update ianm/level-ranks --with-all-dependencies
Loading composer repositories with package information
repo POINT packagist POINT org could not be fully loaded (The “repo POINT packagist POINT org/p2/franzl/whoops-middleware.json” file could not be downloaded: Failed to open stream: Connection timed out), package information was loaded from the local cache and may be out of date

Installation failed, reverting /home/vol9_7/infinityfree.com/if0_account/axforum.wuaze.com/htdocs/composer.json and /home/vol9_7/infinityfree.com/if0_account/axforum.wuaze.com/htdocs/composer.lock to their original content.

In RemoteFilesystem.php line 481:

The “https://repo.packagist.org/p2/symfony/css-selector.json” file could no
t be downloaded: Failed to open stream: Connection timed out

Some Point is because i can’t upload over 1 links.

Thanks for you for watching my issue! Having a good day!

oh, sorry, i uploaded the wrong Logs. But it is the same as flarum-lang/chinese-simplified extension log.

That answers it then. It is trying to use composer which isn’t available here.

Admins answer above tells you the workaround

Oh yes, i didnt see that solution, thanks

You are a genius!!!