# Installation Error

**URL:** https://meta.discourse.org/t/installation-error/274937
**Category:** Self-hosting
**Created:** [August 13, 2023, 8:57am UTC](https://meta.discourse.org/t/installation-error/274937 "2023-08-13T08:57:37Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Ed\_S](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ed_s/32/134015_2.png) [@Ed\_S](https://meta.discourse.org/u/Ed_S)
#### Post date: [August 13, 2023, 9:43am UTC](https://meta.discourse.org/t/installation-error/274937/2 "2023-08-13T09:43:02Z")

</div>

What you get from

```plaintext
free
df -h

```

The install script has detected you have less than 2G of RAM and less than 2G of swap, and is trying to create a swapfile. According to [the source](https://github.com/discourse/discourse_docker/blob/main/discourse-setup#L193C1-L225C5), it doesn’t deal with the case where there is an existing swapfile. Probably you should remove the existing swapfile and try again. This might be enough:

```plaintext
swapoff /swapfile && rm /swapfile
free

```

---

_[View the full topic](https://meta.discourse.org/t/installation-error/274937)._
