{"record":{"id":"ecba92c08ed2ec11","repo":"coollabsio/coolify","slug":"the-coolify-host-cannot-be-marked-as-transferred","errorCode":null,"errorMessage":"The Coolify host cannot be marked as transferred.","messagePattern":"The Coolify host cannot be marked as transferred\\.","errorType":"exception","errorClass":"RuntimeException","httpStatus":null,"severity":"error","filePath":"app/Livewire/Server/Transfer.php","lineNumber":149,"sourceCode":"\n            return response()->streamDownload(function () use ($json) {\n                echo $json;\n            }, $fileName, [\n                'Content-Type' => 'application/json',\n            ]);\n        } catch (Throwable $e) {\n            return handleError($e, $this);\n        }\n    }\n\n    public function completeTransfer(ServerTransferClaimer $claimer): void\n    {\n        $this->ensureDevelopmentAvailability();\n\n        try {\n            $this->authorize('update', $this->server);\n            if ($this->isLocalhost) {\n                throw new \\RuntimeException('The Coolify host cannot be marked as transferred.');\n            }\n\n            $result = $claimer->markTransferred(\n                $this->server,\n                exportId: $this->exportId ?: data_get($this->server->server_metadata, 'transfer.export_id'),\n                targetInstanceUrl: filled($this->targetUrl) ? rtrim($this->targetUrl, '/') : null,\n            );\n            $this->server->refresh();\n            $this->lastResultJson = json_encode($result, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);\n            $this->dispatch('success', $result['message'] ?? 'Server marked as transferred.');\n        } catch (Throwable $e) {\n            handleError($e, $this);\n        }\n    }\n\n    public function claimServer(ServerTransferClaimer $claimer): void\n    {\n        $this->ensureDevelopmentAvailability();","sourceCodeStart":131,"sourceCodeEnd":167,"githubUrl":"https://github.com/coollabsio/coolify/blob/70b9acc42467278373e00de77abb40684e25b395/app/Livewire/Server/Transfer.php#L131-L167","documentation":"Error \"The Coolify host cannot be marked as transferred.\" thrown in coollabsio/coolify.","triggerScenarios":"Thrown at app/Livewire/Server/Transfer.php:149 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"70b9acc42467278373e00de77abb40684e25b395","analyzedAt":"2026-08-17T01:41:01.313Z","schemaVersion":2},"datasetVersion":"2026-08-17T04:17:16.089Z"}