# Issue when installing on Nginx server

**URL:** <https://community.netdata.cloud/t/issue-when-installing-on-nginx-server/3357>\
**Category:** Help\
**Created:** [October 7, 2022, 5:37pm UTC](https://community.netdata.cloud/t/issue-when-installing-on-nginx-server/3357 "2022-10-07T17:37:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Monologue](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/monologue/32/2229_2.png) [@Monologue](https://community.netdata.cloud/u/Monologue)\
**Post date:** [October 7, 2022, 5:37pm UTC](https://community.netdata.cloud/t/issue-when-installing-on-nginx-server/3357/1 "2022-10-07T17:37:49Z")

</div>

Hi,

I recently added Netdata on a server (Digital Ocean Nginx, managed via Gridpane) using Termius. Worked well, no issues. When I tried it again, something went wrong. For whatever reason, the password I thought I had copied & pasted was wrong and when I had to confirm the password again, for installing the software, I didn’t know what it was and the installation failed. The session has now timed out. I logged in again and tried to uninstall the Netdata installation using this line from the knowledge base ‘- --uninstall’. I added it to the line from GP kb page ([How to setup Netdata on your GridPane Servers | GridPane](https://gridpane.com/kb/how-to-setup-netdata-on-your-gridpane-servers/?fbclid=IwAR3OyXk9YbG9o7euswivSRofZwpOcWMqNXV-Fb8w_n53GHDerEdI5RF0Cjw)), and basically this is what I added: ‘bash \<(curl -Ss [https://my-netdata.io/kickstart.sh](https://my-netdata.io/kickstart.sh)) --uninstall’. This resulted in an error (see attached). Anyone come across this before - any ideas what to try next?

 ![Screenshot 2022-10-07 at 18.14.03](https://canada1.discourse-cdn.com/flex029/uploads/netdata2/original/2X/c/c83e9898fbb58b748c33ea9916809ede8be09cc7.png)

TIA!

---

<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:** [October 9, 2022, 1:05pm UTC](https://community.netdata.cloud/t/issue-when-installing-on-nginx-server/3357/2 "2022-10-09T13:05:37Z")

</div>

It’s pretty likely that the uninstaller failed because the agent did not get completely installed. As long as `/etc/netdata/.environment` does not exist, and `command -v netdata` doesn’t point to an actual executable, you should be fine to just run the installer normally and things should just work.

That said, the recommended way to run it is now `curl https://my-netdata.io/kickstart.sh > /tmp/netdata-kickstart.sh && sh /tmp/netdata-kickstart.sh` instead of the older `bash <()` approach. Some parts of the install script actually depend on this to work correctly, though if you’re using the default options that may not be an issue.

---

<div class="post-metadata">

**Author:** ![Monologue](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/monologue/32/2229_2.png) [@Monologue](https://community.netdata.cloud/u/Monologue)\
**Post date:** [October 11, 2022, 7:36am UTC](https://community.netdata.cloud/t/issue-when-installing-on-nginx-server/3357/3 "2022-10-11T07:36:55Z")

</div>

Thank you for your reply. Just so that I completely understand your instructions (I’m new to this) -

instead of this line:

bash \<(curl -Ss [https://my-netdata.io/kickstart.sh](https://my-netdata.io/kickstart.sh))

I should be using this:

curl [https://my-netdata.io/kickstart.sh](https://my-netdata.io/kickstart.sh) \> /tmp/netdata-kickstart.sh && sh /tmp/netdata-kickstart.sh

Is that correct?

---

<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:** [November 4, 2022, 2:58pm UTC](https://community.netdata.cloud/t/issue-when-installing-on-nginx-server/3357/4 "2022-11-04T14:58:27Z")

</div>

Sorry about the delayed response here. Yes, you’re correct that the `curl` command you quoted (or alternatively, the equivalent with `wget`) is the preferred approach for running the kickstart script now.
