{"record":{"id":"48912f7380ed96a7","repo":"coollabsio/coolify","slug":"server-is-disabled-48912f","errorCode":null,"errorMessage":"Server is disabled.","messagePattern":"Server is disabled\\.","errorType":"exception","errorClass":"RuntimeException","httpStatus":null,"severity":"error","filePath":"app/Livewire/Project/Shared/ExecuteContainerCommand.php","lineNumber":176,"sourceCode":"        $this->containersLoaded = true;\n    }\n\n    public function updatedSelectedContainer()\n    {\n        if ($this->selected_container !== 'default') {\n            $this->connectToContainer();\n        }\n    }\n\n    #[On('connectToServer')]\n    public function connectToServer()\n    {\n        try {\n            $this->authorize('canAccessTerminal');\n            $server = $this->servers->first();\n            $this->authorize('view', $server);\n            if ($server->isForceDisabled()) {\n                throw new \\RuntimeException('Server is disabled.');\n            }\n            $this->dispatch(\n                'send-terminal-command',\n                false,\n                data_get($server, 'name'),\n                data_get($server, 'uuid')\n            );\n\n            // Dispatch a frontend event to ensure terminal gets focus after connection\n            $this->dispatch('terminal-should-focus');\n        } catch (\\Throwable $e) {\n            return handleError($e, $this);\n        } finally {\n            $this->isConnecting = false;\n        }\n    }\n\n    #[On('connectToContainer')]","sourceCodeStart":158,"sourceCodeEnd":194,"githubUrl":"https://github.com/coollabsio/coolify/blob/70b9acc42467278373e00de77abb40684e25b395/app/Livewire/Project/Shared/ExecuteContainerCommand.php#L158-L194","documentation":"Error \"Server is disabled.\" thrown in coollabsio/coolify.","triggerScenarios":"Thrown at app/Livewire/Project/Shared/ExecuteContainerCommand.php:176 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"}