coollabsio/coolify · error · RuntimeException

Server is disabled.

Error message

Server is disabled.

What it means

Error "Server is disabled." thrown in coollabsio/coolify.

Source

Thrown at app/Livewire/Project/Shared/ExecuteContainerCommand.php:176

        $this->containersLoaded = true;
    }

    public function updatedSelectedContainer()
    {
        if ($this->selected_container !== 'default') {
            $this->connectToContainer();
        }
    }

    #[On('connectToServer')]
    public function connectToServer()
    {
        try {
            $this->authorize('canAccessTerminal');
            $server = $this->servers->first();
            $this->authorize('view', $server);
            if ($server->isForceDisabled()) {
                throw new \RuntimeException('Server is disabled.');
            }
            $this->dispatch(
                'send-terminal-command',
                false,
                data_get($server, 'name'),
                data_get($server, 'uuid')
            );

            // Dispatch a frontend event to ensure terminal gets focus after connection
            $this->dispatch('terminal-should-focus');
        } catch (\Throwable $e) {
            return handleError($e, $this);
        } finally {
            $this->isConnecting = false;
        }
    }

    #[On('connectToContainer')]

View on GitHub (pinned to 70b9acc424)

When it happens

Trigger: Thrown at app/Livewire/Project/Shared/ExecuteContainerCommand.php:176 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/48912f7380ed96a7. Report an issue: GitHub.