This file is too large

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?

You need to update app.yml too.

How, please? I have the ispmanager panel connected.

Here’s the documentation:

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:
./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.

:exclamation: 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.

You need ssh access via the terminal.

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

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

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

Is this?

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

Server restarted, now the error is different

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 :face_with_spiral_eyes:

I decided to increase the maximum file upload size myself.

What can be done now?

rebuild again and don’t cancel it! :smiley:

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

  • Run the following command in the /var/discourse directory:
./launcher rebuild app

That didn’t help ((

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

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

entire error code here

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.