Page MenuHomeDevCentral

Add procps to Phabricator image
Closed, ResolvedPublic

Description

On Wolfplex Phabricator instance, daemons can't be run, even if sv reported the status as up.

When manually starting them, it shows ps is missing.

wolfplex_phab container
$ ./bin/phd start
[2023-07-23 12:45:22] EXCEPTION: (CommandException) Command failed with error #127!
COMMAND
ps -o pid,command -a -x -w -w -w

STDOUT
(empty)

STDERR
sh: 1: ps: not found
 at [<arcanist>/src/future/exec/ExecFuture.php:436]
arcanist(head=master, ref.master=f0a2b699ba62), phabricator(head=master, ref.master=dec95228a241)
  #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) called at [<arcanist>/src/filesystem/PhutilProcessQuery.php:30]
  #3 PhutilProcessQuery::execute() called at [<phabricator>/src/applications/daemon/management/PhabricatorDaemonManagementWorkflow.php:603]
  #4 PhabricatorDaemonManagementWorkflow::getOverseerProcessRefs() called at [<phabricator>/src/applications/daemon/management/PhabricatorDaemonManagementWorkflow.php:274]
  #5 PhabricatorDaemonManagementWorkflow::executeStartCommand(array) called at [<phabricator>/src/applications/daemon/management/PhabricatorDaemonManagementStartWorkflow.php:37]
  #6 PhabricatorDaemonManagementStartWorkflow::execute(PhutilArgumentParser) called at [<arcanist>/src/parser/argument/PhutilArgumentParser.php:492]
  #7 PhutilArgumentParser::parseWorkflowsFull(array) called at [<arcanist>/src/parser/argument/PhutilArgumentParser.php:377]
  #8 PhutilArgumentParser::parseWorkflows(array) called at [<phabricator>/scripts/daemon/manage_daemons.php:23]