Netdata Community

Getting error message that is inaccurate ("Existing install appears to be handled manually ...")

Environment

Your netdata version: 1.10.0-849-gcaae263_rolling
Your netdata commit: caae263
Latest commit: c5f3f15

Running on Ubuntu 16.04

Problem/Question

When I try to update Netdata using the bash <(curl -Ss https://my-netdata.io/kickstart.sh) --reinstall (or, originally I tried, bash <(curl -Ss https://my-netdata.io/kickstart.sh)) command, I get the following error:

/etc/netdata$ bash <(curl -Ss https://my-netdata.io/kickstart.sh) --reinstall
 --- Found existing install of Netdata under: / ---
 --- Existing install appears to be handled manually or through the system package manager. ---
 ABORTED  Existing installation detected which cannot be safely updated by this script, refusing to continue.

I originally installed using the curl script. Netdata is not installed through the package manager. So I am not sure how to proceed with updating it, when it’s telling me I did some other kind of installation.

What I expected to happen

I expected it to update the installation.

What’s the best way to proceed?

This is probably a bug in the installer itself, it’s never really been tested on such old versions (that commit appears to be from two years ago and isn’t even in the main branch of the repo).

The most reliable solution here is probably going to be backing up your config files and data and then uninstalling the existing version and installing the new one.

If you are feeling particularly adventurous, you can bypass the check that’s stopping the install by passing --allow-duplicate-install to the installer instead of --reinstall, though I’d be wary of whether that will actually preserve install options from the original install or not (it probably won’t).

Thanks @Austin_Hemmelgarn
I’ve uninstalled, and reinstalled as suggested.