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))): 'kickstart.sh']).issubset(set(packages))):
if WOVariables.wo_distro == 'Raspbian': if WOVariables.wo_distro == 'Raspbian':
WOShellExec.cmd_exec(self, "bash /usr/" WOShellExec.cmd_exec(self, "bash /usr/"
"libexec/netdata-" "libexec/netdata/"
"uninstaller.sh -y -f") "netdata-uninstaller.sh -y -f")
else: else:
WOShellExec.cmd_exec(self, "bash /opt/netdata/usr/" WOShellExec.cmd_exec(self, "bash /opt/netdata/usr/"
"libexec/netdata-" "libexec/netdata/"
"uninstaller.sh -y -f") "netdata-uninstaller.sh -y -f")
if (packages): if (packages):
Log.info(self, "Removing packages, please wait...") Log.info(self, "Removing packages, please wait...")