From eaba726b9c769fdb83572b7faa968a4d8a343598 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Wed, 30 Apr 2025 09:59:19 +0200 Subject: [PATCH] fix(ServerCheck): enhance proxy container check to ensure it is running before proceeding --- app/Actions/Server/ServerCheck.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Actions/Server/ServerCheck.php b/app/Actions/Server/ServerCheck.php index 75b8501f3..f00551684 100644 --- a/app/Actions/Server/ServerCheck.php +++ b/app/Actions/Server/ServerCheck.php @@ -99,7 +99,8 @@ class ServerCheck return data_get($value, 'Name') === '/coolify-proxy'; } })->first(); - if (! $foundProxyContainer) { + $proxyStatus = data_get($foundProxyContainer, 'State.Status'); + if (! $foundProxyContainer || $proxyStatus !== 'running') { try { $shouldStart = CheckProxy::run($this->server); if ($shouldStart) {