# Digital Ocean 1-click install tries to reinstall itself every time I connect

**URL:** https://meta.discourse.org/t/digital-ocean-1-click-install-tries-to-reinstall-itself-every-time-i-connect/79328
**Category:** Support
**Tags:** unsupported-install
**Created:** [1월 30, 2018, 12:05오전 UTC](https://meta.discourse.org/t/digital-ocean-1-click-install-tries-to-reinstall-itself-every-time-i-connect/79328 "2018-01-30T00:05:12Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![infered5](https://avatars.discourse-cdn.com/v4/letter/i/8491ac/32.png) [@infered5](https://meta.discourse.org/u/infered5)
#### Post date: [1월 30, 2018, 12:05오전 UTC](https://meta.discourse.org/t/digital-ocean-1-click-install-tries-to-reinstall-itself-every-time-i-connect/79328/1 "2018-01-30T00:05:12Z")

</div>

Every time I try to connect through PuTTy to my DigitalOcean Ubuntu 16.04 x64 droplet to connect to the terminal, it prompts me, in a way I cannot escape, to reinstall Discourse. Since it’s all installed nothing happens and my settings and users are all there, but it’s very annoying and eating up processing power.

It’s the same prompt as the initial startup when you choose the preconfigured Discourse droplet on DigitalOcean. It prompts the email address to use, username and password, mail server API key, etc etc. How do I disable this?

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [1월 30, 2018, 12:15오전 UTC](https://meta.discourse.org/t/digital-ocean-1-click-install-tries-to-reinstall-itself-every-time-i-connect/79328/2 "2018-01-30T00:15:48Z")

</div>

This is using the DigitalOcean “one click” installer, right, not the [official installation instructions](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md)? If so, there have been previous discussions about this here, but ultimately you probably want to contact DigitalOcean support, as they were the ones who setup their install in this weird way, and it’d be helpful to them if they knew how much confusion their design was creating.

---

<div class="post-metadata">

### Author: ![infered5](https://avatars.discourse-cdn.com/v4/letter/i/8491ac/32.png) [@infered5](https://meta.discourse.org/u/infered5)
#### Post date: [1월 30, 2018, 12:20오전 UTC](https://meta.discourse.org/t/digital-ocean-1-click-install-tries-to-reinstall-itself-every-time-i-connect/79328/3 "2018-01-30T00:20:22Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/3X/9/8/982f02fd4a0b51b40aced17654f0ae88f4032cf5.png)

Yup, this is what I see every time. Just spamming enter and letting it go through yields no data loss or hiccup in performance from the end user’s side, but takes about 30 seconds for my particular droplet speed before I can actually do anything from the terminal.

I’ll contact DigitalOcean support and see what they have to say. Thank you!

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [1월 30, 2018, 12:28오전 UTC](https://meta.discourse.org/t/digital-ocean-1-click-install-tries-to-reinstall-itself-every-time-i-connect/79328/4 "2018-01-30T00:28:16Z")

</div>

A faster method than spamming enter would be to type Ctrl + c to exit the script.

---

<div class="post-metadata">

### Author: ![infered5](https://avatars.discourse-cdn.com/v4/letter/i/8491ac/32.png) [@infered5](https://meta.discourse.org/u/infered5)
#### Post date: [1월 30, 2018, 12:31오전 UTC](https://meta.discourse.org/t/digital-ocean-1-click-install-tries-to-reinstall-itself-every-time-i-connect/79328/5 "2018-01-30T00:31:15Z")

</div>

That helps a lot, now I just need to find a way to disable/delete this script. Thanks!

---

<div class="post-metadata">

### Author: ![dbm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dbm/32/86954_2.png) [@dbm](https://meta.discourse.org/u/dbm)
#### Post date: [1월 30, 2018, 2:12오전 UTC](https://meta.discourse.org/t/digital-ocean-1-click-install-tries-to-reinstall-itself-every-time-i-connect/79328/6 "2018-01-30T02:12:49Z")

</div>

i would advice creating a user and logging with SSH Key, its good way to avoid that (Also safer) 😉

---

<div class="post-metadata">

### Author: ![BlackKnob](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blackknob/32/93549_2.png) [@BlackKnob](https://meta.discourse.org/u/BlackKnob)
#### Post date: [3월 27, 2018, 4:38오후 UTC](https://meta.discourse.org/t/digital-ocean-1-click-install-tries-to-reinstall-itself-every-time-i-connect/79328/7 "2018-03-27T16:38:24Z")

</div>

did anybody find a way to remove the script?

---

<div class="post-metadata">

### Author: ![infered5](https://avatars.discourse-cdn.com/v4/letter/i/8491ac/32.png) [@infered5](https://meta.discourse.org/u/infered5)
#### Post date: [3월 27, 2018, 5:24오후 UTC](https://meta.discourse.org/t/digital-ocean-1-click-install-tries-to-reinstall-itself-every-time-i-connect/79328/8 "2018-03-27T17:24:45Z")

</div>

Check `~/.bashrc` and comment out `/var/lib/digitalocean/discourse.sh ` to `#/var/lib/digitalocean/discourse.sh`. You can probably do this with `nano` or FTP editing.

If not immediate, a reload should stop that line from being loaded and the script should stop.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [7월 24, 2020, 1:48오후 UTC](https://meta.discourse.org/t/digital-ocean-1-click-install-tries-to-reinstall-itself-every-time-i-connect/79328/9 "2020-07-24T13:48:31Z")

</div>



---

<div class="post-metadata">

### Author: ![justin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/justin/32/157614_2.png) [@justin](https://meta.discourse.org/u/justin)
#### Post date: [7월 24, 2020, 5:18오후 UTC](https://meta.discourse.org/t/digital-ocean-1-click-install-tries-to-reinstall-itself-every-time-i-connect/79328/10 "2020-07-24T17:18:14Z")

</div>


