# Problems installing Spoiler plugin

**URL:** https://meta.discourse.org/t/problems-installing-spoiler-plugin/223113
**Category:** Support
**Tags:** spoiler-alert
**Created:** [March 27, 2022, 5:59pm UTC](https://meta.discourse.org/t/problems-installing-spoiler-plugin/223113 "2022-03-27T17:59:17Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Niik](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/niik/32/254372_2.png) [@Niik](https://meta.discourse.org/u/Niik)
#### Post date: [March 27, 2022, 5:59pm UTC](https://meta.discourse.org/t/problems-installing-spoiler-plugin/223113/1 "2022-03-27T17:59:17Z")

</div>

@techAPJ Hey, thanks for the plug-in.  
I have discourse in a droplet on digitalocean, and I followed your instructions to the letter.  
(appended the YAML file without - sudo -E …) but when I rebuild, it just throws me a bunch of errors, and then discourse is unable to save any new topic. I removed the plugin and rebuilt and everything was fine. I am on discourse 2.9.0.beta3 with no other plug ins installed, a [standard install](https://meta.discourse.org/t/142537?silent=true) with the default theme.  
The droplet only has 2GB RAM, is this what causes the issue?  
Thanks in advance

---

<div class="post-metadata">

### Author: ![ckshen](https://avatars.discourse-cdn.com/v4/letter/c/ad7895/32.png) [@ckshen](https://meta.discourse.org/u/ckshen)
#### Post date: [March 27, 2022, 6:10pm UTC](https://meta.discourse.org/t/problems-installing-spoiler-plugin/223113/2 "2022-03-27T18:10:53Z")

</div>

Did you have problems with other plugins? I too run on DO, and I never have issues with the plugin, including the time when I only had a very basic droplet.

---

<div class="post-metadata">

### Author: ![Niik](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/niik/32/254372_2.png) [@Niik](https://meta.discourse.org/u/Niik)
#### Post date: [March 27, 2022, 6:16pm UTC](https://meta.discourse.org/t/problems-installing-spoiler-plugin/223113/3 "2022-03-27T18:16:01Z")

</div>

@ckshen I never tried to install anything else. I am not good at all with linux, but I thought i’d give it a shot by following the instructions to the letter. It just took ages to rebuilt, and I created a swap file during the install to avoid crashing the droplet. I can see that the rebuilt is very resource intensive (like cpu 100%) but I thought a small plug in like this can’t break my install.  
I had similar issues when upgrading Moodle on TMD’s cloud servers, where all the resources were hogged and the site throttled as a result, this is why I mentioned 2GB RAM which may not be enought ?

---

<div class="post-metadata">

### Author: ![ckshen](https://avatars.discourse-cdn.com/v4/letter/c/ad7895/32.png) [@ckshen](https://meta.discourse.org/u/ckshen)
#### Post date: [March 27, 2022, 6:29pm UTC](https://meta.discourse.org/t/problems-installing-spoiler-plugin/223113/4 "2022-03-27T18:29:49Z")

</div>

The first several years of our forum was run on a 2gb ram droplet with the spoiler alert plugin and a bunch of others, so the ram shouldn’t be a problem.

The time to rebuild with a plugin and without a plugin should be similar. For me, its about 5-10 mins.

Try installing another plugin instead and see if you have problems? Most plugins are installed the same way. If you have problems with rebuilding with another plugin, or without plugins, then you can narrow the issue.

---

<div class="post-metadata">

### Author: ![ckshen](https://avatars.discourse-cdn.com/v4/letter/c/ad7895/32.png) [@ckshen](https://meta.discourse.org/u/ckshen)
#### Post date: [March 27, 2022, 6:33pm UTC](https://meta.discourse.org/t/problems-installing-spoiler-plugin/223113/5 "2022-03-27T18:33:32Z")

</div>

You should have a line in your app.yml after

`- git clone https://github.com/discourse/docker_manager.git`

that says:

`- git clone https://github.com/discourse/discourse-spoilet-alert.git`

That’s pretty much it to install the plugin.

---

<div class="post-metadata">

### Author: ![Niik](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/niik/32/254372_2.png) [@Niik](https://meta.discourse.org/u/Niik)
#### Post date: [April 4, 2022, 7:07am UTC](https://meta.discourse.org/t/problems-installing-spoiler-plugin/223113/6 "2022-04-04T07:07:42Z")

</div>

Yes this is exactly wHat i did. It downloaded the plugin ok but broke the site at rebuilt, on 2 or 3 occasions

---

<div class="post-metadata">

### Author: ![Benjamin\_D](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/benjamin_d/32/277831_2.png) [@Benjamin\_D](https://meta.discourse.org/u/Benjamin_D)
#### Post date: [April 4, 2022, 9:36am UTC](https://meta.discourse.org/t/problems-installing-spoiler-plugin/223113/7 "2022-04-04T09:36:13Z")

</div>

Hi Nik,  
could you post the result of `free -h` on your host, the errors thrown during the rebuild and maybe your app.yml (expurged from the sensitive data, password, etc..)?

---

<div class="post-metadata">

### Author: ![maiki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maiki/32/233950_2.png) [@maiki](https://meta.discourse.org/u/maiki)
#### Post date: [April 4, 2022, 8:12pm UTC](https://meta.discourse.org/t/problems-installing-spoiler-plugin/223113/8 "2022-04-04T20:12:26Z")

</div>

> [@Niik](#):
>
> It downloaded the plugin ok but broke the site at rebuilt, on 2 or 3 occasions

Hiya @Niik. 👋

Could you describe how it broke your the site? Were there error messages in the terminal? Did the site load afterward, but act differently? Let us know. 🙂
