You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These modules require that composer be installed on the web boxes or executable by a user with ability to store cached items. This is currently not supported on Silverstripe Cloud and causes PHP errors to be thrown by the recipe during normal behaviour.
Error
Uncaught Exception RuntimeException: "The HOME or COMPOSER_HOME environment variable must be set for composer to run correctly" at /var/www/mysite/releases/63e07fc364b9f90ab583e83a6f04bb72a26faf20/vendor/composer/composer/src/Composer/Factory.php line 652 {"exception":"[object] (RuntimeException(code: 0): The HOME or COMPOSER_HOME environment variable must be set for composer to run correctly at /var/www/mysite/releases/63e07fc364b9f90ab583e83a6f04bb72a26faf20/vendor/composer/composer/src/Composer/Factory.php:652)"}
How to Replicate
Use CWP Basic Recipe to create website and deploy to Silverstripe Cloud.
Navigate to /dev/tasks URL
PHP Error is presented about HOME and COMPOSER_HOME environment variables not being set.
Issue
Recipe currently requires a couple of modules that have a hard dependancy on Composer being installed.
Modules:
These modules require that
composerbe installed on the web boxes or executable by a user with ability to store cached items. This is currently not supported on Silverstripe Cloud and causes PHP errors to be thrown by the recipe during normal behaviour.Error
How to Replicate
/dev/tasksURLHOMEandCOMPOSER_HOMEenvironment variables not being set.