# Installation completely borked

**URL:** <https://community.netdata.cloud/t/installation-completely-borked/1660>\
**Category:** Help\
**Tags:** agent\
**Created:** [August 31, 2021, 6:38am UTC](https://community.netdata.cloud/t/installation-completely-borked/1660 "2021-08-31T06:38:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Johannes\_Hass](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/johannes_hass/32/1106_2.png) [@Johannes\_Hass](https://community.netdata.cloud/u/Johannes_Hass)\
**Post date:** [August 31, 2021, 6:38am UTC](https://community.netdata.cloud/t/installation-completely-borked/1660/1 "2021-08-31T06:38:49Z")

</div>

I just tried to install the Netdata agent on a new Ubuntu 18.04 system.

Install script ran through until to the point where it tried to claim the node - then it yielded this:

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/netdata2/original/2X/f/fb1756e9134b9cd351d8c4685c142c11bc745850.png)

Please note that I did provide my account’s password to the script and said account has `sudo` rights.

No amount of puttering around on my end got somewhere. So I ran the uninstall script which _seemed_ to run through.

However, when I now try to run the install script again (the all-in-one version I got from my “War room =\> Add nodes”) then I just run straight into this **same** message again (as in: the exact same errors from the picture above)

Seems like the uninstall script does not actually remove all traces of the agent…

edit: Oh and `bash <(curl -Ss https://my-netdata.io/kickstart.sh)` yields this:

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/netdata2/original/2X/b/bc22df6c082dd55405e5c3dd2ddaf8e0781df17c.png)

---

<div class="post-metadata">

**Author:** ![OdysLam](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/odyslam/32/98_2.png) [@OdysLam](https://community.netdata.cloud/u/OdysLam)\
**Post date:** [August 31, 2021, 2:56pm UTC](https://community.netdata.cloud/t/installation-completely-borked/1660/2 "2021-08-31T14:56:29Z")

</div>

Hey @Austin_Hemmelgarn, what do you make of this?

@Johannes_Hass I think that netdata got installed incorrectly the first time and now you have to use the --reinstall flag when running the kickstart script

> **[Reinstall the Netdata Agent | Learn Netdata](https://learn.netdata.cloud/docs/agent/packaging/installer/reinstall)**
>
> Troubleshooting installation issues or force an update of the Netdata Agent by reinstalling it using the same method you used during installation.

---

<div class="post-metadata">

**Author:** ![Johannes\_Hass](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/johannes_hass/32/1106_2.png) [@Johannes\_Hass](https://community.netdata.cloud/u/Johannes_Hass)\
**Post date:** [August 31, 2021, 4:26pm UTC](https://community.netdata.cloud/t/installation-completely-borked/1660/3 "2021-08-31T16:26:13Z")

</div>

![image](https://canada1.discourse-cdn.com/flex029/uploads/netdata2/original/2X/a/a05245a92ec3403c187ee13dca0423753495c34f.png)

---

<div class="post-metadata">

**Author:** ![Austin\_Hemmelgarn](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/austin_hemmelgarn/32/4495_2.png) [@Austin\_Hemmelgarn](https://community.netdata.cloud/u/Austin_Hemmelgarn)\
**Post date:** [August 31, 2021, 5:22pm UTC](https://community.netdata.cloud/t/installation-completely-borked/1660/4 "2021-08-31T17:22:23Z")

</div>

My first thought is that Netdata got installed through the package manager at some point, in which case that needs to be cleared off before any other install method is safe.

@Johannes_Hass if you can confirm for certain that that is note the case, you can bypass the duplicate install protection by using the `--allow-duplicate-install`. We intentionally don’t document this option in the help text or online documentation because using it without knowing it’s safe (it _should_ be safe here provided you don’t have a `netdata` package installed through the distro’s package manager) can lead to problems down the road (ironically, such problems tend to look very much like what you’re seeing here).

---

<div class="post-metadata">

**Author:** ![Johannes\_Hass](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/johannes_hass/32/1106_2.png) [@Johannes\_Hass](https://community.netdata.cloud/u/Johannes_Hass)\
**Post date:** [August 31, 2021, 8:07pm UTC](https://community.netdata.cloud/t/installation-completely-borked/1660/5 "2021-08-31T20:07:55Z")

</div>

Unless the application Opencast installs Netdata, I cannot see how how Netdata could be installed through the package manager. I certainly did not do it. I’ll try your provided option, though.

---

<div class="post-metadata">

**Author:** ![Johannes\_Hass](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/johannes_hass/32/1106_2.png) [@Johannes\_Hass](https://community.netdata.cloud/u/Johannes_Hass)\
**Post date:** [August 31, 2021, 8:22pm UTC](https://community.netdata.cloud/t/installation-completely-borked/1660/6 "2021-08-31T20:22:55Z")

</div>

Alright. The provided option worked for installation via `bash <(curl -Ss https://my-netdata.io/kickstart.sh) --allow-duplicate-install`

I then naively used the provided script from the Web-GUI which bombed out with this (`sudo`as you can see from my 2nd attempt also did not help)

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/netdata2/original/2X/5/5b3ec7c4070f48a5b8a2ef495be3ec42f3e11947.png)

Using `sudo netdata-claim.sh -token=TOKEN -rooms=ROOM1,ROOM2 -url=https://app.netdata.cloud` and copy and pasting the GUIDs from the GUI then worked, however. Might I suggest adding both the room and the claim token to your GUI as separate, copyable entries so that this step is a bit less ambiguous?

Otherwise, thanks for your help, it’s running now!
