{"record":{"id":"0c1ee39c6e3e57e5","repo":"phacility/phabricator","slug":"no-configured-storage-engine-can-store-this-file","errorCode":null,"errorMessage":"No configured storage engine can store this file. See \"Configuring File Storage\" in the documentation for information on configuring storage engines.","messagePattern":"No configured storage engine can store this file\\. See \"Configuring File Storage\" in the documentation for information on configuring storage engines\\.","errorType":"exception","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"src/applications/files/storage/PhabricatorFile.php","lineNumber":335,"sourceCode":"    $file->setStorageFormat(PhabricatorFileRawStorageFormat::FORMATKEY);\n\n    $file->setIsPartial(1);\n\n    $file->readPropertiesFromParameters($params);\n\n    return $file;\n  }\n\n  private static function buildFromFileData($data, array $params = array()) {\n\n    if (isset($params['storageEngines'])) {\n      $engines = $params['storageEngines'];\n    } else {\n      $size = strlen($data);\n      $engines = PhabricatorFileStorageEngine::loadStorageEngines($size);\n\n      if (!$engines) {\n        throw new Exception(\n          pht(\n            'No configured storage engine can store this file. See '.\n            '\"Configuring File Storage\" in the documentation for '.\n            'information on configuring storage engines.'));\n      }\n    }\n\n    assert_instances_of($engines, 'PhabricatorFileStorageEngine');\n    if (!$engines) {\n      throw new Exception(pht('No valid storage engines are available!'));\n    }\n\n    $file = self::initializeNewFile();\n\n    $aes_type = PhabricatorFileAES256StorageFormat::FORMATKEY;\n    $has_aes = PhabricatorKeyring::getDefaultKeyName($aes_type);\n    if ($has_aes !== null) {\n      $default_key = PhabricatorFileAES256StorageFormat::FORMATKEY;","sourceCodeStart":317,"sourceCodeEnd":353,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/files/storage/PhabricatorFile.php#L317-L353","documentation":"Storage engine selection failure in buildFromFileData: loadStorageEngines() found no engine whose limits accommodate a file of this size (all engines full, too small a limit, or none configured). The message points to the 'Configuring File Storage' doc.","triggerScenarios":"Thrown at src/applications/files/storage/PhabricatorFile.php:335 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Configure at least one storage engine (e.g. local disk or S3) per the 'Configuring File Storage' documentation","Raise the size limit of an existing engine so it can hold this file","Enable chunked uploads so large files bypass single-engine limits"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5720a38cfe95b00ca4be5016dd0d2f3195f4fa04","analyzedAt":"2026-08-21T05:07:25.672Z","contentChangedAt":"2026-08-21T05:07:25.672Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}