phacility/phabricator · error · PhutilArgumentUsageException

No daemons match ' '! Use ' ' for a list of available…

Error message

No daemons match '%s'! Use '%s' for a list of available daemons.

What it means

Lookup guard in findDaemonClass(): no loaded concrete PhutilDaemon subclass matches the given shorthand substring. The workflow cannot resolve the daemon name; the message suggests phd list for the available daemon classes.

Solutions

  1. Run phd list and use an exact daemon class name or distinctive substring
  2. Check the spelling of the shorthand (e.g. taskmaster vs taskmasters)
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at src/applications/daemon/management/PhabricatorDaemonManagementWorkflow.php:55 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of phacility/phabricator@5720a38cfe (2026-08-21). Data as JSON: /api/errors/e07356ead2d6908a. Report an issue: GitHub.

Appendix: source

Thrown at src/applications/daemon/management/PhabricatorDaemonManagementWorkflow.php:55

  private function findDaemonClass($substring) {
    $symbols = $this->loadAvailableDaemonClasses();

    $symbols = ipull($symbols, 'name');
    $match = array();
    foreach ($symbols as $symbol) {
      if (stripos($symbol, $substring) !== false) {
        if (strtolower($symbol) == strtolower($substring)) {
          $match = array($symbol);
          break;
        } else {
          $match[] = $symbol;
        }
      }
    }

    if (count($match) == 0) {
      throw new PhutilArgumentUsageException(
        pht(
          "No daemons match '%s'! Use '%s' for a list of available daemons.",
          $substring,
          'phd list'));
    } else if (count($match) > 1) {
      throw new PhutilArgumentUsageException(
        pht(
          "Specify a daemon unambiguously. Multiple daemons match '%s': %s.",
          $substring,
          implode(', ', $match)));
    }

    return head($match);
  }

  final protected function launchDaemons(
    array $daemons,
    $debug,

View on GitHub (pinned to 5720a38cfe)