phacility/phabricator · error · Exception

This repository ("%s") is not writable with the given protoc

Error message

This repository ("%s") is not writable with the given protocols (%s). The Almanac service for this repository has no writable bindings that support these protocols.

What it means

Error "This repository ("%s") is not writable with the given protocols (%s). The Almanac service for this repository has no writable bindings that support these protocols." thrown in phacility/phabricator.

Source

Thrown at src/applications/repository/storage/PhabricatorRepository.php:1987

            $this->getDisplayName()));
      }
    }

    $refs = array();
    foreach ($results as $result) {
      $refs[] = DiffusionServiceRef::newFromDictionary($result);
    }

    // If we require a writable device, remove URIs which aren't writable.
    if ($writable) {
      foreach ($refs as $key => $ref) {
        if (!$ref->isWritable()) {
          unset($refs[$key]);
        }
      }

      if (!$refs) {
        throw new Exception(
          pht(
            'This repository ("%s") is not writable with the given '.
            'protocols (%s). The Almanac service for this repository has no '.
            'writable bindings that support these protocols.',
            $this->getDisplayName(),
            implode(', ', $protocols)));
      }
    }

    if ($writable) {
      $refs = $this->sortWritableAlmanacServiceRefs($refs);
    } else {
      $refs = $this->sortReadableAlmanacServiceRefs($refs);
    }

    return array_values($refs);
  }

View on GitHub (pinned to 5720a38cfe)

When it happens

Trigger: Thrown at src/applications/repository/storage/PhabricatorRepository.php:1987 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/49bb292ce14d6015. Report an issue: GitHub.