# This file is too large

**URL:** https://meta.discourse.org/t/topic/402101
**Category:** Self-hosting
**Created:** [May 3, 2026, 7:20pm UTC](https://meta.discourse.org/t/topic/402101 "2026-05-03T19:20:26Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Vsekraski](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vsekraski/32/553869_2.png) [@Vsekraski](https://meta.discourse.org/u/Vsekraski)
#### Post date: [May 3, 2026, 7:20pm UTC](https://meta.discourse.org/t/topic/402101/1 "2026-05-03T19:20:26Z")

</div>

Hello. I’m unable to upload videos, even files as small as 2MB. It says “This file is too large.” How can I resolve this issue?

 ![IMG_3543](https://global.discourse-cdn.com/meta/original/4X/2/f/d/2fddc29f495a8aceeab82d17b112384f7e8e8c66.jpeg)

 ![IMG_3542](https://global.discourse-cdn.com/meta/original/4X/e/5/c/e5c27176059e128ca9f700457816d69733305b2e.jpeg)

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [May 3, 2026, 7:25pm UTC](https://meta.discourse.org/t/topic/402101/2 "2026-05-03T19:25:01Z")

</div>

You need to update app.yml too.

---

<div class="post-metadata">

### Author: ![Vsekraski](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vsekraski/32/553869_2.png) [@Vsekraski](https://meta.discourse.org/u/Vsekraski)
#### Post date: [May 3, 2026, 7:26pm UTC](https://meta.discourse.org/t/topic/402101/3 "2026-05-03T19:26:38Z")

</div>

How, please? I have the ispmanager panel connected.

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [May 3, 2026, 7:37pm UTC](https://meta.discourse.org/t/topic/402101/4 "2026-05-03T19:37:20Z")

</div>

Here’s the documentation:

> [@Change the maximum attachment/upload size](https://meta.discourse.org/t/change-the-maximum-attachment-upload-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: ![Vsekraski](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vsekraski/32/553869_2.png) [@Vsekraski](https://meta.discourse.org/u/Vsekraski)
#### Post date: [May 3, 2026, 7:45pm UTC](https://meta.discourse.org/t/topic/402101/5 "2026-05-03T19:45:25Z")

</div>

I don’t understand how to complete this step because I access the server via the ispmanager panel.

1. **Save your changes:**

- Press `Ctrl+X` to exit, then `Y` to confirm, and `Enter` to save the changes.

1. **Rebuild the Discourse instance:**

- Run the following command in the `/var/discourse` directory:

```plaintext
./launcher rebuild app

```

1. **Update site settings:**

- Go to the `/admin/site_settings/category/files` section in the Discourse admin panel.

- Change `max attachment size kb` and `max image size kb` to your desired size (e.g., `20 MB`). In the settings interface, you can enter a value and select the unit of measurement (KB, MB, or GB) from the dropdown list.

❗ Both parameters are limited by the nginx `client_max_body_size` value, which is controlled by the `upload_size` parameter set in step 3. Site settings cannot exceed this limit.

>

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [May 3, 2026, 7:57pm UTC](https://meta.discourse.org/t/topic/402101/6 "2026-05-03T19:57:43Z")

</div>

> [@Vsekraski](#):
>
> I don’t understand how to complete this step because I access the server via the ispmanager panel.

You need ssh access via the terminal.

---

<div class="post-metadata">

### Author: ![Vsekraski](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vsekraski/32/553869_2.png) [@Vsekraski](https://meta.discourse.org/u/Vsekraski)
#### Post date: [May 3, 2026, 8:31pm UTC](https://meta.discourse.org/t/topic/402101/7 "2026-05-03T20:31:59Z")

</div>

> [@Vsekraski](#):
>
> 1. **Rebuild the Discourse instance:**
> 
> - Run the following command in the `/var/discourse` directory:
> 
> ```plaintext
> ./launcher rebuild app
> 
> ```

I’m working on this step. The site isn’t working yet. How long does it take?

---

<div class="post-metadata">

### Author: ![Vsekraski](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vsekraski/32/553869_2.png) [@Vsekraski](https://meta.discourse.org/u/Vsekraski)
#### Post date: [May 3, 2026, 8:34pm UTC](https://meta.discourse.org/t/topic/402101/8 "2026-05-03T20:34:59Z")

</div>

The update completed, but the site still hasn’t started working (

 ![IMG_3545](https://global.discourse-cdn.com/meta/original/4X/b/a/a/baa621e5f52ba939ba1d61a4f9f2fe309620df7c.jpeg)

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [May 3, 2026, 8:47pm UTC](https://meta.discourse.org/t/topic/402101/10 "2026-05-03T20:47:17Z")

</div>

please share your build logs, there should be an error if it failed. look up the log history to find the specific error.

---

<div class="post-metadata">

### Author: ![Vsekraski](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vsekraski/32/553869_2.png) [@Vsekraski](https://meta.discourse.org/u/Vsekraski)
#### Post date: [May 3, 2026, 8:48pm UTC](https://meta.discourse.org/t/topic/402101/11 "2026-05-03T20:48:05Z")

</div>

Is this?

 ![IMG_3547](https://global.discourse-cdn.com/meta/original/4X/e/0/4/e0499573df500eccc30296f7f29f04c8ae86cb83.jpeg)

---

<div class="post-metadata">

### Author: ![Vsekraski](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vsekraski/32/553869_2.png) [@Vsekraski](https://meta.discourse.org/u/Vsekraski)
#### Post date: [May 3, 2026, 8:57pm UTC](https://meta.discourse.org/t/topic/402101/12 "2026-05-03T20:57:46Z")

</div>

Please take a look at what can be done. I’m very worried if the site can’t be restored.

---

<div class="post-metadata">

### Author: ![Vsekraski](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vsekraski/32/553869_2.png) [@Vsekraski](https://meta.discourse.org/u/Vsekraski)
#### Post date: [May 3, 2026, 9:16pm UTC](https://meta.discourse.org/t/topic/402101/13 "2026-05-03T21:16:41Z")

</div>

Server restarted, now the error is different

 ![IMG_3548](https://global.discourse-cdn.com/meta/original/4X/5/1/a/51a436283723a0fc47fd923dbb75865028fb455b.jpeg)

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [May 3, 2026, 9:26pm UTC](https://meta.discourse.org/t/topic/402101/14 "2026-05-03T21:26:14Z")

</div>

why did you control C?

and please, paste the test into a code snippet section, screenshots of terminals kind of a bit hard to read 😵‍💫

---

<div class="post-metadata">

### Author: ![Vsekraski](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vsekraski/32/553869_2.png) [@Vsekraski](https://meta.discourse.org/u/Vsekraski)
#### Post date: [May 3, 2026, 9:27pm UTC](https://meta.discourse.org/t/topic/402101/15 "2026-05-03T21:27:52Z")

</div>

I decided to increase the maximum file upload size myself.

What can be done now?

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [May 3, 2026, 9:29pm UTC](https://meta.discourse.org/t/topic/402101/16 "2026-05-03T21:29:01Z")

</div>

rebuild again and don’t cancel it! 😃

---

<div class="post-metadata">

### Author: ![Vsekraski](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vsekraski/32/553869_2.png) [@Vsekraski](https://meta.discourse.org/u/Vsekraski)
#### Post date: [May 3, 2026, 9:30pm UTC](https://meta.discourse.org/t/topic/402101/17 "2026-05-03T21:30:57Z")

</div>

Do you mean to repeat everything from scratch? Everything according to the instructions?

- Run the following command in the `/var/discourse` directory:

```plaintext
./launcher rebuild app

```

---

<div class="post-metadata">

### Author: ![Vsekraski](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vsekraski/32/553869_2.png) [@Vsekraski](https://meta.discourse.org/u/Vsekraski)
#### Post date: [May 3, 2026, 9:48pm UTC](https://meta.discourse.org/t/topic/402101/18 "2026-05-03T21:48:29Z")

</div>

That didn’t help ((

 ![IMG_3551](https://global.discourse-cdn.com/meta/original/4X/0/0/9/0096b018e19d4b0be8a31da89b3d4b5eecef56c2.jpeg)

---

<div class="post-metadata">

### Author: ![Vsekraski](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vsekraski/32/553869_2.png) [@Vsekraski](https://meta.discourse.org/u/Vsekraski)
#### Post date: [May 3, 2026, 9:50pm UTC](https://meta.discourse.org/t/topic/402101/19 "2026-05-03T21:50:43Z")

</div>

What command do I need to enter to launch the site (

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [May 3, 2026, 10:18pm UTC](https://meta.discourse.org/t/topic/402101/20 "2026-05-03T22:18:06Z")

</div>

copy the output of that entire block of text in the terminal and paste it here inside backtics like this

```plaintext
entire error code here

```

---

<div class="post-metadata">

### Author: ![Vsekraski](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vsekraski/32/553869_2.png) [@Vsekraski](https://meta.discourse.org/u/Vsekraski)
#### Post date: [May 4, 2026, 12:43am UTC](https://meta.discourse.org/t/topic/402101/23 "2026-05-04T00:43:38Z")

</div>

Who can help restore the forum? I can send server access credentials via private message. I put so much effort into creating the forum (and broke everything.

[Next page](https://meta.discourse.org/t/topic/402101.md?page=2)
