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.
This commit is contained in:
Abbas Elmas
2019-09-02 00:08:38 +03:00
committed by GitHub
parent e7ade16d78
commit 0e6a267601

View File

@@ -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...")