From edd791ecca349d391637c13bdb00e05e623da033 Mon Sep 17 00:00:00 2001 From: daniwe4 Date: Fri, 23 Jan 2026 08:54:15 +0100 Subject: [PATCH] master DeleteCommand:540 only delete keycloak entry if keycloak is up --- app/src/Commands/Instances/DeleteCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/Commands/Instances/DeleteCommand.php b/app/src/Commands/Instances/DeleteCommand.php index 35ef8247..d943f864 100644 --- a/app/src/Commands/Instances/DeleteCommand.php +++ b/app/src/Commands/Instances/DeleteCommand.php @@ -147,7 +147,7 @@ protected function deleteInstance( ); } - if ($this->filesystem->exists(self::KEYCLOAK_PATH)) { + if ($this->filesystem->exists(self::KEYCLOAK_PATH) && $this->docker->isInstanceUp(self::KEYCLOAK_PATH)) { $this->docker->executeDockerCommand( "doil_keycloak", "/root/delete_keycloak_client.sh $instance"