# 抱歉，该文件太大 V2

**URL:** <https://meta.discourse.org/t/sorry-that-file-is-too-big-v2/249980>\
**Category:** Support\
**Created:** [2022年十二月27日 20:07 UTC](https://meta.discourse.org/t/sorry-that-file-is-too-big-v2/249980 "2022-12-27T20:07:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![boospy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/boospy/32/282567_2.png) [@boospy](https://meta.discourse.org/u/boospy)\
**Post date:** [2022年十二月27日 20:07 UTC](https://meta.discourse.org/t/sorry-that-file-is-too-big-v2/249980/1 "2022-12-27T20:07:30Z")

</div>

大家好：

如果我上传一个像 34MB 这样的小文件，我会在 Web 界面中收到此错误消息：

> 抱歉，此文件太大（最大尺寸为 150 MB）。请将您的超大文件上传到云共享服务并粘贴链接。

所以 34MB 小于 150MB。它应该可以工作。

我找到了这个条目：[Sorry, that file is too big](https://meta.discourse.org/t/sorry-that-file-is-too-big/108949)

但是在我的 app.yml 中找不到上传大小的部分。那么在哪里可以设置文件的实际上传大小呢？

非常感谢 🙂

---

<div class="post-metadata">

**Author:** ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)\
**Post date:** [2022年十二月27日 20:13 UTC](https://meta.discourse.org/t/sorry-that-file-is-too-big-v2/249980/2 "2022-12-27T20:13:17Z")

</div>

> [@Change the maximum attachment/upload size](https://meta.discourse.org/t/change-the-maximum-attachment-size/26435):
>
> bookmark This guide explains how to change the maximum attachment upload size for self-hosted Discourse instances. person_raising_hand Required user level: System Admin The default attachment upload size limit is 10MB If you are self-hosting Discourse and need to allow uploads larger than 10 MB, follow the steps below. Changing the upload size Connect to your server: Use SSH to access your server’s command line interface. Edit the configuration file: Navigate to the configurati…

---

<div class="post-metadata">

**Author:** ![boospy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/boospy/32/282567_2.png) [@boospy](https://meta.discourse.org/u/boospy)\
**Post date:** [2022年十二月27日 21:18 UTC](https://meta.discourse.org/t/sorry-that-file-is-too-big-v2/249980/3 "2022-12-27T21:18:13Z")

</div>

完美运行 🥇 非常感谢

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [2023年一月26日 21:18 UTC](https://meta.discourse.org/t/sorry-that-file-is-too-big-v2/249980/4 "2023-01-26T21:18:28Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
