Can't uninstall Netdata from my Debian 12. - i tried the apt package of Netdata to test and i uninstalled version 1.37 with the package Manager
- try the install with wget -O /tmp/netdata-kickstart.shhttps://get.netdata.cloud/kickstart.sh && sh /tmp/netdata-kickstart.sh for a newer version.
- After that uninstalling is not possible
2024-07-29 01:10:52 (29,3 MB/s) - »/tmp/netdata-kickstart.sh« gespeichert [92126/92126] --- Using /tmp/netdata-kickstart-clpjAjkmP2 as a temporary directory. --- --- Checking for existing installations of Netdata... --- [/tmp/netdata-kickstart-clpjAjkmP2]# test -x //usr/libexec/netdata/netdata-uninstaller.sh FAILED --- Downloading netdata-uninstaller ... --- [/tmp/netdata-kickstart-clpjAjkmP2]# /usr/bin/curl --fail -q -sSL --connect-timeout 10 --retry 3 --output /tmp/netdata-kickstart-clpjAjkmP2/netdata-uninstaller.sh https://raw.githubusercontent.com/netdata/netdata/master/packaging/installer/netdata-uninstaller.sh OK [/tmp/netdata-kickstart-clpjAjkmP2]# /tmp/netdata-kickstart-clpjAjkmP2/netdata-uninstaller.sh --yes --force /tmp/netdata-kickstart-clpjAjkmP2/netdata-uninstaller.sh: 720: .: cannot open /etc/netdata/.environment: No such fileMo 29. Jul 01:10:52 CEST 2024 : FATAL: netdata-uninstaller.sh: FAILED TO UNINSTALL NETDATA: Failed to completely remove Netdata from this system. FAILED WARNING Uninstaller failed. Some parts of Netdata may still be present on the system.Finished uninstalling the Netdata Agent.The following non-fatal warnings or errors were encountered: - Command "test -x //usr/libexec/netdata/netdata-uninstaller.sh" failed with exit code 1. - Command "/tmp/netdata-kickstart-clpjAjkmP2/netdata-uninstaller.sh --yes --force" failed with exit code 1. - Uninstaller failed. Some parts of Netdata may still be present on the system.[/root]# rm -rf /tmp/netdata-kickstart-clpjAjkmP2 OK
root@:~# netdata -vnetdata v1.37.1
How can i complete remove netdata? |