Repository navigation
v1.23.2 — updates finish on 128 MB hosts
Fixed
- Updates no longer fail at the very end on hosts with a 128 MB PHP memory limit. In Flarum 2,
cache:clearrebuilds 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:clearIf php flarum cache:clear itself runs out of memory on your host, run it as php -d memory_limit=-1 flarum cache:clear.