coollabsio/coolify · error · RuntimeException

The Coolify host cannot be marked as transferred.

Error message

The Coolify host cannot be marked as transferred.

What it means

Error "The Coolify host cannot be marked as transferred." thrown in coollabsio/coolify.

Source

Thrown at app/Livewire/Server/Transfer.php:149

            return response()->streamDownload(function () use ($json) {
                echo $json;
            }, $fileName, [
                'Content-Type' => 'application/json',
            ]);
        } catch (Throwable $e) {
            return handleError($e, $this);
        }
    }

    public function completeTransfer(ServerTransferClaimer $claimer): void
    {
        $this->ensureDevelopmentAvailability();

        try {
            $this->authorize('update', $this->server);
            if ($this->isLocalhost) {
                throw new \RuntimeException('The Coolify host cannot be marked as transferred.');
            }

            $result = $claimer->markTransferred(
                $this->server,
                exportId: $this->exportId ?: data_get($this->server->server_metadata, 'transfer.export_id'),
                targetInstanceUrl: filled($this->targetUrl) ? rtrim($this->targetUrl, '/') : null,
            );
            $this->server->refresh();
            $this->lastResultJson = json_encode($result, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);
            $this->dispatch('success', $result['message'] ?? 'Server marked as transferred.');
        } catch (Throwable $e) {
            handleError($e, $this);
        }
    }

    public function claimServer(ServerTransferClaimer $claimer): void
    {
        $this->ensureDevelopmentAvailability();

View on GitHub (pinned to 70b9acc424)

When it happens

Trigger: Thrown at app/Livewire/Server/Transfer.php:149 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/ecba92c08ed2ec11. Report an issue: GitHub.