Skip to content

v1.23.2 — updates finish on 128 MB hosts

Choose a tag to compare

@github-actions github-actions released this 18 Oct 21:14
· 31 commits to main since this release

Fixed

  • Updates no longer fail at the very end on hosts with a 128 MB PHP memory limit. In Flarum 2, cache:clear rebuilds every frontend's CSS in one go, and the memory that takes grows with the extensions you have enabled: about 600 MB on a forum with many of them. On a host whose command-line PHP is capped at 128 MB, every update stopped at "clear caches". Millwright now runs Flarum's commands without that cap, the same way it already runs Composer. Thanks to Wil Vincent for sending the full error.
composer update ernestdefoe/millwright
php flarum cache:clear

If php flarum cache:clear itself runs out of memory on your host, run it as php -d memory_limit=-1 flarum cache:clear.