how to uninstall netdata

admin0

Verified User
Joined
Nov 14, 2008
Messages
23
How to uninstall netdata ?
latest directadmin on debian os.
 
Last edited:
Never used it but I assume this will work:
Code:
cd /usr/local/directadmin/custombuild
./build set netdata off
./build list_removals
./build remove_netdata
service directadmin restart
and maybe you can do:
Code:
/opt/netdata/usr/libexec/netdata/netdata-uninstaller.sh
 
Last edited:
Never used it but I assume this will work:
Code:
cd /usr/local/directadmin/custombuild
./build set netdata off
./build list_removals
./build remove_netdata
service directadmin restart
and maybe you can do:
Code:
/opt/netdata/usr/libexec/netdata/netdata-uninstaller.sh
none of the commands worked :(

# ./build set netdata off
netdata is not a valid option.

# ls -al /opt/netdata
ls: cannot access '/opt/netdata': No such file or directory


installed plocate , updatedb , and searched the whole filesystem .. there is no netdata-remove/uninstaller
 
Odd... so if you used the updatadb command is there any place where you can find anything from netdata? Just search for netdata only, there must be some directory somewhere if you encounter issues with it.

If not, where do you still see something because you want to have it installed? I presume you see it somewhere and want it removed there?

Otherwise you could try installing it again and then use this command to uninstall:
/opt/netdata/usr/libexec/netdata/netdata-uninstaller.sh
 
# locate netdata | grep install

/etc/netdata/.install-type
/usr/libexec/netdata/install-service.sh
/usr/share/doc/netdata/packaging/installer
/usr/share/doc/netdata/packaging/installer/README.md.gz

-- there is no uninstaller .. .. and the install-service.sh has no uninstall parameters or anything to undo
 
Hmmz.. maybe in Debian it's installed otherwise then.
As said you can try installing it again and then see if an uninstaller will be in place (as should be) or otherwise you probably have to remove everything manually.
 
@admin0 I have this netdata via some of my servers and I control it via their website, if you do it from there, logically, you have to uninstall it via the command apt remove netdata or really tell us what happens if you have a bug or not?
 
thanks .. that worked .. .. getting used to everything installed via compilation that did not thought to look into apt :)
 
I didn't even know apt was used with Debian for this, as it's normally indeed compiled from custombuild, which I'm used to also. :)
This is one to remember.

@jca Would that also work with yum nowadays or is it still installed via custombuild compilation on RH alike systems?
 
I didn't even know apt was used with Debian for this, as it's normally indeed compiled from custombuild, which I'm used to also. :)
This is one to remember.

@jca Would that also work with yum nowadays or is it still installed via custombuild compilation on RH alike systems?
@Richard G, there is the DA method is the method if you monitor several at once, is there, you have a link that gives you the opportunity to install it via a server command, apt, yum, etc., voila
 
I didn't even know apt was used with Debian for this, as it's normally indeed compiled from custombuild, which I'm used to also. :)
This is one to remember.

@jca Would that also work with yum nowadays or is it still installed via custombuild compilation on RH alike systems?

I don't have access to a RH DA installation right now so can't confirm. I do remember on CentOS 7 netdata was built and not installed from repository it self updated as well, would have to check the build script to see if that changed. But I noticed on Debian it was installed from repository and actually gets updated quite often in there as I had to change my script to alert me of available updates to not include netdata as it was getting crazy.
 
Back
Top