{"record":{"id":"24cf0cbae5945515","repo":"coollabsio/coolify","slug":"the-coolify-host-cannot-be-claimed","errorCode":null,"errorMessage":"The Coolify host cannot be claimed.","messagePattern":"The Coolify host cannot be claimed\\.","errorType":"exception","errorClass":"RuntimeException","httpStatus":null,"severity":"error","filePath":"app/Livewire/Server/Transfer.php","lineNumber":172,"sourceCode":"                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();\n\n        try {\n            $this->authorize('update', $this->server);\n            if ($this->isLocalhost) {\n                throw new \\RuntimeException('The Coolify host cannot be claimed.');\n            }\n\n            $result = $claimer->claim(\n                $this->server,\n                writeRemote: $this->writeRemoteOnClaim,\n                rebindSentinel: $this->rebindSentinelOnClaim,\n            );\n            $this->server->refresh();\n            $this->lastResultJson = json_encode($result, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);\n            $this->lastWarnings = [];\n            $this->dispatch('success', $result['message'] ?? 'Server claimed.');\n        } catch (Throwable $e) {\n            handleError($e, $this);\n        }\n    }\n\n    public function render()\n    {","sourceCodeStart":154,"sourceCodeEnd":190,"githubUrl":"https://github.com/coollabsio/coolify/blob/70b9acc42467278373e00de77abb40684e25b395/app/Livewire/Server/Transfer.php#L154-L190","documentation":"Error \"The Coolify host cannot be claimed.\" thrown in coollabsio/coolify.","triggerScenarios":"Thrown at app/Livewire/Server/Transfer.php:172 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"}