# Update to latest version error

**URL:** https://meta.discourse.org/t/update-to-latest-version-error/218877
**Category:** Self-hosting
**Tags:** server-resources
**Created:** [February 20, 2022, 1:44pm UTC](https://meta.discourse.org/t/update-to-latest-version-error/218877 "2022-02-20T13:44:10Z")
**Posts on this page:** 1
**Showing post:** 14

<div class="post-metadata">

### Author: ![balupton](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/balupton/32/255461_2.png) [@balupton](https://meta.discourse.org/u/balupton)
#### Post date: [February 21, 2022, 3:48am UTC](https://meta.discourse.org/t/update-to-latest-version-error/218877/14 "2022-02-21T03:48:44Z")

</div>

If your server doesn’t have swap, which you can check on your server by running the `free` command, then you could add swap rather than upgrading your server:

> [@Failed to upgrade discourse instance to Feb 15 2022](https://meta.discourse.org/t/failed-to-upgrade-discourse-instance-to-feb-15-2022/218204/13):
>
> You need to add some swap. Looks like you have plenty of disk, so you could add 2G or even 3G for safety. The discourse standard setup should, I think, have already set up the swap for you. Perhaps see [Create a swapfile for your Linux server](https://meta.discourse.org/t/create-a-swapfile-for-your-linux-server/13880)

---

_[View the full topic](https://meta.discourse.org/t/update-to-latest-version-error/218877)._
