Skip to content

Version 6.0.2

Choose a tag to compare

@andreapollastri andreapollastri released this 01 Dec 19:49
· 20 commits to main since this release

[6.0.2] - 2026-12-01

Fixed

  • An update started from the dashboard stopped on Composer — The HOME or COMPOSER_HOME environment variable must be set for composer to run correctly: PHP-FPM clears the environment of what it starts, and Composer does not run without a home. The update is now given the home of the user it runs as (from the system when the environment has none; a folder of its own for a service account with no home; APPDATA on Windows), and a PATH with the PHP of the project first — so the composer of the PATH resolves the packages with the version the app runs on — and the places Composer and git usually are (/usr/local/bin, /opt/homebrew/bin, Herd). The nightly run and larapilot:self-update apply take the same environment.
  • Coming from 6.0.0 or 6.0.1 the page cannot fix itself: update once from a terminal — composer update andreapollastri/larapilot --with-dependencies, then php artisan larapilot:update — and Update works from then on.

Changed

  • The Composer of the project — a composer.phar at the root of the project is the one an update calls, with the PHP of the project; LARAPILOT_COMPOSER still names another.
  • Composer not found is said so — when the shell does not find composer (a web server has a shorter PATH than your terminal), the update no longer reports a failed composer update: it names LARAPILOT_COMPOSER and the path to give it.

Docs

  • Upgrading: what an update started from the page runs with, and LARAPILOT_COMPOSER; the variable in Configuration and in the README.
  • Site / package version v6.0.2.