From feddade5b5758eeac912bc4ec9c0981c7e0f67be Mon Sep 17 00:00:00 2001 From: Oleksander Piskun Date: Tue, 13 Jan 2026 18:35:27 +0200 Subject: [PATCH 1/4] fix(hint): explain that "--force" option exists Signed-off-by: Oleksander Piskun --- lib/Command/ExApp/Unregister.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/Command/ExApp/Unregister.php b/lib/Command/ExApp/Unregister.php index 2814d87b..69a7b263 100644 --- a/lib/Command/ExApp/Unregister.php +++ b/lib/Command/ExApp/Unregister.php @@ -102,6 +102,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int if ($this->dockerActions->removeExApp($this->dockerActions->buildDockerUrl($daemonConfig), $exApp->getAppid(), removeData: $rmData)) { if (!$silent) { $output->writeln(sprintf('Failed to remove ExApp %s', $appId)); + $output->writeln('Hint: If the container was already removed manually, you can use the --force option to continue unregistering.'); } if (!$force) { return 1; @@ -112,12 +113,14 @@ protected function execute(InputInterface $input, OutputInterface $output): int } } } else { + $containerName = $this->dockerActions->buildExAppContainerName($appId); $removeResult = $this->dockerActions->removeContainer( - $this->dockerActions->buildDockerUrl($daemonConfig), $this->dockerActions->buildExAppContainerName($appId) + $this->dockerActions->buildDockerUrl($daemonConfig), $containerName ); if ($removeResult) { if (!$silent) { $output->writeln(sprintf('Failed to remove ExApp %s container', $appId)); + $output->writeln(sprintf('Hint: If the container "%s" was already removed manually, you can use the --force option to continue unregistering.', $containerName)); } if (!$force) { return 1; From 3abff6941a0de25625914dea259573fe7a8f2084 Mon Sep 17 00:00:00 2001 From: Oleksandr Piskun Date: Wed, 14 Jan 2026 10:57:28 +0200 Subject: [PATCH 2/4] Update lib/Command/ExApp/Unregister.php Co-authored-by: Anupam Kumar Signed-off-by: Oleksandr Piskun --- lib/Command/ExApp/Unregister.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Command/ExApp/Unregister.php b/lib/Command/ExApp/Unregister.php index 69a7b263..5b2a2c19 100644 --- a/lib/Command/ExApp/Unregister.php +++ b/lib/Command/ExApp/Unregister.php @@ -102,7 +102,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int if ($this->dockerActions->removeExApp($this->dockerActions->buildDockerUrl($daemonConfig), $exApp->getAppid(), removeData: $rmData)) { if (!$silent) { $output->writeln(sprintf('Failed to remove ExApp %s', $appId)); - $output->writeln('Hint: If the container was already removed manually, you can use the --force option to continue unregistering.'); + $output->writeln('Hint: If the container was already removed manually, you can use the --force option to fullly remove it from AppAPI.'); } if (!$force) { return 1; From bab04fd92aa7512542998f7d30272adb214cce0b Mon Sep 17 00:00:00 2001 From: Oleksandr Piskun Date: Wed, 14 Jan 2026 13:53:18 +0200 Subject: [PATCH 3/4] Update lib/Command/ExApp/Unregister.php Co-authored-by: Anupam Kumar Signed-off-by: Oleksandr Piskun --- lib/Command/ExApp/Unregister.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Command/ExApp/Unregister.php b/lib/Command/ExApp/Unregister.php index 5b2a2c19..16637096 100644 --- a/lib/Command/ExApp/Unregister.php +++ b/lib/Command/ExApp/Unregister.php @@ -102,7 +102,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int if ($this->dockerActions->removeExApp($this->dockerActions->buildDockerUrl($daemonConfig), $exApp->getAppid(), removeData: $rmData)) { if (!$silent) { $output->writeln(sprintf('Failed to remove ExApp %s', $appId)); - $output->writeln('Hint: If the container was already removed manually, you can use the --force option to fullly remove it from AppAPI.'); + $output->writeln('Hint: If the container was already removed manually, you can use the --force option to fully remove it from AppAPI.'); } if (!$force) { return 1; From 3545842f2c5dc6763a520e33d39d5e137a39f49b Mon Sep 17 00:00:00 2001 From: Oleksandr Piskun Date: Wed, 14 Jan 2026 13:53:29 +0200 Subject: [PATCH 4/4] Update lib/Command/ExApp/Unregister.php Co-authored-by: Anupam Kumar Signed-off-by: Oleksandr Piskun --- lib/Command/ExApp/Unregister.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Command/ExApp/Unregister.php b/lib/Command/ExApp/Unregister.php index 16637096..039a7ef4 100644 --- a/lib/Command/ExApp/Unregister.php +++ b/lib/Command/ExApp/Unregister.php @@ -120,7 +120,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int if ($removeResult) { if (!$silent) { $output->writeln(sprintf('Failed to remove ExApp %s container', $appId)); - $output->writeln(sprintf('Hint: If the container "%s" was already removed manually, you can use the --force option to continue unregistering.', $containerName)); + $output->writeln(sprintf('Hint: If the container "%s" was already removed manually, you can use the --force option to fully remove it from AppAPI.', $containerName)); } if (!$force) { return 1;