# Mattermost : can’t upload plugins

**URL:** <https://forum.yunohost.org/t/mattermost-can-t-upload-plugins/29175>\
**Category:** Support apps\
**Tags:** mattermost, english\
**Created:** [April 3, 2024, 5:12pm UTC](https://forum.yunohost.org/t/mattermost-can-t-upload-plugins/29175 "2024-04-03T17:12:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![annabelr](https://forum.yunohost.org/user_avatar/forum.yunohost.org/annabelr/32/9751_2.png) [@annabelr](https://forum.yunohost.org/u/annabelr)\
**Post date:** [April 3, 2024, 5:12pm UTC](https://forum.yunohost.org/t/mattermost-can-t-upload-plugins/29175/1 "2024-04-03T17:12:01Z")

</div>

Hi there,  
Making my first steps with Yunohost, I stumble upon the following issue with Mattermost and custom plugins.

### My YunoHost server

**Hardware:** VPS bought online  
**YunoHost version:** 11.2.10.3 (stable).  
**I have access to my server :** Through SSH | through the webadmin  
**Are you in a special context or did you perform some particular tweaking on your YunoHost instance ?** : no  
**If yes, please explain:**  
**If your request is related to an app, specify its name and version:** mattermost 9.5.2~ynh1

### Description of my issue

I need the boards plugin, which is no longer available through the standard install. After allowing plugins uploads and ramping up MaximumFileSize both in mattermost config.json and system console, I get a « Received invalid response from the server. » error message in Mattermost. The nginx logs read

```auto
intended to send too large body: 151800112 bytes

```

Mattermost support advices to « Increase the value of `client_max_body_size` to a higher limit » in the Nginx configuration file for the Mattermost server.  
But… I can’t locate the file.  
Could you let me know how to ramp up the client\_max\_body\_size?

Thx for any help anyone can provide me with ;- )  
Take care!

---

<div class="post-metadata">

**Author:** ![jarod5001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jarod5001/32/5323_2.png) [@jarod5001](https://forum.yunohost.org/u/jarod5001)\
**Post date:** [April 3, 2024, 6:14pm UTC](https://forum.yunohost.org/t/mattermost-can-t-upload-plugins/29175/2 "2024-04-03T18:14:16Z")

</div>

The file is located at  
/etc/nginx/conf.d/your\_mattermost\_domain.d

---

<div class="post-metadata">

**Author:** ![annabelr](https://forum.yunohost.org/user_avatar/forum.yunohost.org/annabelr/32/9751_2.png) [@annabelr](https://forum.yunohost.org/u/annabelr)\
**Post date:** [April 3, 2024, 7:41pm UTC](https://forum.yunohost.org/t/mattermost-can-t-upload-plugins/29175/3 "2024-04-03T19:41:19Z")

</div>

Many Thx @jarod5001.  
Worked like a charm.

---

<div class="post-metadata">

**Author:** ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)\
**Post date:** [April 18, 2024, 7:41pm UTC](https://forum.yunohost.org/t/mattermost-can-t-upload-plugins/29175/4 "2024-04-18T19:41:49Z")

</div>

Closed on April 18, 2024, 7:41pm UTC

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