Details
Details
Version:
- PHP: 8.1
- Phorge: 960a1ab1ecd6
- Arcanist: 6718b32a64f2
Error message:
[2024-05-06 17:42:44] EXCEPTION: (CommandException) Command failed with error #-1! COMMAND php -d variables_order=E -r 'echo json_encode($_ENV);' STDOUT {"PHORGE_HOST":"code.foo.com","PHORGE_STORAGE_TYPE":"disk","PHORGE_ENABLE_IMAGEMAGICK":"true", "PHORGE_SHOW_PROTOTYPES":"true","PHP_VERSION":"81","PHORGE_ENABLE_PYGMENTS":"true", "_":"\/usr\/local\/bin\/gosu", "BASE_DIR":"\/app","PHORGE_SSL_CERT_KEY_FILE":"\/certs\/ssl.key","PHORGE_GIT_HTTPS":"1","PHORGE_TAG":"php8.1","PATH":"\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin","PHORGE_VCS_USER":"git","PHORGE_REPOSITORY_PATH":"\/repos","MY... (1,015 more byte(s)) ... STDERR (empty) at [<arcanist>/src/future/exec/ExecFuture.php:436] arcanist(head=master, ref.master=6718b32a64f2) #0 ExecFuture::raiseResultError(array) called at [<arcanist>/src/future/exec/ExecFuture.php:340] #1 ExecFuture::resolvex() called at [<arcanist>/src/future/exec/execx.php:17] #2 execx(string, string) called at [<arcanist>/src/utils/PhutilExecutionEnvironment.php:40] #3 PhutilExecutionEnvironment::repairMissingVariablesOrder() called at [<arcanist>/support/init/init-script.php:120] #4 __arcanist_init_script__() called at [<arcanist>/support/init/init-script.php:131] #5 include_once(string) called at [/app/phabricator/scripts/init/lib.php:12] #6 init_phabricator_script(array) called at [/app/phabricator/scripts/init/init-setup.php:11] #7 require_once(string) called at [/app/phabricator/scripts/setup/manage_config.php:5]
Answers
Answers
My friend, with great surprise, you are inside a bug in PHP itself.
You can follow interesting info here:
T15586: arcanist EXCEPTION: (CommandException) Command failed with error #-1!
New Answer
New Answer