phacility/phabricator · error · Exception
Storage engine '%s' could not be located!
Error message
Storage engine '%s' could not be located!
What it means
Error "Storage engine '%s' could not be located!" thrown in phacility/phabricator.
Source
Thrown at src/applications/files/storage/PhabricatorFile.php:1036
'id' => $this->getID(),
'phid' => $this->getPHID(),
'uri' => $this->getBestURI(),
);
}
public function instantiateStorageEngine() {
return self::buildEngine($this->getStorageEngine());
}
public static function buildEngine($engine_identifier) {
$engines = self::buildAllEngines();
foreach ($engines as $engine) {
if ($engine->getEngineIdentifier() == $engine_identifier) {
return $engine;
}
}
throw new Exception(
pht(
"Storage engine '%s' could not be located!",
$engine_identifier));
}
public static function buildAllEngines() {
return id(new PhutilClassMapQuery())
->setAncestorClass('PhabricatorFileStorageEngine')
->execute();
}
public function getViewableMimeType() {
$mime_map = PhabricatorEnv::getEnvConfig('files.viewable-mime-types');
$mime_type = $this->getMimeType();
$mime_parts = explode(';', $mime_type);
$mime_type = trim(reset($mime_parts));
View on GitHub (pinned to 5720a38cfe)
When it happens
Trigger: Thrown at src/applications/files/storage/PhabricatorFile.php:1036 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/5cb0916c429da876.
Report an issue: GitHub.