phacility/phabricator · error · Exception

No storage engines are available.

Error message

No storage engines are available.

What it means

Fires in the files 'engines' CLI workflow when PhabricatorFile::buildAllEngines() returns an empty set: no chunk-engine or blob storage engine class is installed/enabled for this Phabricator instance. It is a configuration-level failure — file storage cannot proceed without at least one engine, so even the listing command aborts.

Solutions

  1. Check that the local disk engine class is reachable and not disabled in configuration
  2. Clear the class auto-discovery cache (phabricator/cache purge) if engine classes were recently added or moved
  3. Review any custom engine registration code that may have stopped the engines from being built
Defensive patterns

Strategy: try-catch

When it happens

Trigger: Thrown at src/applications/files/management/PhabricatorFilesManagementEnginesWorkflow.php:18 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/f83f84fc9cef3d87. Report an issue: GitHub.

Appendix: source

Thrown at src/applications/files/management/PhabricatorFilesManagementEnginesWorkflow.php:18

<?php

final class PhabricatorFilesManagementEnginesWorkflow
  extends PhabricatorFilesManagementWorkflow {

  protected function didConstruct() {
    $this
      ->setName('engines')
      ->setSynopsis(pht('List available storage engines.'))
      ->setArguments(array());
  }

  public function execute(PhutilArgumentParser $args) {
    $console = PhutilConsole::getConsole();

    $engines = PhabricatorFile::buildAllEngines();
    if (!$engines) {
      throw new Exception(pht('No storage engines are available.'));
    }

    foreach ($engines as $engine) {
      $console->writeOut(
        "%s\n",
        $engine->getEngineIdentifier());
    }

    return 0;
  }

}

View on GitHub (pinned to 5720a38cfe)