# 502 Bad Gateway - 无法重建

**URL:** <https://meta.discourse.org/t/502-bad-gateway-unable-to-rebuild/281366>\
**Category:** Self-hosting\
**Tags:** server-resources\
**Created:** [2023年十月6日 20:23 UTC](https://meta.discourse.org/t/502-bad-gateway-unable-to-rebuild/281366 "2023-10-06T20:23:03Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [2023年十月8日 07:31 UTC](https://meta.discourse.org/t/502-bad-gateway-unable-to-rebuild/281366/6 "2023-10-08T07:31:44Z")

</div>

很高兴问题已解决。（我更喜欢在指磁盘空间时说“存储”，在指内存时说“内存”。）在这种情况下，您的问题是存储空间不足——而且，25G实例确实很小，但对于小型论坛来说仍然实用。升级（更新、重建）所需的资源总是比仅仅运行论坛要多。

给未来的任何人一个建议，也许可以看看这里：

> [@Ed\_S](#):
>
> 我特别建议以root身份在服务器上运行  
> `du -kx / | sort -n | tail -49`  
> 或类似命令。

或者这里：

> [@Ed\_S](#):
>
> 您可以尝试找出原因，例如在root shell提示符下：  
> `du -kx / | sort -n | tail -33`  
> 或许还可以运行  
> `find / -xdev -size +1000k -ls | sort -n -k 2 | tail`

---

_[View the full topic](https://meta.discourse.org/t/502-bad-gateway-unable-to-rebuild/281366)._
