Netdata Community

Unable to reinstall Netdata

Environment

Ubuntu 20.04.1 LTS GNU/Linux 5.4.0-47-generic x86_64

Problem/Question

I am unable to reinstall Netdata after following the uninstallation guide. I receive this error while trying to run the command bash <(curl -Ss https://my-netdata.io/kickstart.sh) --dont-wait --aclk-ng (using aclk-ng to mitigate the ‘unrechable’ error found on this thread):

Termius_OJnuKEMEhE

What I expected to happen

The installation to continue

Assuming you’re certain that you did indeed install using the kickstart script (and not your system package manager or by manually building Netdata), you should be able to get it working by adding --allow-duplicate-installs to the list of options for the script. You might also need --reinstall, but I’m not sure about that one.

This check exists to keep people from accidentally installing Netdata on top of an installation done through the package manager, which will typically result in a state that cannot be cleanly uninstalled and is liable to break unexpectedly when the version of netdata installed from the package manager gets updated. Normally it shouldn’t trigger in cases like this, but sometimes something goes wrong during an update and causes this to happen.

1 Like

That did the trick, cheers!