From 4c5dd3db3c1d2940ff72b9078213fc1b4a1e9008 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Wed, 30 Apr 2025 16:50:23 +0200 Subject: [PATCH] fix(ServerCheck): set default proxy status to 'exited' to handle missing container state --- app/Actions/Server/ServerCheck.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Actions/Server/ServerCheck.php b/app/Actions/Server/ServerCheck.php index f00551684..41781d7fc 100644 --- a/app/Actions/Server/ServerCheck.php +++ b/app/Actions/Server/ServerCheck.php @@ -99,7 +99,7 @@ class ServerCheck return data_get($value, 'Name') === '/coolify-proxy'; } })->first(); - $proxyStatus = data_get($foundProxyContainer, 'State.Status'); + $proxyStatus = data_get($foundProxyContainer, 'State.Status', 'exited'); if (! $foundProxyContainer || $proxyStatus !== 'running') { try { $shouldStart = CheckProxy::run($this->server);