You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.
Mattermost rejects upload of installer archive due to its size
Steps to reproduce
Steps to reproduce the behavior:
Go to System Console > Plugins > Plugin Management > Upload Plugin
Click Choose File
Select downloaded v1.0.0 archive
Click Upload
Expected behavior
Plugin to update
Observed behavior (that appears unintentional)
An error about invalid server response was shown. Network inspector shows 400 error caused by large upload. It appears to be from Mattermost itself as I've already increased the upload limit in our Nginx proxy's config after it gave a similar 413 response.
Server configuration
Operating system: Debian stable
Mattermost version: 7.8.2
Remind version: n.a.
Updated from an older Remind bot version or fresh install: updated
Additional context
I worked around the issue by extracting the archive locally, deleting the binaries in com.github.scottleedavis.mattermost-plugin-remind/server/dist/ that aren't for our platform, then the references to the removed binaries from com.github.scottleedavis.mattermost-plugin-remind/plugin.json, then recompressed it all, and uploaded the (much) smaller version.
I also noticed that neither of the arm64 binaries were referenced in the JSON file, I don't know whether that's intentional.
The text was updated successfully, but these errors were encountered:
@beddead Sure, but it'd still be better to have platform-specific archives (which I had at < 13MB) rather than one that puts irrelevant files on your server and is over the default upload limit.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Summary
Mattermost rejects upload of installer archive due to its size
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
Plugin to update
Observed behavior (that appears unintentional)
An error about invalid server response was shown. Network inspector shows 400 error caused by large upload. It appears to be from Mattermost itself as I've already increased the upload limit in our Nginx proxy's config after it gave a similar 413 response.
Server configuration
Operating system: Debian stable
Mattermost version: 7.8.2
Remind version: n.a.
Updated from an older Remind bot version or fresh install: updated
Additional context
I worked around the issue by extracting the archive locally, deleting the binaries in
com.github.scottleedavis.mattermost-plugin-remind/server/dist/
that aren't for our platform, then the references to the removed binaries fromcom.github.scottleedavis.mattermost-plugin-remind/plugin.json
, then recompressed it all, and uploaded the (much) smaller version.I also noticed that neither of the arm64 binaries were referenced in the JSON file, I don't know whether that's intentional.
The text was updated successfully, but these errors were encountered: