phacility/phabricator · error · Exception
%s requires the directory '%s' to exist, but it does not exi
Error message
%s requires the directory '%s' to exist, but it does not exist and could not be created. Create this directory or update '%s' in your configuration to point to an existing directory.
What it means
Error "%s requires the directory '%s' to exist, but it does not exist and could not be created. Create this directory or update '%s' in your configuration to point to an existing directory." thrown in phacility/phabricator.
Source
Thrown at src/applications/daemon/management/PhabricatorDaemonManagementWorkflow.php:24
private $runDaemonsAsUser = null;
final protected function loadAvailableDaemonClasses() {
return id(new PhutilSymbolLoader())
->setAncestorClass('PhutilDaemon')
->setConcreteOnly(true)
->selectSymbolsWithoutLoading();
}
final protected function getLogDirectory() {
$path = PhabricatorEnv::getEnvConfig('phd.log-directory');
return $this->getControlDirectory($path);
}
private function getControlDirectory($path) {
if (!Filesystem::pathExists($path)) {
list($err) = exec_manual('mkdir -p %s', $path);
if ($err) {
throw new Exception(
pht(
"%s requires the directory '%s' to exist, but it does not exist ".
"and could not be created. Create this directory or update ".
"'%s' in your configuration to point to an existing ".
"directory.",
'phd',
$path,
'phd.log-directory'));
}
}
return $path;
}
private function findDaemonClass($substring) {
$symbols = $this->loadAvailableDaemonClasses();
$symbols = ipull($symbols, 'name');
$match = array();View on GitHub (pinned to 5720a38cfe)
When it happens
Trigger: Thrown at src/applications/daemon/management/PhabricatorDaemonManagementWorkflow.php:24 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/9a66fea5852c2358.
Report an issue: GitHub.