From 0e6a26760130dc4351c0239b214aef58d61bdb67 Mon Sep 17 00:00:00 2001 From: Abbas Elmas Date: Mon, 2 Sep 2019 00:08:38 +0300 Subject: [PATCH] netdata uninstall not work sudo wo stack purge --netdata was not working on my setup. Uninstall script was wrong located. It is under another netdata folder as you can see in my PR. I have manually triggered and uninstall netdata. --- wo/cli/plugins/stack.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wo/cli/plugins/stack.py b/wo/cli/plugins/stack.py index d9feefc..f282eda 100644 --- a/wo/cli/plugins/stack.py +++ b/wo/cli/plugins/stack.py @@ -672,12 +672,12 @@ class WOStackController(CementBaseController): 'kickstart.sh']).issubset(set(packages))): if WOVariables.wo_distro == 'Raspbian': WOShellExec.cmd_exec(self, "bash /usr/" - "libexec/netdata-" - "uninstaller.sh -y -f") + "libexec/netdata/" + "netdata-uninstaller.sh -y -f") else: WOShellExec.cmd_exec(self, "bash /opt/netdata/usr/" - "libexec/netdata-" - "uninstaller.sh -y -f") + "libexec/netdata/" + "netdata-uninstaller.sh -y -f") if (packages): Log.info(self, "Removing packages, please wait...")