coollabsio/coolify · error · RuntimeException

Passphrase is required for encrypted bundles.

Error message

Passphrase is required for encrypted bundles.

What it means

Error "Passphrase is required for encrypted bundles." thrown in coollabsio/coolify.

Source

Thrown at app/Livewire/Server/TransferImport.php:83

    /**
     * @return array<string, mixed>
     */
    private function resolveBundle(): array
    {
        $raw = trim($this->bundleJson);
        if ($raw === '') {
            throw new \RuntimeException('Paste a transfer bundle JSON or upload a file.');
        }

        $decoded = json_decode($raw, true);
        if (! is_array($decoded)) {
            throw new \RuntimeException('Bundle is not valid JSON.');
        }

        if (data_get($decoded, 'encrypted')) {
            if (blank($this->passphrase)) {
                throw new \RuntimeException('Passphrase is required for encrypted bundles.');
            }

            return ServerTransferBundle::decryptWithPassphrase($decoded, $this->passphrase);
        }

        return $decoded;
    }

    public function dryRun(ServerTransferImporter $importer): void
    {
        $this->ensureDevelopmentAvailability();
        $this->runImport($importer, dryRun: true);
    }

    public function importBundle(ServerTransferImporter $importer): void
    {
        $this->ensureDevelopmentAvailability();
        $this->runImport($importer, dryRun: false);

View on GitHub (pinned to 70b9acc424)

When it happens

Trigger: Thrown at app/Livewire/Server/TransferImport.php:83 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of coollabsio/coolify@70b9acc424 (2026-08-17). Data as JSON: /api/errors/0b8daeb4168e4625. Report an issue: GitHub.