# Come ottimizzare l'archiviazione?

**URL:** https://meta.discourse.org/t/how-to-optimize-storage/134237
**Category:** Self-hosting
**Created:** [23 Novembre 2019, 12:15am UTC](https://meta.discourse.org/t/how-to-optimize-storage/134237 "2019-11-23T00:15:39Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![bts](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bts/32/184556_2.png) [@bts](https://meta.discourse.org/u/bts)
#### Post date: [23 Novembre 2019, 12:34am UTC](https://meta.discourse.org/t/how-to-optimize-storage/134237/2 "2019-11-23T00:34:03Z")

</div>

Probabilmente si tratta di immagini vecchie che devono essere pulite accedendo al tuo server ed eseguendo:

```plaintext
cd /var/discourse
./launcher cleanup

```

nonché:

```plaintext
apt-get autoclean
apt-get autoremove

```

Consulta questo argomento per ulteriori dettagli:

> [@Manually update Discourse and Docker image to latest](https://meta.discourse.org/t/how-do-i-manually-update-discourse-and-docker-image-to-latest/23325):
>
> bookmark This guide provides step-by-step instructions for manually updating Discourse, the Docker container, and the Ubuntu operating system on a self-hosted setup. person_raising_hand Required user level: System Administrator warning SSH access to the server. If you self-host Discourse, you occasionally need to run a manual update via the command line to get the latest security releases and newest libraries. These updates are not picked up in admin/upgrade, which is why you’ll occa…

Questo problema si presenta spesso; in realtà non sono sicuro del motivo per cui `cleanup` non sia qualcosa di automatico e predefinito!

---

_[View the full topic](https://meta.discourse.org/t/how-to-optimize-storage/134237)._
